.emacs.d

the most bloated Emacs config on this planet
git clone https://git.trogloxene.org/.emacs.d.git
Log | Files | Refs

commit 04ecafee8508888065065705e037ccb842d79b1a
parent 65ae87180fbca48810d8fd401cf374410a2a87d9
Author: andsy10 <andsy1016@gmail.com>
Date:   Fri,  7 Aug 2026 16:23:07 +0800

Prefix theme color variables with 'my-'

Diffstat:
Mlisp/init-terminal.el | 94++++++++++++++++++++++++++++++++++++++++----------------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)

diff --git a/lisp/init-terminal.el b/lisp/init-terminal.el @@ -131,64 +131,64 @@ ;; theme (if (>= (display-color-cells) 16777216) (progn - (defvar base03 "#062624") - (defvar base02 "#0c2b29") - (defvar base01 "#4d6967") - (defvar base00 "#728e8c") - (defvar base1 "#7f9b99") - (defvar cyan "#01928d") - (defvar blue "#2570cd") - (defvar green "#3a9c36") + (defvar my-base03 "#062624") + (defvar my-base02 "#0c2b29") + (defvar my-base01 "#4d6967") + (defvar my-base00 "#728e8c") + (defvar my-base1 "#7f9b99") + (defvar my-cyan "#01928d") + (defvar my-blue "#2570cd") + (defvar my-green "#3a9c36") (defvar magenta "#d33682") - (defvar yellow "#a87c04") - (defvar orange "#c24713") - (defvar red "#ce2825") + (defvar my-yellow "#a87c04") + (defvar my-orange "#c24713") + (defvar my-red "#ce2825") (custom-set-faces - `(default ((t (:foreground ,base00 :background ,base03)))) + `(default ((t (:foreground ,my-base00 :background ,my-base03)))) `(cursor ((t (:inverse t)))) - `(region ((t (:exdend t :foreground ,base03 :background ,base00)))) - `(shadow ((t (:foreground ,base01)))) - `(error ((t (:foreground ,orange)))) - `(warning ((t (:foreground ,yellow)))) - `(font-lock-builtin-face ((t (:foreground ,base00 :weight bold :slant normal)))) - `(font-lock-comment-face ((t (:foreground ,base01)))) - `(font-lock-keyword-face ((t (:foreground ,cyan :weight bold)))) - `(font-lock-variable-name-face ((t (:foreground ,blue)))) - `(font-lock-constant-face ((t (:foreground ,blue :weight bold)))) - `(font-lock-string-face ((t (:foreground ,green)))) - `(font-lock-type-face ((t (:foreground ,yellow)))) - `(font-lock-function-name-face ((t (:foreground ,blue)))) - `(hl-line ((t (:background ,base02 :extend t)))) + `(region ((t (:extend t :foreground ,my-base03 :background ,my-base00)))) + `(shadow ((t (:foreground ,my-base01)))) + `(error ((t (:foreground ,my-orange)))) + `(warning ((t (:foreground ,my-yellow)))) + `(font-lock-builtin-face ((t (:foreground ,my-base00 :weight bold :slant normal)))) + `(font-lock-comment-face ((t (:foreground ,my-base01)))) + `(font-lock-keyword-face ((t (:foreground ,my-cyan :weight bold)))) + `(font-lock-variable-name-face ((t (:foreground ,my-blue)))) + `(font-lock-constant-face ((t (:foreground ,my-blue :weight bold)))) + `(font-lock-string-face ((t (:foreground ,my-green)))) + `(font-lock-type-face ((t (:foreground ,my-yellow)))) + `(font-lock-function-name-face ((t (:foreground ,my-blue)))) + `(hl-line ((t (:background ,my-base02 :extend t)))) `(show-paren-match ((t (:foreground ,magenta :weight bold)))) - `(show-paren-mismatch ((t (:foreground ,base03 :background ,red)))) - `(icomplete-first-match ((t (:foreground ,yellow :weight bold)))) - `(completions-common-part ((t (:foreground ,blue)))) - `(minibuffer-prompt ((t (:foreground ,base01 :weight bold)))) - `(line-number ((t (:foreground ,base01 :weight extra-light)))) - `(button ((t (:foreground ,base00 :underline t)))) - `(mode-line ((t (:background ,base00 :foreground ,base03)))) - `(mode-line-inactive ((t (:background ,base02 :foreground ,base00)))) - `(dired-header ((t (:foreground ,green)))) - `(dired-directory ((t (:foreground ,blue)))) - `(dired-ignored ((t (:foreground ,base01)))) - `(isearch ((t (:background ,magenta :foreground ,base03)))) - `(lazy-highlight ((t (:background ,yellow :foreground ,base03)))) - `(isearch-fail ((t (:foreground ,red)))) - `(org-block ((t (:inhert default)))) - `(org-document-title ((t (:inhert default :weight bold)))) - `(org-document-info ((t (:inhert org-document-title)))) - `(eshell-prompt ((t (:foreground ,yellow :weight bold)))) - `(diff-header ((t (:foreground ,base00 :background ,base02)))) + `(show-paren-mismatch ((t (:foreground ,my-base03 :background ,my-red)))) + `(icomplete-first-match ((t (:foreground ,my-yellow :weight bold)))) + `(completions-common-part ((t (:foreground ,my-blue)))) + `(minibuffer-prompt ((t (:foreground ,my-base01 :weight bold)))) + `(line-number ((t (:foreground ,my-base01 :weight extra-light)))) + `(button ((t (:foreground ,my-base00 :underline t)))) + `(mode-line ((t (:background ,my-base00 :foreground ,my-base03)))) + `(mode-line-inactive ((t (:background ,my-base02 :foreground ,my-base00)))) + `(dired-header ((t (:foreground ,my-green)))) + `(dired-directory ((t (:foreground ,my-blue)))) + `(dired-ignored ((t (:foreground ,my-base01)))) + `(isearch ((t (:background ,magenta :foreground ,my-base03)))) + `(lazy-highlight ((t (:background ,my-yellow :foreground ,my-base03)))) + `(isearch-fail ((t (:foreground ,my-red)))) + `(org-block ((t (:inherit default)))) + `(org-document-title ((t (:inherit default :weight bold)))) + `(org-document-info ((t (:inherit org-document-title)))) + `(eshell-prompt ((t (:foreground ,my-yellow :weight bold)))) + `(diff-header ((t (:foreground ,my-base00 :background ,my-base02)))) `(diff-file-header ((t (:inherit: diff-header :weight bold)))) `(diff-hunk-header ((t (:foreground "#c1a059" :background "#253224")))) `(diff-added ((t (:foreground "#73b971" :background "#103628")))) `(diff-refine-added ((t (:foreground "#8cc78d" :background "#1d522e")))) `(diff-removed ((t (:foreground "#e17360" :background "#2d2c25")))) `(diff-refine-removed ((t (:foreground "#e7917f" :background "#5c3225")))) - `(xref-file-header ((t (:foreground ,base01)))) - `(xref-line-number ((t (:foreground ,green)))) - `(match ((t (:foreground ,base1 :background ,base02 :weight bold)))))) + `(xref-file-header ((t (:foreground ,my-base01)))) + `(xref-line-number ((t (:foreground ,my-green)))) + `(match ((t (:foreground ,my-base1 :background ,my-base02 :weight bold)))))) (progn (global-hl-line-mode -1)))