Config: add custom base16 dark theme with solarized framework, replace my-theme, update keybindings

This commit is contained in:
User
2026-03-31 17:09:59 +08:00
parent f4a77ab8b9
commit be6c0eb5e1
5 changed files with 60 additions and 35 deletions

View File

@@ -0,0 +1,31 @@
;;; my-base16-dark-theme.el --- Base16 Dark Theme -*- lexical-binding: t -*-
;;; Commentary:
;; A green base16 dark theme base on solarized-theme
;;; Code:
(require 'solarized)
(require 'my-base16-palette)
(eval-when-compile
(require 'solarized-palettes))
(deftheme my-base16-dark "A Base16 dark theme using Solarized framework.")
(solarized-with-color-variables-with-palette
'dark
'my-base16-dark
my-base16-dark-core-palette
'((custom-theme-set-faces
theme-name
`(org-level-2 ((,class (:foreground ,blue :height 1.05))))
`(org-level-3 ((,class (:foreground ,green))))
`(org-level-6 ((,class (:foreground ,blue))))
`(org-level-8 ((,class (:foreground ,green))))
`(org-priority ((,class (:foreground ,blue :weight bold))))
`(org-done ((,class (:foreground ,blue :weight bold))))
`(org-headline-done ((,class (:foreground ,blue)))))))
(provide-theme 'my-base16-dark)
;;; my-base16-dark-theme.el ends here