about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-04-12 13:19:49 -0500
committerCase Duckworth2022-04-12 13:19:49 -0500
commitc6ccd9151dcd458f511a11e41b3e8fb541ad4f9b (patch)
treedfc0cc47b7762b6215e658ddedc6df8252fde604
parentAdd packages (diff)
downloademacs-c6ccd9151dcd458f511a11e41b3e8fb541ad4f9b.tar.gz
emacs-c6ccd9151dcd458f511a11e41b3e8fb541ad4f9b.zip
Configure modus-themes
-rw-r--r--init.el32
1 files changed, 22 insertions, 10 deletions
diff --git a/init.el b/init.el index 620c637..89fab77 100644 --- a/init.el +++ b/init.el
@@ -1800,7 +1800,7 @@ See also `crux-reopen-as-root-mode'."
1800 (require 'modus-themes (.etc "straight/build/modus-themes/modus-themes")) 1800 (require 'modus-themes (.etc "straight/build/modus-themes/modus-themes"))
1801 (:also-load dawn) 1801 (:also-load dawn)
1802 (:option modus-themes-mixed-fonts t 1802 (:option modus-themes-mixed-fonts t
1803 modus-themes-bold-constructs nil 1803 modus-themes-bold-constructs t
1804 modus-themes-italic-constructs t 1804 modus-themes-italic-constructs t
1805 modus-themes-headings '((t . (background regular rainbow)))) 1805 modus-themes-headings '((t . (background regular rainbow))))
1806 (dotimes (facen-1 8) 1806 (dotimes (facen-1 8)
@@ -1819,21 +1819,33 @@ See also `crux-reopen-as-root-mode'."
1819 "Set up mdous-themes to be mostly monochrome." 1819 "Set up mdous-themes to be mostly monochrome."
1820 (modus-themes-with-colors 1820 (modus-themes-with-colors
1821 (custom-set-faces 1821 (custom-set-faces
1822 `(font-lock-builtin-face ((,class :inherit modus-themes-bold :foreground unspecified))) 1822 `(font-lock-builtin-face ((,class :inherit modus-themes-bold
1823 :foreground unspecified)))
1823 `(font-lock-comment-delimiter-face ((,class :inherit font-lock-comment-face))) 1824 `(font-lock-comment-delimiter-face ((,class :inherit font-lock-comment-face)))
1824 `(font-lock-comment-face ((,class :inherit modus-themes-slant :foreground ,fg-docstring))) 1825 `(font-lock-comment-face ((,class :inherit modus-themes-slant
1825 `(font-lock-constant-face ((,class :foreground unspecified))) 1826 :foreground ,fg-docstring)))
1826 `(font-lock-doc-face ((,class :inherit modus-themes-slant :foreground ,fg-docstring))) 1827 `(font-lock-constant-face ((,class :inherit underline
1828 :foreground unspecified)))
1829 `(font-lock-doc-face ((,class :inherit modus-themes-slant
1830 :foreground ,fg-docstring)))
1827 `(font-lock-function-name-face ((,class :foreground unspecified))) 1831 `(font-lock-function-name-face ((,class :foreground unspecified)))
1828 `(font-lock-keyword-face ((,class :inherit modus-themes-bold :foreground unspecified))) 1832 `(font-lock-keyword-face ((,class :inherit modus-themes-bold
1829 `(font-lock-negation-char-face ((,class :inherit modus-themes-bold :foreground unspecified))) 1833 :foreground unspecified)))
1834 `(font-lock-negation-char-face ((,class :inherit modus-themes-bold
1835 :foreground unspecified)))
1830 `(font-lock-preprocessor-face ((,class :foreground unspecified))) 1836 `(font-lock-preprocessor-face ((,class :foreground unspecified)))
1831 `(font-lock-regexp-grouping-backslash ((,class :foreground ,fg-escape-char-backslash))) 1837 `(font-lock-regexp-grouping-backslash ((,class :foreground ,fg-escape-char-backslash)))
1832 `(font-lock-regexp-grouping-construct ((,class :foreground ,fg-escape-char-construct))) 1838 `(font-lock-regexp-grouping-construct ((,class :foreground ,fg-escape-char-construct)))
1833 `(font-lock-string-face ((,class :inherit modus-themes-slant :foreground unspecified))) 1839 `(font-lock-string-face ((,class :inherit modus-themes-slant
1834 `(font-lock-type-face ((,class :inherit modus-themes-bold :foreground unspecified))) 1840 :foreground unspecified)))
1841 `(font-lock-type-face ((,class :inherit modus-themes-bold
1842 :foreground unspecified)))
1835 `(font-lock-variable-name-face ((,class :foreground unspecified))) 1843 `(font-lock-variable-name-face ((,class :foreground unspecified)))
1836 `(font-lock-warning-face ((,class :inherit modus-themes-bold :foreground ,red-nuanced-fg))))))) 1844 `(font-lock-warning-face ((,class :inherit modus-themes-bold
1845 :foreground ,red-nuanced-fg)))
1846 `(font-lock-todo-face ((,class :inherit font-lock-comment-face
1847 :foreground ,fg-header
1848 :background ,yellow-intense-bg)))))))
1837 1849
1838 (dawn-schedule #'modus-themes-load-operandi 1850 (dawn-schedule #'modus-themes-load-operandi
1839 #'modus-themes-load-vivendi)) 1851 #'modus-themes-load-vivendi))