diff options
| author | Yousef Jan <yousefjan24000@gmail.com> | 2026-05-10 08:50:43 +0300 |
|---|---|---|
| committer | Yousef Jan <yousefjan24000@gmail.com> | 2026-05-10 08:50:43 +0300 |
| commit | 9e91374284c0e7a6d4567c3cad8577af6dcc270f (patch) | |
| tree | 13b1e90ef91a322b225f64d41c9c6f0b01343621 /doom/config.el | |
| parent | 3db77a4aea42ff6f2f8c302e1be63620b9ba2bab (diff) | |
Updates
Diffstat (limited to 'doom/config.el')
| -rw-r--r-- | doom/config.el | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/doom/config.el b/doom/config.el index 1413521..54d71ac 100644 --- a/doom/config.el +++ b/doom/config.el @@ -32,7 +32,10 @@ ;; There are two ways to load a theme. Both assume the theme is installed and ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: -(setq doom-theme 'doom-one) +(setq doom-theme 'doom-plain-dark) + +(custom-set-faces! + '(default :background "#131313" :foreground "#FCFCFC")) ;; This determines the style of line numbers in effect. If set to `nil', line ;; numbers are disabled. For relative line numbers, set this to `relative'. @@ -93,9 +96,25 @@ (require 'evil-collection)) (after! solaire-mode - (solaire-global-mode -1)) + (solaire-global-mode -1) + (defun my/neutralize-solaire-faces (&optional _frame) + "Force solaire's lighter backgrounds to match the default background." + (dolist (face '(solaire-default-face + solaire-hl-line-face + solaire-org-hide-face + solaire-mode-line-face + solaire-mode-line-inactive-face + solaire-header-line-face + solaire-header-line-inactive-face + solaire-line-number-face + solaire-fringe-face)) + (when (facep face) + (set-face-attribute face nil :background 'unspecified :inherit 'default)))) + (my/neutralize-solaire-faces) + (add-hook 'doom-load-theme-hook #'my/neutralize-solaire-faces 30) + (add-hook 'after-make-frame-functions #'my/neutralize-solaire-faces)) -(defvar my/gui-transparency 85 +(defvar my/gui-transparency 99 "Alpha background value for GUI frames (0-100).") (defun my/make-all-faces-transparent (&optional frame) |