summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/modules/bd--themes.el80
1 files changed, 58 insertions, 22 deletions
diff --git a/.config/emacs/modules/bd--themes.el b/.config/emacs/modules/bd--themes.el
index ddcfcf2..5d7c6f9 100644
--- a/.config/emacs/modules/bd--themes.el
+++ b/.config/emacs/modules/bd--themes.el
@@ -32,43 +32,79 @@ to.")
(use-package modus-themes
:load-path (lambda () (expand-file-name "themes/" data-directory))
:demand t
+ :init
+ (load-theme 'modus-vivendi-tinted t)
+ :hook
+ ((modus-themes-post-load . bd/modus-set-faces))
:config
- ;; Disable all other themes to avoid awkward blending:
- (mapc #'disable-theme custom-enabled-themes)
+ ;; Disable all other themes to avoid awkward blending
(defun bd/modus-set-faces (&rest _)
"Blends the modeline with the echo area,
and some other minor face changes."
(modus-themes-with-colors
(custom-set-faces
- `(mode-line ((,c :overline ,keyword)))
- `(mode-line-inactive ((,c :overline ,bg-button-inactive)))
- `(eshell-prompt ((,c :foreground ,fg-main :background ,bg-dim :height 1.1 :extend t))))))
- (add-hook 'modus-themes-post-load-hook #'bd/modus-set-faces)
-
+ `(eshell-prompt ((,c :foreground ,fg-main :background ,bg-prose-block-contents :height 1.1 :extend t)))
+ `(tab-bar-tab ((,c :box (:line-width 1 :style released-button)))))))
(setopt modus-themes-to-toggle '(modus-operandi-tinted modus-vivendi-tinted)
modus-themes-mixed-fonts t
modus-themes-italic-constructs t
modus-themes-bold-constructs t
modus-themes-variable-pitch-ui nil
+ modus-themes-prompts '(bold)
modus-themes-headings
- '((0 variable-pitch bold 1.5)
- (1 variable-pitch bold 1.4)
- (2 variable-pitch regular 1.3)
- (3 variable-pitch regular 1.1)
+ '((0 variable-pitch regular 1.3)
+ (1 variable-pitch regular 1.2)
+ (2 variable-pitch regular 1.1)
+ (3 variable-pitch regular 1.0)
(t variable-pitch regular 1.0))
-
modus-themes-common-palette-overrides
- '((bg-mode-line-active bg-main)
- (bg-mode-line-inactive bg-main)
- (border-mode-line-active bg-main)
- (border-mode-line-inactive bg-main)
- (bg-line-number-active bg-dim)
- (bg-line-number-inactive bg-dim)
- (fg-heading-1 fg-term-blue-bright)
- (fg-heading-2 fg-term-magenta-bright)
+ '((bg-main "#1a1c30")
+ (bg-active bg-main)
+ (fg-main "#cff0f6")
+ (fg-active fg-main)
+ (fg-mode-line-active "#a6accd")
+ (bg-mode-line-active "#3b3d62")
+ (fg-mode-line-inactive "#676E95")
+ (bg-mode-line-inactive "#282c3d")
+ (border-mode-line-active nil)
+ (border-mode-line-inactive nil)
(bg-tab-bar bg-main)
- (bg-tab-current bg-main)
- (bg-tab-other bg-button-inactive))))
+ (bg-tab-current "#3b3d62")
+ (bg-tab-other bg-main)
+
+ (fg-heading-0 "#b2ebf2")
+ (fg-heading-1 "#98fb98")
+ (fg-heading-2 "#fa80e6")
+ (fg-heading-3 "#ff7f50")
+ (fg-heading-4 "#ffd700")
+
+ (fg-prompt "#ca65e3")
+ (bg-prompt unspecified)
+
+ (bg-region "#3C435E")
+ (fg-region "#fffff0")
+
+ (fg-line-number-active fg-main)
+ (fg-line-number-inactive "#a9a9a9")
+ (bg-line-number-active unspecified)
+ (bg-line-number-inactive "#292939")
+ (fringe bg-main)
+ (cursor "#b2ebf2")
+
+ (fg-prose-verbatim "#af9fff")
+ (bg-prose-block-contents "#222b42")
+ (fg-prose-block-delimiter "#7C839E")
+ (bg-prose-block-delimiter bg-prose-block-contents)
+
+ (keyword "#4dd0e1")
+ (builtin "#a490ff")
+ (comment "#afa7b0")
+ (string "#50f2ca")
+ (fnname "#d8bfd8")
+ (type "#89c6f9")
+ (variable "#98fb98")
+ (docstring "#f0e68c")
+ (constant "#fa80e6"))))
(load-theme 'modus-vivendi-tinted :no-confirm)
(run-hooks 'modus-themes-post-load-hook)