Config: start customize theme with autotheme, update init-kbd.el

This commit is contained in:
trogloxene
2026-03-31 12:35:55 +08:00
parent 59b98b00fa
commit f4a77ab8b9
3 changed files with 62 additions and 0 deletions

29
lisp/my-theme.el Normal file
View File

@@ -0,0 +1,29 @@
(require 'autothemer)
(autothemer-deftheme
hallo "A theme to set the mood for Halloween"
((((class color) (min-colors #xFFFFFF))) ;; We're only concerned with graphical Emacs
;; Define our color palette
(basic "#06261F")
( "#93A3B1")
(hallo-orange "orange1")
(hallo-dk-orange "#eb6123")
(hallo-purple "MediumPurple2")
(hallo-dk-purple "MediumPurple4")
(hallo-green "LightGreen"))
;; Customize faces
((default (:foreground hallo-white :background hallo-black))
(cursor (:background hallo-dk-orange))
(region (:background hallo-dk-purple))
(mode-line (:background hallo-dk-purple))
(font-lock-keyword-face (:foreground hallo-purple))
(font-lock-constant-face (:foreground hallo-green))
(font-lock-string-face (:foreground hallo-orange))
(font-lock-builtin-face (:foreground hallo-green))
(org-level-1 (:foreground hallo-orange))))
(provide-theme 'hallo)