commit a8e4705e5483c2ccd149f41a56db4530a046bf6b
parent 1c50f7bc6b1f526186c1e5e4c33997ab2dd5d777
Author: andsy10 <andsy1016@gmail.com>
Date: Wed, 7 Oct 2026 00:56:58 +0800
Extract face definitions
Diffstat:
4 files changed, 189 insertions(+), 332 deletions(-)
diff --git a/lisp/init-startup.el b/lisp/init-startup.el
@@ -28,6 +28,9 @@
(toggle-frame-maximized))
(t nil))
+;; set lisp files directory
+(setq user-lisp-directory (concat user-emacs-directory "lisp/"))
+
;; backup and autosave
(setq backup-directory-alist
`((".*" . ,(expand-file-name "backup/" user-emacs-directory)))
diff --git a/lisp/my-dark-theme.el b/lisp/my-dark-theme.el
@@ -5,7 +5,7 @@
;;; Code:
-(require 'solarized)
+(require 'my-theme)
(defvar my-dark-core-palette
'("#062624" ; darkest-base
@@ -25,171 +25,7 @@
'dark
'my-dark
my-dark-core-palette
- '((custom-theme-set-faces
- 'my-dark
-
- `(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))))
- `(font-lock-regexp-grouping-backslash ((,class (:foreground ,cyan :weight bold))))
-
- `(italic ((,class (:slant italic))))
- `(line-number ((,class (:foreground ,base01 :weight light))))
- `(button ((,class (:foreground ,yellow :underline t))))
-
- `(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))))
-
- `(trailing-whitespace ((,class (:inherit whitespace-trailing))))
-
- `(outline-1 ((,class (:foreground ,orange :height 1.0 :weight normal))))
- `(outline-2 ((,class (:foreground ,blue :height 1.0 :weight normal))))
- `(outline-3 ((,class (:foreground ,green :height 1.0 :weight normal))))
- `(outline-4 ((,class (:foreground ,yellow :height 1.0 :weight normal))))
- `(outline-5 ((,class (:foreground ,cyan :height 1.0 :weight normal))))
- `(outline-6 ((,class (:foreground ,blue :height 1.0 :weight normal))))
- `(outline-7 ((,class (:foreground ,green :height 1.0 :weight normal))))
- `(outline-8 ((,class (:foreground ,yellow :height 1.0 :weight normal))))
-
- `(org-level-1 ((,class (:inherit outline-1))))
- `(org-level-2 ((,class (:inherit outline-2))))
- `(org-level-3 ((,class (:inherit outline-3))))
- `(org-level-4 ((,class (:inherit outline-4))))
- `(org-level-5 ((,class (:inherit outline-5))))
- `(org-level-6 ((,class (:inherit outline-6))))
- `(org-level-7 ((,class (:inherit outline-7))))
- `(org-level-8 ((,class (:inherit outline-8))))
- `(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 :slant italic))))
- `(org-block-end-line ((,class (:foreground ,base01 :slant italic))))
- `(org-priority ((,class (:foreground ,green :weight bold))))
- `(org-checkbox ((,class (:foreground ,base0 :weight bold))))
- `(org-dispatcher-highlight ((,class (:inherit diff-hunk-header :weight bold))))
-
- `(calendar-month-header ((,class (:foreground ,base0 :weight bold))))
- `(holiday ((,class (:underline (:style line :color ,yellow)))))
- `(cal-china-x-important-holiday-face ((,class (:underline (:style line :color ,red)))))
- `(cal-china-x-general-holiday-face ((,class (:underline (:style line :color ,yellow)))))
-
- `(denote-journal-calendar ((,class (:foreground ,cyan :slant italic))))
- `(denote-faces-keywords ((,class (:foreground ,cyan))))
-
- `(markdown-header-face-1 ((,class (:foreground ,orange :height 1.0 :weight normal))))
- `(markdown-header-face-2 ((,class (:foreground ,blue :height 1.0 :weight normal))))
- `(markdown-header-face-3 ((,class (:foreground ,green :height 1.0 :weight normal))))
- `(markdown-header-face-4 ((,class (:foreground ,yellow :height 1.0 :weight normal))))
- `(markdown-header-face-5 ((,class (:foreground ,cyan :height 1.0 :weight normal))))
- `(markdown-header-face-6 ((,class (:foreground ,green :height 1.0 :weight normal))))
- `(markdown-code-face ((,class (:foreground ,base0))))
- `(markdown-table-face ((,class (:foreground ,green))))
-
- `(md-ts-heading-1 ((,class (:inherit outline-1))))
- `(md-ts-heading-2 ((,class (:inherit outline-2))))
- `(md-ts-heading-3 ((,class (:inherit outline-3))))
- `(md-ts-heading-4 ((,class (:inherit outline-4))))
- `(md-ts-heading-5 ((,class (:inherit outline-5))))
- `(md-ts-heading-6 ((,class (:inherit outline-6))))
- `(md-ts-code ((,class (:foreground ,base01))))
-
- `(shr-h1 ((,class (:inherit outline-1))))
- `(shr-h2 ((,class (:inherit outline-2))))
- `(shr-h3 ((,class (:inherit outline-3))))
- `(shr-h4 ((,class (:inherit outline-4))))
- `(shr-h5 ((,class (:inherit outline-5))))
- `(shr-h6 ((,class (:inherit outline-6))))
- `(shr-code ((,class (:inherit font-lock-comment-face))))
-
- `(dashboard-footer-face ((,class (:foreground ,blue))))
- `(dashboard-text-banner ((,class (:foreground ,green))))
- `(dashboard-heading ((,class (:foreground ,green :weight bold))))
-
- `(dired-broken-symlink ((,class (:inherit dired-symlink :foreground ,orange))))
- `(dired-header ((,class (:foreground ,green))))
- `(dirvish-file-time ((,class (:foreground ,base01))))
- `(dirvish-free-space ((,class (:foreground ,green))))
- `(dired-async-mode-message ((,class (:foreground ,red))))
- `(dired-async-message ((,class (:foreground ,yellow))))
-
- `(diff-hunk-header ((,class (:foreground ,yellow-1fg :background ,yellow-1bg))))
-
- `(consult-file ((,class (:foreground ,green))))
- `(consult-notes-name ((,class (:foreground ,base01))))
- `(consult-notes-time ((,class (:foreground ,base01))))
- `(consult-notes-size ((,class (:foreground ,base01))))
-
- `(vertico-current ((,class (:background ,base02 :extend t :underline nil))))
-
- `(transient-key-stay ((,class (:foreground ,cyan :inherit transient-key))))
- `(transient-key-return ((,class (:foreground ,violet :inherit transient-key))))
- `(transient-key-exit ((,class (:foreground ,blue :inherit transient-key))))
- `(transient-key-stack ((,class (:foreground ,magenta :inherit transient-key))))
- `(transient-key-recurse ((,class (:foreground ,blue :inherit transient-key))))
- `(transient-key-noop ((,class (:foreground ,base01 :inherit transient-key))))
- `(transient-value ((,class (:foreground ,green))))
- `(transient-argument ((,class (:foreground ,green :inherit transient-key))))
-
- `(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))))
- `(geiser-font-lock-xref-link ((,class (:inherit link))))
- `(geiser-font-lock-repl-output-error ((,class (:foreground ,red :weight bold))))
- `(geiser-font-lock-repl-output-warning ((,class (:foreground ,yellow :weight bold))))
- `(geiser-font-lock-autodoc-identifier ((,class (:foreground ,blue))))
- `(geiser-font-lock-autodoc-current-arg ((,class (:foreground ,yellow))))
-
- `(sly-mrepl-output-face ((,class (:foreground ,magenta))))
-
- `(emms-playlist-track-face ((,class (:foreground ,cyan))))
- `(emms-playlist-selected-face ((,class (:foreground ,blue :weight bold))))
-
- `(elfeed-search-separator-face ((,class (:inherit elfeed-show-date-face :weight bold :underline t :extend t))))
-
- `(proced-pid ((,class (:foreground ,violet))))
- `(proced-session-leader-pid ((,class (:inherit proced-pid :underline t))))
- `(proced-ppid ((,class (:foreground ,blue))))
- `(proced-sess ((,class (:inherit proced-ppid))))
- `(proced-emacs-pid ((,class (:foreground ,magenta))))
- `(proced-memory-low-usage ((,class (:foreground ,green))))
- `(proced-memory-medium-usage ((,class (:foreground ,yellow))))
- `(proced-memory-high-usage ((,class (:foreground ,red))))
- `(proced-executable ((,class (:foreground ,cyan))))
- `(proced-run-status-code ((,class (:foreground ,green))))
- `(proced-interruptible-sleep-status-code ((,class (:foreground ,base01))))
- `(proced-uninterruptible-sleep-status-code ((,class (:foreground ,red))))
- `(proced-time-colon ((,class (:foreground ,base01))))
- `(proced-cpu ((,class (:foreground ,base0))))
- `(proced-mem ((,class (:foreground ,base0))))
-
- `(speedbar-separator-face ((,class (:foreground ,base03 :background ,blue))))
- `(speedbar-file-face ((,class (:foreground ,base0))))
- `(speedbar-tag-face ((,class (:foreground ,green))))
- `(speedbar-button-face ((,class (:foreground ,base01))))
- `(speedbar-selected-face ((,class (:inherit button))))
- `(speedbar-directory-face ((,class (:foreground ,blue))))
- `(speedbar-highlight-face ((,class (:foreground ,base1 :background ,base02))))
-
- `(syncthing-bold ((,class (:inherit bold))))
- `(syncthing-italic ((,class (:inherit italic))))
- `(syncthing-my-id ((,class (:foreground ,blue :weight bold))))
- `(syncthing-rate-upload ((,class (:foreground ,green))))
- `(syncthing-rate-download ((,class (:foreground ,blue :weight bold))))
- `(syncthing-uptime ((,class (:foreground ,magenta :weight bold))))
- `(syncthing-count-discovery ((,class (:foreground ,blue :weight bold))))
- `(syncthing-count-listeners ((,class (:foreground ,green :weight bold))))
- `(syncthing-count-local-bytes ((,class (:foreground ,cyan :weight bold))))
- `(syncthing-count-local-files ((,class (:inherit default :weight bold))))
- `(syncthing-count-local-folders ((,class (:foreground ,yellow :weight bold))))
- `(syncthing-progress-100 ((,class (:foreground ,green))))
- `(syncthing-progress-75 ((,class (:foreground ,cyan))))
- `(syncthing-progress-50 ((,class (:foreground ,yellow))))
- `(syncthing-progress-25 ((,class (:foreground ,orange))))
- `(syncthing-progress-0 ((,class (:foreground ,red))))
-
- `(gt-buffer-render-source-face ((,class (:inherit font-lock-string-face))))
- `(gt-youdao-dict-phonetic-face ((,class (:inherit italic)))))))
+ (my-themes--custom-faces))
(provide-theme 'my-dark)
;;; my-dark-theme.el ends here
diff --git a/lisp/my-light-theme.el b/lisp/my-light-theme.el
@@ -5,7 +5,7 @@
;;; Code:
-(require 'solarized)
+(require 'my-theme)
(defvar my-light-core-palette
'("#051E23" ; darkest-base
@@ -25,171 +25,7 @@
'light
'my-light
my-light-core-palette
- '((custom-theme-set-faces
- 'my-light
-
- `(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))))
- `(font-lock-regexp-grouping-backslash ((,class (:foreground ,cyan :weight bold))))
-
- `(italic ((,class (:slant italic))))
- `(line-number ((,class (:foreground ,base01 :weight light))))
- `(button ((,class (:foreground ,yellow :underline t))))
-
- `(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))))
-
- `(trailing-whitespace ((,class (:inherit whitespace-trailing))))
-
- `(outline-1 ((,class (:foreground ,orange :height 1.0 :weight normal))))
- `(outline-2 ((,class (:foreground ,blue :height 1.0 :weight normal))))
- `(outline-3 ((,class (:foreground ,green :height 1.0 :weight normal))))
- `(outline-4 ((,class (:foreground ,yellow :height 1.0 :weight normal))))
- `(outline-5 ((,class (:foreground ,cyan :height 1.0 :weight normal))))
- `(outline-6 ((,class (:foreground ,blue :height 1.0 :weight normal))))
- `(outline-7 ((,class (:foreground ,green :height 1.0 :weight normal))))
- `(outline-8 ((,class (:foreground ,yellow :height 1.0 :weight normal))))
-
- `(org-level-1 ((,class (:inherit outline-1))))
- `(org-level-2 ((,class (:inherit outline-2))))
- `(org-level-3 ((,class (:inherit outline-3))))
- `(org-level-4 ((,class (:inherit outline-4))))
- `(org-level-5 ((,class (:inherit outline-5))))
- `(org-level-6 ((,class (:inherit outline-6))))
- `(org-level-7 ((,class (:inherit outline-7))))
- `(org-level-8 ((,class (:inherit outline-8))))
- `(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 :slant italic))))
- `(org-block-end-line ((,class (:foreground ,base01 :slant italic))))
- `(org-priority ((,class (:foreground ,green :weight bold))))
- `(org-checkbox ((,class (:foreground ,base0 :weight bold))))
- `(org-dispatcher-highlight ((,class (:inherit diff-hunk-header :weight bold))))
-
- `(calendar-month-header ((,class (:foreground ,base0 :weight bold))))
- `(holiday ((,class (:underline (:style line :color ,yellow)))))
- `(cal-china-x-important-holiday-face ((,class (:underline (:style line :color ,red)))))
- `(cal-china-x-general-holiday-face ((,class (:underline (:style line :color ,yellow)))))
-
- `(denote-journal-calendar ((,class (:foreground ,cyan :slant italic))))
- `(denote-faces-keywords ((,class (:foreground ,cyan))))
-
- `(markdown-header-face-1 ((,class (:foreground ,orange :height 1.0 :weight normal))))
- `(markdown-header-face-2 ((,class (:foreground ,blue :height 1.0 :weight normal))))
- `(markdown-header-face-3 ((,class (:foreground ,green :height 1.0 :weight normal))))
- `(markdown-header-face-4 ((,class (:foreground ,yellow :height 1.0 :weight normal))))
- `(markdown-header-face-5 ((,class (:foreground ,cyan :height 1.0 :weight normal))))
- `(markdown-header-face-6 ((,class (:foreground ,green :height 1.0 :weight normal))))
- `(markdown-code-face ((,class (:foreground ,base0))))
- `(markdown-table-face ((,class (:foreground ,green))))
-
- `(md-ts-heading-1 ((,class (:inherit outline-1))))
- `(md-ts-heading-2 ((,class (:inherit outline-2))))
- `(md-ts-heading-3 ((,class (:inherit outline-3))))
- `(md-ts-heading-4 ((,class (:inherit outline-4))))
- `(md-ts-heading-5 ((,class (:inherit outline-5))))
- `(md-ts-heading-6 ((,class (:inherit outline-6))))
- `(md-ts-code ((,class (:foreground ,base01))))
-
- `(shr-h1 ((,class (:inherit outline-1))))
- `(shr-h2 ((,class (:inherit outline-2))))
- `(shr-h3 ((,class (:inherit outline-3))))
- `(shr-h4 ((,class (:inherit outline-4))))
- `(shr-h5 ((,class (:inherit outline-5))))
- `(shr-h6 ((,class (:inherit outline-6))))
- `(shr-code ((,class (:inherit font-lock-comment-face))))
-
- `(dashboard-footer-face ((,class (:foreground ,blue))))
- `(dashboard-text-banner ((,class (:foreground ,green))))
- `(dashboard-heading ((,class (:foreground ,green :weight bold))))
-
- `(dired-broken-symlink ((,class (:inherit dired-symlink :foreground ,orange))))
- `(dired-header ((,class (:foreground ,green))))
- `(dirvish-file-time ((,class (:foreground ,base01))))
- `(dirvish-free-space ((,class (:foreground ,green))))
- `(dired-async-mode-message ((,class (:foreground ,red))))
- `(dired-async-message ((,class (:foreground ,yellow))))
-
- `(diff-hunk-header ((,class (:foreground ,yellow-1fg :background ,yellow-1bg))))
-
- `(consult-file ((,class (:foreground ,green))))
- `(consult-notes-name ((,class (:foreground ,base01))))
- `(consult-notes-time ((,class (:foreground ,base01))))
- `(consult-notes-size ((,class (:foreground ,base01))))
-
- `(vertico-current ((,class (:background ,base02 :extend t :underline nil))))
-
- `(transient-key-stay ((,class (:foreground ,cyan :inherit transient-key))))
- `(transient-key-return ((,class (:foreground ,violet :inherit transient-key))))
- `(transient-key-exit ((,class (:foreground ,blue :inherit transient-key))))
- `(transient-key-stack ((,class (:foreground ,magenta :inherit transient-key))))
- `(transient-key-recurse ((,class (:foreground ,blue :inherit transient-key))))
- `(transient-key-noop ((,class (:foreground ,base01 :inherit transient-key))))
- `(transient-value ((,class (:foreground ,green))))
- `(transient-argument ((,class (:foreground ,green :inherit transient-key))))
-
- `(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))))
- `(geiser-font-lock-xref-link ((,class (:inherit link))))
- `(geiser-font-lock-repl-output-error ((,class (:foreground ,red :weight bold))))
- `(geiser-font-lock-repl-output-warning ((,class (:foreground ,yellow :weight bold))))
- `(geiser-font-lock-autodoc-identifier ((,class (:foreground ,blue))))
- `(geiser-font-lock-autodoc-current-arg ((,class (:foreground ,yellow))))
-
- `(sly-mrepl-output-face ((,class (:foreground ,magenta))))
-
- `(emms-playlist-track-face ((,class (:foreground ,cyan))))
- `(emms-playlist-selected-face ((,class (:foreground ,blue :weight bold))))
-
- `(elfeed-search-separator-face ((,class (:inherit elfeed-show-date-face :weight bold :underline t :extend t))))
-
- `(proced-pid ((,class (:foreground ,violet))))
- `(proced-session-leader-pid ((,class (:inherit proced-pid :underline t))))
- `(proced-ppid ((,class (:foreground ,blue))))
- `(proced-sess ((,class (:inherit proced-ppid))))
- `(proced-emacs-pid ((,class (:foreground ,magenta))))
- `(proced-memory-low-usage ((,class (:foreground ,green))))
- `(proced-memory-medium-usage ((,class (:foreground ,yellow))))
- `(proced-memory-high-usage ((,class (:foreground ,red))))
- `(proced-executable ((,class (:foreground ,cyan))))
- `(proced-run-status-code ((,class (:foreground ,green))))
- `(proced-interruptible-sleep-status-code ((,class (:foreground ,base01))))
- `(proced-uninterruptible-sleep-status-code ((,class (:foreground ,red))))
- `(proced-time-colon ((,class (:foreground ,base01))))
- `(proced-cpu ((,class (:foreground ,base0))))
- `(proced-mem ((,class (:foreground ,base0))))
-
- `(speedbar-separator-face ((,class (:foreground ,base03 :background ,blue))))
- `(speedbar-file-face ((,class (:foreground ,base0))))
- `(speedbar-tag-face ((,class (:foreground ,green))))
- `(speedbar-button-face ((,class (:foreground ,base01))))
- `(speedbar-selected-face ((,class (:inherit button))))
- `(speedbar-directory-face ((,class (:foreground ,blue))))
- `(speedbar-highlight-face ((,class (:foreground ,base1 :background ,base02))))
-
- `(syncthing-bold ((,class (:inherit bold))))
- `(syncthing-italic ((,class (:inherit italic))))
- `(syncthing-my-id ((,class (:foreground ,blue :weight bold))))
- `(syncthing-rate-upload ((,class (:foreground ,green))))
- `(syncthing-rate-download ((,class (:foreground ,blue :weight bold))))
- `(syncthing-uptime ((,class (:foreground ,magenta :weight bold))))
- `(syncthing-count-discovery ((,class (:foreground ,blue :weight bold))))
- `(syncthing-count-listeners ((,class (:foreground ,green :weight bold))))
- `(syncthing-count-local-bytes ((,class (:foreground ,cyan :weight bold))))
- `(syncthing-count-local-files ((,class (:inherit default :weight bold))))
- `(syncthing-count-local-folders ((,class (:foreground ,yellow :weight bold))))
- `(syncthing-progress-100 ((,class (:foreground ,green))))
- `(syncthing-progress-75 ((,class (:foreground ,cyan))))
- `(syncthing-progress-50 ((,class (:foreground ,yellow))))
- `(syncthing-progress-25 ((,class (:foreground ,orange))))
- `(syncthing-progress-0 ((,class (:foreground ,red))))
-
- `(gt-buffer-render-source-face ((,class (:inherit font-lock-string-face))))
- `(gt-youdao-dict-phonetic-face ((,class (:inherit italic)))))))
+ (my-themes--custom-faces))
(provide-theme 'my-light)
;;; my-light-theme.el ends here
diff --git a/lisp/my-theme.el b/lisp/my-theme.el
@@ -0,0 +1,182 @@
+;;; my-theme.el --- my theme -*- lexical-binding: t -*-
+
+;;; Commentary:
+
+;;; Code:
+
+(require 'solarized)
+
+(defun my-solarized-reload-fix ()
+ (load-file (concat user-lisp-directory "my-theme.el")))
+(advice-add #'solarized-reload :before #'my-solarized-reload-fix)
+
+(defmacro my-themes--custom-faces ()
+ ''((custom-theme-set-faces
+ theme-name
+
+ `(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))))
+ `(font-lock-regexp-grouping-backslash ((,class (:foreground ,cyan :weight bold))))
+
+ `(italic ((,class (:slant italic))))
+ `(line-number ((,class (:foreground ,base01 :weight light))))
+ `(button ((,class (:foreground ,yellow :underline t))))
+
+ `(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))))
+
+ `(trailing-whitespace ((,class (:inherit whitespace-trailing))))
+
+ `(outline-1 ((,class (:foreground ,orange :height 1.0 :weight normal))))
+ `(outline-2 ((,class (:foreground ,blue :height 1.0 :weight normal))))
+ `(outline-3 ((,class (:foreground ,green :height 1.0 :weight normal))))
+ `(outline-4 ((,class (:foreground ,yellow :height 1.0 :weight normal))))
+ `(outline-5 ((,class (:foreground ,cyan :height 1.0 :weight normal))))
+ `(outline-6 ((,class (:foreground ,blue :height 1.0 :weight normal))))
+ `(outline-7 ((,class (:foreground ,green :height 1.0 :weight normal))))
+ `(outline-8 ((,class (:foreground ,yellow :height 1.0 :weight normal))))
+
+ `(org-level-1 ((,class (:inherit outline-1))))
+ `(org-level-2 ((,class (:inherit outline-2))))
+ `(org-level-3 ((,class (:inherit outline-3))))
+ `(org-level-4 ((,class (:inherit outline-4))))
+ `(org-level-5 ((,class (:inherit outline-5))))
+ `(org-level-6 ((,class (:inherit outline-6))))
+ `(org-level-7 ((,class (:inherit outline-7))))
+ `(org-level-8 ((,class (:inherit outline-8))))
+ `(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 :slant italic))))
+ `(org-block-end-line ((,class (:foreground ,base01 :slant italic))))
+ `(org-priority ((,class (:foreground ,green :weight bold))))
+ `(org-checkbox ((,class (:foreground ,base0 :weight bold))))
+ `(org-dispatcher-highlight ((,class (:inherit diff-hunk-header :weight bold))))
+
+ `(calendar-month-header ((,class (:foreground ,base0 :weight bold))))
+ `(holiday ((,class (:underline (:style line :color ,yellow)))))
+ `(cal-china-x-important-holiday-face ((,class (:underline (:style line :color ,red)))))
+ `(cal-china-x-general-holiday-face ((,class (:underline (:style line :color ,yellow)))))
+
+ `(denote-journal-calendar ((,class (:foreground ,cyan :slant italic))))
+ `(denote-faces-keywords ((,class (:foreground ,cyan))))
+
+ `(markdown-header-face-1 ((,class (:foreground ,orange :height 1.0 :weight normal))))
+ `(markdown-header-face-2 ((,class (:foreground ,blue :height 1.0 :weight normal))))
+ `(markdown-header-face-3 ((,class (:foreground ,green :height 1.0 :weight normal))))
+ `(markdown-header-face-4 ((,class (:foreground ,yellow :height 1.0 :weight normal))))
+ `(markdown-header-face-5 ((,class (:foreground ,cyan :height 1.0 :weight normal))))
+ `(markdown-header-face-6 ((,class (:foreground ,green :height 1.0 :weight normal))))
+ `(markdown-code-face ((,class (:foreground ,base0))))
+ `(markdown-table-face ((,class (:foreground ,green))))
+
+ `(md-ts-heading-1 ((,class (:inherit outline-1))))
+ `(md-ts-heading-2 ((,class (:inherit outline-2))))
+ `(md-ts-heading-3 ((,class (:inherit outline-3))))
+ `(md-ts-heading-4 ((,class (:inherit outline-4))))
+ `(md-ts-heading-5 ((,class (:inherit outline-5))))
+ `(md-ts-heading-6 ((,class (:inherit outline-6))))
+ `(md-ts-code ((,class (:foreground ,base01))))
+
+ `(shr-h1 ((,class (:inherit outline-1))))
+ `(shr-h2 ((,class (:inherit outline-2))))
+ `(shr-h3 ((,class (:inherit outline-3))))
+ `(shr-h4 ((,class (:inherit outline-4))))
+ `(shr-h5 ((,class (:inherit outline-5))))
+ `(shr-h6 ((,class (:inherit outline-6))))
+ `(shr-code ((,class (:inherit font-lock-comment-face))))
+
+ `(dashboard-footer-face ((,class (:foreground ,blue))))
+ `(dashboard-text-banner ((,class (:foreground ,green))))
+ `(dashboard-heading ((,class (:foreground ,green :weight bold))))
+
+ `(dired-broken-symlink ((,class (:inherit dired-symlink :foreground ,orange))))
+ `(dired-header ((,class (:foreground ,green))))
+ `(dirvish-file-time ((,class (:foreground ,base01))))
+ `(dirvish-free-space ((,class (:foreground ,green))))
+ `(dired-async-mode-message ((,class (:foreground ,red))))
+ `(dired-async-message ((,class (:foreground ,yellow))))
+
+ `(diff-hunk-header ((,class (:foreground ,yellow-1fg :background ,yellow-1bg))))
+
+ `(consult-file ((,class (:foreground ,green))))
+ `(consult-notes-name ((,class (:foreground ,base01))))
+ `(consult-notes-time ((,class (:foreground ,base01))))
+ `(consult-notes-size ((,class (:foreground ,base01))))
+
+ `(vertico-current ((,class (:background ,base02 :extend t :underline nil))))
+
+ `(transient-key-stay ((,class (:foreground ,cyan :inherit transient-key))))
+ `(transient-key-return ((,class (:foreground ,violet :inherit transient-key))))
+ `(transient-key-exit ((,class (:foreground ,blue :inherit transient-key))))
+ `(transient-key-stack ((,class (:foreground ,magenta :inherit transient-key))))
+ `(transient-key-recurse ((,class (:foreground ,blue :inherit transient-key))))
+ `(transient-key-noop ((,class (:foreground ,base01 :inherit transient-key))))
+ `(transient-value ((,class (:foreground ,green))))
+ `(transient-argument ((,class (:foreground ,green :inherit transient-key))))
+
+ `(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))))
+ `(geiser-font-lock-xref-link ((,class (:inherit link))))
+ `(geiser-font-lock-repl-output-error ((,class (:foreground ,red :weight bold))))
+ `(geiser-font-lock-repl-output-warning ((,class (:foreground ,yellow :weight bold))))
+ `(geiser-font-lock-autodoc-identifier ((,class (:foreground ,blue))))
+ `(geiser-font-lock-autodoc-current-arg ((,class (:foreground ,yellow))))
+
+ `(sly-mrepl-output-face ((,class (:foreground ,magenta))))
+
+ `(emms-playlist-track-face ((,class (:foreground ,cyan))))
+ `(emms-playlist-selected-face ((,class (:foreground ,blue :weight bold))))
+
+ `(elfeed-search-separator-face ((,class (:inherit elfeed-show-date-face :weight bold :underline t :extend t))))
+
+ `(proced-pid ((,class (:foreground ,violet))))
+ `(proced-session-leader-pid ((,class (:inherit proced-pid :underline t))))
+ `(proced-ppid ((,class (:foreground ,blue))))
+ `(proced-sess ((,class (:inherit proced-ppid))))
+ `(proced-emacs-pid ((,class (:foreground ,magenta))))
+ `(proced-memory-low-usage ((,class (:foreground ,green))))
+ `(proced-memory-medium-usage ((,class (:foreground ,yellow))))
+ `(proced-memory-high-usage ((,class (:foreground ,red))))
+ `(proced-executable ((,class (:foreground ,cyan))))
+ `(proced-run-status-code ((,class (:foreground ,green))))
+ `(proced-interruptible-sleep-status-code ((,class (:foreground ,base01))))
+ `(proced-uninterruptible-sleep-status-code ((,class (:foreground ,red))))
+ `(proced-time-colon ((,class (:foreground ,base01))))
+ `(proced-cpu ((,class (:foreground ,base0))))
+ `(proced-mem ((,class (:foreground ,base0))))
+
+ `(speedbar-separator-face ((,class (:foreground ,base03 :background ,blue))))
+ `(speedbar-file-face ((,class (:foreground ,base0))))
+ `(speedbar-tag-face ((,class (:foreground ,green))))
+ `(speedbar-button-face ((,class (:foreground ,base01))))
+ `(speedbar-selected-face ((,class (:inherit button))))
+ `(speedbar-directory-face ((,class (:foreground ,blue))))
+ `(speedbar-highlight-face ((,class (:foreground ,base1 :background ,base02))))
+
+ `(syncthing-bold ((,class (:inherit bold))))
+ `(syncthing-italic ((,class (:inherit italic))))
+ `(syncthing-my-id ((,class (:foreground ,blue :weight bold))))
+ `(syncthing-rate-upload ((,class (:foreground ,green))))
+ `(syncthing-rate-download ((,class (:foreground ,blue :weight bold))))
+ `(syncthing-uptime ((,class (:foreground ,magenta :weight bold))))
+ `(syncthing-count-discovery ((,class (:foreground ,blue :weight bold))))
+ `(syncthing-count-listeners ((,class (:foreground ,green :weight bold))))
+ `(syncthing-count-local-bytes ((,class (:foreground ,cyan :weight bold))))
+ `(syncthing-count-local-files ((,class (:inherit default :weight bold))))
+ `(syncthing-count-local-folders ((,class (:foreground ,yellow :weight bold))))
+ `(syncthing-progress-100 ((,class (:foreground ,green))))
+ `(syncthing-progress-75 ((,class (:foreground ,cyan))))
+ `(syncthing-progress-50 ((,class (:foreground ,yellow))))
+ `(syncthing-progress-25 ((,class (:foreground ,orange))))
+ `(syncthing-progress-0 ((,class (:foreground ,red))))
+
+ `(gt-buffer-render-source-face ((,class (:inherit font-lock-string-face))))
+ `(gt-youdao-dict-phonetic-face ((,class (:inherit italic)))))))
+
+(provide 'my-theme)
+
+;;; my-theme.el ends here