Update fringes and modeline to blend into background better

This commit is contained in:
zongor 2025-05-17 00:15:40 -04:00
parent e5a6ad9743
commit afe41395b8
1 changed files with 193 additions and 159 deletions

View File

@ -10,14 +10,15 @@
(setq col_back>> "#363631") (setq col_back>> "#363631")
(setq col_back> "#454640") (setq col_back> "#454640")
(setq col_back "#262620") (setq col_back "#262620")
(setq col_back< "#646460") (setq col_back< "#282820")
(setq col_back<< "#181810")
(setq col_grn "#9ce22e") (setq col_grn "#9ce22e")
(setq col_blu "#66d9ef") (setq col_blu "#66d9ef")
(setq col_pur "#a281ff") (setq col_pur "#a281ff")
(setq col_pin "#fd4d80") (setq col_pin "#fd4d80")
(setq col_mag "#db2765") (setq col_mag "#db2765")
(setq col_red "#ff0000") (setq col_red "#ff3333")
(setq col_org "#ff843b") (setq col_org "#ff843b")
(setq col_ylw "#e6db74") (setq col_ylw "#e6db74")
@ -34,8 +35,15 @@
;; Main window colors ;; Main window colors
`(default ((t (:foreground ,col_fore `(default ((t (:foreground ,col_fore
:background ,col_back)))) :background ,col_back))))
`(fringe ((t (:background ,col_back<)))) `(fringe ((t (:box (:line-width -1 :color ,col_back)
`(vertical-border ((t (:background ,col_back<)))) :foreground ,col_back<
:background ,col_back>>))))
`(vertical-border ((t (:background ,col_back>>))))
`(vertical-bar ((t (:background ,col_back>>))))
`(vertical-line ((t (:background ,col_back>>))))
`(window-divider ((t (:foreground ,col_back>> :background ,col_back>>))))
`(window-divider-first-pixel ((t (:foreground ,col_back>> :background ,col_back>>))))
`(window-divider-last-pixel ((t (:foreground ,col_back>> :background ,col_back>>))))
`(cursor ((t (:background ,col_fore<<)))) `(cursor ((t (:background ,col_fore<<))))
;; search and highlighting ;; search and highlighting
@ -77,16 +85,20 @@
;; uhh... emacs builtins? no idea if these are used elsewhere ;; uhh... emacs builtins? no idea if these are used elsewhere
`(font-lock-builtin-face ((t (:foreground ,col_org)))) `(font-lock-builtin-face ((t (:foreground ,col_org))))
`(font-lock-constant-face ((t (:foreground ,col_blu)))) `(font-lock-constant-face ((t (:foreground ,col_pur))))
`(font-lock-warning-face ((t (:foreground ,col_red)))) `(font-lock-warning-face ((t (:foreground ,col_red))))
;; modeline stuffs ;; modeline stuffs
`(mode-line ((t (:box (:line-width -1 :color ,col_gry)
`(modeline-fg ((t (:background ,col_back>>>))))
`(mode-line ((t (:box (:line-width -1 :color ,col_back)
:foreground ,col_fore
:background ,col_back>>))))
`(mode-line-inactive ((t (:box (:line-width -1 :color ,col_back)
:foreground ,col_back> :foreground ,col_back>
:background ,col_fore<)))) :background ,col_back<))))
`(mode-line-inactive ((t (:box (:line-width -1 :color ,col_gry)
:foreground ,col_back<
:background ,col_fore<<<))))
;; emacs tooltips ;; emacs tooltips
`(tooltip ((t (:inherit (variable-pitch) `(tooltip ((t (:inherit (variable-pitch)
:foreground ,col_fore< :foreground ,col_fore<
@ -96,7 +108,6 @@
`(link-visited ((t (:underline (:color foreground-color :style line) `(link-visited ((t (:underline (:color foreground-color :style line)
:foreground ,col_grn :foreground ,col_grn
:inherit (link))))) :inherit (link)))))
;; Bodge in our colors ;; Bodge in our colors
`(font-lock-bblue-face ((t (:foreground ,col_blu)))) `(font-lock-bblue-face ((t (:foreground ,col_blu))))
`(font-lock-bdblue-face ((t (:foreground ,col_blu)))) `(font-lock-bdblue-face ((t (:foreground ,col_blu))))
@ -154,6 +165,29 @@
`(column-enforce-face ((t (:inherit nil `(column-enforce-face ((t (:inherit nil
:background ,col_back>> :background ,col_back>>
:underline nil)))) :underline nil))))
)
`(rainbow-delimiters-depth-1-face ((t :foreground ,col_mag)))
`(rainbow-delimiters-depth-2-face ((t :foreground ,col_org)))
`(rainbow-delimiters-depth-3-face ((t :foreground ,col_grn)))
`(rainbow-delimiters-depth-4-face ((t :foreground ,col_blu)))
`(rainbow-delimiters-depth-5-face ((t :foreground ,col_mag)))
`(rainbow-delimiters-depth-6-face ((t :foreground ,col_org)))
`(rainbow-delimiters-depth-7-face ((t :foreground ,col_grn)))
`(vc-modified ((t :foreground ,col_blu)))
`(vc-added ((t :foreground ,col_grn)))
`(vc-deleted ((t :foreground ,col_red)))
`(git-gutter:separator ((t :foreground ,col_blu)))
`(git-gutter:modified ((t :foreground ,col_mag)))
`(git-gutter:added ((t :foreground ,col_grn)))
`(git-gutter:deleted ((t :foreground ,col_red)))
`(git-gutter:unchanged ((t :foreground ,col_ylw)))
`(modeline-fg ((t (:background ,col_back>>>))))
`(modeline-fg-alt ((t (:background ,col_back>>))))
`(modeline-bg ((t (:background ,col_back))))
`(modeline-bg-inactive ((t (:background ,col_back<)))))
(provide-theme 'mazarbul) (provide-theme 'mazarbul)