Files
.emacs.d/lisp/my-base16-dark-theme.el
User e2a352709c chore(config): Refactor Emacs config for cross-platform compatibility
Add Android/Termux support with `*is-android*` constant and
conditional GUI/terminal initialization. Remove maximized frame
defaults and custom.el. Replace corfu with corfu-terminal in
TTY. Add god-mode to terminal config with line number sync. Update
org agenda to use org-ql blocks with super-agenda grouping. Switch
solarized-theme to fork. Clean up redundant functions and unify
keyboard bindings across environments.
2026-05-18 20:46:26 +08:00

70 lines
3.7 KiB
EmacsLisp

;;; 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-1 ((,class (:foreground ,orange :height 1.0 :weight normal))))
`(org-level-2 ((,class (:foreground ,blue :height 1.0 :weight normal))))
`(org-level-3 ((,class (:foreground ,green :height 1.0 :weight normal))))
`(org-level-4 ((,class (:foreground ,yellow :height 1.0 :weight normal))))
`(org-level-5 ((,class (:foreground ,cyan :height 1.0 :weight normal))))
`(org-level-6 ((,class (:foreground ,green :height 1.0 :weight normal))))
`(org-level-7 ((,class (:foreground ,orange :height 1.0 :weight normal))))
`(org-level-8 ((,class (:foreground ,blue :height 1.0 :weight normal))))
`(org-document-title ((,class (:foreground ,base0 :height 1.0 :weight bold))))
`(org-done ((,class (:foreground ,green :weight bold))))
`(org-headline-done ((,class (:foreground ,green))))
`(org-block-begin-line ((,class (:foreground ,base01 :underline t :slant italic :extend t))))
`(org-block-end-line ((,class (:foreground ,base01 :overline t :slant italic :extend t))))
`(org-priority ((,class (:foreground ,green :weight bold))))
`(org-checkbox ((,class (:foreground ,base0 :weight bold))))
`(denote-journal-calendar ((,class (:foreground ,cyan :slant italic))))
`(font-lock-keyword-face ((,class (:foreground ,cyan :weight bold))))
`(font-lock-doc-face ((,class (:foreground ,green :slant normal))))
`(font-lock-string-face ((,class (:foreground ,green))))
`(dashboard-footer-face ((,class (:foreground ,blue))))
`(dashboard-text-banner ((,class (:foreground ,green))))
`(dashboard-heading ((,class (:foreground ,green :weight bold))))
`(dirvish-file-time ((,class (:foreground ,base01))))
`(dired-header ((,class (:foreground ,green))))
`(dired-async-mode-message ((,class (:foreground ,red))))
`(dired-async-message ((,class (:foreground ,yellow))))
`(consult-file ((,class (:foreground ,green))))
`(consult-notes-name ((,class (:foreground ,base01 :weight bold))))
`(consult-notes-time ((,class (:foreground ,base01 :weight thin))))
`(consult-notes-size ((,class (:foreground ,base01 :weight thin))))
`(denote-faces-keywords ((,class (:foreground ,cyan))))
`(mode-line ((,class (:foreground ,base0 :background ,base02))))
`(mode-line-inactive ((,class (:foreground ,base01 :background ,base03))))
`(display-time-date-and-time ((,class (:foreground ,base1 :bold t))))
`(jinx-misspelled ((,class (:underline (:style line :color ,yellow)))))
`(geiser-font-lock-repl-output ((,class (:foreground ,green))))
`(geiser-font-lock-doc-link ((,class (:foreground ,blue :underline t))))
`(geiser-font-lock-error-link ((,class (:foreground ,orange :underline t))))
`(vertico-current ((,class (:background ,base02 :extend t :underline nil))))
`(vundo-saved ((,class (:foreground ,green))))
`(vundo-last-saved ((,class (:foreground ,green :weight bold))))
`(vundo-highlight ((,class (:foreground ,cyan :weight bold))))
`(vundo-node ((,class (:foreground ,base01))))
`(vundo-stem ((,class (:foreground ,base01))))
`(god-mode-lighter ((,class (:foreground ,red :weight bold)))))))
(provide-theme 'my-base16-dark)
;;; my-base16-dark-theme.el ends here