修订版 | c5937f0479530d9256e8cd799a9d840750f88093 (tree) |
---|---|
时间 | 2023-05-03 20:32:44 |
作者 | badcoff33 <none@none> |
Commiter | badcoff33 |
color of the day
@@ -124,7 +124,7 @@ | ||
124 | 124 | `(compilation-error ((t (:foreground ,red-3)))) |
125 | 125 | `(compilation-info ((t (:foreground ,red-4)))) |
126 | 126 | `(compilation-line-number ((t (:foreground ,red-6)))) |
127 | - `(cursor ((t (:distant-foreground ,black :foreground ,black :background ,purple-6)))) | |
127 | + `(cursor ((t (:distant-foreground ,black :foreground ,black :background ,blue-4)))) | |
128 | 128 | `(default ((,class (:background ,white :foreground ,gray-1)))) |
129 | 129 | `(eshell-ls-directory ((t (:inherit dired-directory)))) |
130 | 130 | `(eshell-prompt ((t (:inherit minibuffer-prompt)))) |
@@ -138,10 +138,10 @@ | ||
138 | 138 | `(linum ((t (:foreground ,red-7)))) |
139 | 139 | `(match ((t (:foreground ,orange-0 :background ,orange-8 )))) |
140 | 140 | `(minibuffer-prompt ((t (:foreground ,blue-4 :weight normal)))) |
141 | - `(mode-line ((t (:foreground ,purple-9 :background ,purple-1 :box (:line-width 1 :color ,purple-2 :style nil))))) | |
142 | - `(mode-line-highlight ((t (:foreground ,white :background ,purple-2 :box (:line-width 1 :color ,pink-2 :style nil))))) | |
141 | + `(mode-line ((t (:foreground ,pink-9 :background ,pink-1 :box (:line-width 2 :color ,pink-1 :style nil))))) | |
142 | + `(mode-line-highlight ((t (:foreground ,white :background ,purple-2 :box (:line-width 2 :color ,pink-2 :style nil))))) | |
143 | 143 | `(mode-line-buffer-id ((t (:foreground ,orange-7 :distant-foreground ,black :weight bold)))) |
144 | - `(mode-line-inactive ((t (:foreground ,gray-5 :background ,white :box (:line-width 1 :color ,gray-5 :style nil))))) | |
144 | + `(mode-line-inactive ((t (:foreground ,gray-4 :background ,gray-7 :box (:line-width 2 :color ,gray-8 :style nil))))) | |
145 | 145 | `(region ((t (:foreground ,blue-0 :background ,blue-8)))) |
146 | 146 | `(sh-quoted-exec ((t (:foreground ,white :slant italic)))) |
147 | 147 | `(shadow ((,class (:foreground ,gray-3 :background ,gray-9 :slant italic)))) |
@@ -19,8 +19,7 @@ | ||
19 | 19 | |
20 | 20 | ;;; Commentary: |
21 | 21 | ;; Keep things reduced. Only some bright colors to highlight important |
22 | -;; stuff: Blue and red and some silver-ish colors are more than enough | |
23 | - | |
22 | +;; stuff: Blue and red and some gray-ish colors are more than enough | |
24 | 23 | |
25 | 24 | ;;; Code: |
26 | 25 |
@@ -37,16 +36,16 @@ | ||
37 | 36 | (red "#EF2372") |
38 | 37 | (red-bg "#FFC8C8") |
39 | 38 | |
40 | - (silver-9 "#F5F5F8") | |
41 | - (silver-8 "#E1E1E5") | |
42 | - (silver-7 "#D1D1D4") | |
43 | - (silver-6 "#B5B5B9") | |
44 | - (silver-5 "#959598") | |
45 | - (silver-4 "#78787A") | |
46 | - (silver-3 "#58585A") | |
47 | - (silver-2 "#444447") | |
48 | - (silver-1 "#333335") | |
49 | - (silver-0 "#252528")) | |
39 | + (gray-9 "#F5F5F8") | |
40 | + (gray-8 "#E1E1E5") | |
41 | + (gray-7 "#D1D1D4") | |
42 | + (gray-6 "#B5B5B9") | |
43 | + (gray-5 "#959598") | |
44 | + (gray-4 "#78787A") | |
45 | + (gray-3 "#58585A") | |
46 | + (gray-2 "#444447") | |
47 | + (gray-1 "#333335") | |
48 | + (gray-0 "#252528")) | |
50 | 49 | |
51 | 50 | (custom-theme-set-faces |
52 | 51 | 'two-tone |
@@ -54,68 +53,68 @@ | ||
54 | 53 | ;; basics |
55 | 54 | |
56 | 55 | `(comint-highlight-prompt ((t (:foreground ,blue)))) |
57 | - `(compilation-column-number ((t (:foreground ,silver-6)))) | |
56 | + `(compilation-column-number ((t (:foreground ,gray-6)))) | |
58 | 57 | `(compilation-error ((t (:foreground ,red)))) |
59 | 58 | `(compilation-info ((t (:foreground ,blue)))) |
60 | 59 | `(compilation-line-number ((t (:foreground ,blue :weight bold)))) |
61 | - `(cursor ((t (:background ,blue :foreground ,white)))) | |
62 | - `(default ((,class (:background ,white :foreground ,silver-0)))) | |
60 | + `(cursor ((t (:background ,black :foreground ,white)))) | |
61 | + `(default ((,class (:background ,white :foreground ,gray-0)))) | |
63 | 62 | `(eshell-prompt ((t (:foreground ,blue)))) |
64 | 63 | `(fringe ((t (:inherit default)))) |
65 | - `(highlight ((t (:foreground ,white :background ,blue :box (:line-width -1 :color ,silver-6))))) | |
64 | + `(highlight ((t (:foreground ,white :background ,black)))) | |
66 | 65 | `(highlight-changes-delete ((t (:underline ,red)))) |
67 | - `(highlight-changes ((t (:background ,silver-9)))) | |
68 | - `(hl-line ((t (:background ,silver-9)))) | |
69 | - `(isearch ((t (:foreground ,white :background ,black :underline nil :box nil)))) | |
70 | - `(isearch-fail ((t (:foreground ,white :background ,red)))) | |
71 | - `(lazy-highlight ((t (:foreground ,black :background ,silver-8 :box (:line-width -1 :color ,silver-9))))) | |
72 | - `(linum ((t (:foreground ,silver-7 :background ,white)))) | |
66 | + `(highlight-changes ((t (:background ,gray-9)))) | |
67 | + `(hl-line ((t (:background ,gray-9)))) | |
68 | + `(isearch ((t (:foreground ,white :background ,red :underline nil :box nil)))) | |
69 | + `(isearch-fail ((t (:foreground ,red :background ,red-bg)))) | |
70 | + `(lazy-highlight ((t (:foreground ,black :background ,gray-8 :box (:line-width -1 :color ,gray-9))))) | |
71 | + `(linum ((t (:foreground ,gray-7 :background ,white)))) | |
73 | 72 | `(match ((t (:weight bold)))) |
74 | 73 | `(minibuffer-prompt ((t (:foreground ,blue :background ,white)))) |
75 | 74 | `(mode-line ((t (:foreground ,white :background ,blue :box (:line-width 1 :color ,blue :style nil))))) |
76 | - `(mode-line-buffer-id ((t (:foreground ,white :distant-foreground ,black :weight bold :box (:line-width 1 :color ,silver-6 :style nil))))) | |
77 | - `(mode-line-highlight ((t (:foreground ,red :background ,red-bg :box (:line-width 1 :color ,red-bg :style nil))))) | |
78 | - `(mode-line-inactive ((t (:foreground ,silver-2 :background ,silver-9 :box (:line-width 1 :color ,silver-6 :style nil))))) | |
79 | - `(region ((t (:background ,blue-bg)))) | |
80 | - `(shadow ((,class (:foreground ,silver-6 :weight bold)))) | |
75 | + `(mode-line-buffer-id ((t (:foreground ,white :distant-foreground ,black :weight bold :box (:line-width 1 :color ,gray-6 :style nil))))) | |
76 | + `(mode-line-highlight ((t (:foreground ,white :background ,black :box (:line-width 1 :color ,black :style nil))))) | |
77 | + `(mode-line-inactive ((t (:foreground ,gray-2 :background ,gray-9 :box (:line-width 1 :color ,gray-6 :style nil))))) | |
78 | + `(region ((t (:background ,gray-8)))) | |
79 | + `(shadow ((,class (:foreground ,gray-6 :weight bold)))) | |
81 | 80 | `(show-paren-match ((t (:weight bold :foreground ,blue :background ,blue-bg)))) |
82 | 81 | `(show-paren-mismatch ((t (:foreground ,red :background nil :underline t)))) |
83 | 82 | `(underline ((t (:underline nil)))) |
84 | - `(window-divider ((t (:foreground ,silver-7)))) | |
85 | - `(window-divider-first-pixel ((t (:foreground ,silver-9)))) | |
86 | - `(window-divider-last-pixel ((t (:foreground ,silver-9)))) | |
83 | + `(window-divider ((t (:foreground ,gray-7)))) | |
84 | + `(window-divider-first-pixel ((t (:foreground ,gray-9)))) | |
85 | + `(window-divider-last-pixel ((t (:foreground ,gray-9)))) | |
87 | 86 | |
88 | 87 | ;; font lock |
89 | 88 | `(font-lock-warning-face ((t (:foreground ,red)))) |
90 | 89 | `(font-lock-builtin-face ((t (:foreground ,blue)))) |
91 | - `(font-lock-comment-face ((t (:foreground ,silver-5 :slant italic)))) | |
92 | - `(font-lock-comment-delimiter-face ((t (:foreground ,silver-3 :slant italic)))) | |
90 | + `(font-lock-comment-face ((t (:foreground ,gray-5 :slant italic)))) | |
91 | + `(font-lock-comment-delimiter-face ((t (:foreground ,gray-3 :slant italic)))) | |
93 | 92 | `(font-lock-preprocessor-face ((t (:foreground ,blue :weight bold)))) |
94 | - `(font-lock-constant-face ((t (:foreground ,silver-4)))) | |
93 | + `(font-lock-constant-face ((t (:foreground ,gray-4)))) | |
95 | 94 | `(font-lock-string-face ((t (:foreground ,blue)))) |
96 | - `(font-lock-doc-face ((t (:foreground ,silver-4 :slant normal)))) | |
95 | + `(font-lock-doc-face ((t (:foreground ,gray-4 :slant normal)))) | |
97 | 96 | `(font-lock-keyword-face ((t (:foreground ,blue :weight normal)))) |
98 | 97 | `(font-lock-type-face ((t (:foreground ,red :slant normal)))) |
99 | - `(font-lock-variable-name-face ((t (:foreground ,silver-3)))) | |
98 | + `(font-lock-variable-name-face ((t (:foreground ,gray-3)))) | |
100 | 99 | `(font-lock-function-name-face ((t (:foreground ,blue)))) |
101 | 100 | |
102 | 101 | ;; org/calendar/diary |
103 | 102 | `(org-agenda-date-today ((t (:foreground ,blue :background ,blue-bg)))) |
104 | - `(org-block ((t (:foreground ,silver-3)))) | |
105 | - `(org-code ((t (:foreground ,silver-3)))) | |
103 | + `(org-block ((t (:foreground ,gray-3)))) | |
104 | + `(org-code ((t (:foreground ,gray-3)))) | |
106 | 105 | `(org-date ((t (:foreground ,blue)))) |
107 | - `(org-done ((t (:foreground ,silver-3 :box (:line-width -1 :color ,silver-4 :style nil))))) | |
106 | + `(org-done ((t (:foreground ,gray-3 :box (:line-width -1 :color ,gray-4 :style nil))))) | |
108 | 107 | `(org-level-1 ((t (:foreground ,black :weight bold)))) |
109 | 108 | `(org-level-2 ((t (:foreground ,black :weight bold)))) |
110 | 109 | `(org-level-3 ((t (:foreground ,black :weight bold)))) |
111 | 110 | `(org-link ((t (:foreground ,blue :underline ,blue)))) |
112 | - `(org-tag ((t (:foreground ,silver-7)))) | |
111 | + `(org-tag ((t (:foreground ,gray-7)))) | |
113 | 112 | `(org-todo ((t (:foreground ,red :box (:line-width -1 :color ,red :style nil))))) |
114 | 113 | |
115 | 114 | ;; dired |
116 | 115 | `(dired-directory ((t (:foreground ,blue :underline ,blue)))) |
117 | - `(dired-marked ((t (:background ,silver-7 :weight bold)))) | |
118 | - `(dired-ignored ((t (:foreground ,silver-6 :slant italic)))) | |
116 | + `(dired-marked ((t (:background ,gray-7 :weight bold)))) | |
117 | + `(dired-ignored ((t (:foreground ,gray-6 :slant italic)))) | |
119 | 118 | `(dired-flagged ((t (:background ,red-bg :weight bold)))) |
120 | 119 | |
121 | 120 | ;; ido |
@@ -134,7 +133,7 @@ | ||
134 | 133 | `(markdown-link-face ((t (:inherit dired-directory)))) |
135 | 134 | `(markdown-url-face ((t (:foreground ,blue :underline t)))) |
136 | 135 | `(markdown-reference-face ((t (:foreground ,blue)))) |
137 | - `(markdown-list-face ((t (:foreground ,silver-3)))) | |
136 | + `(markdown-list-face ((t (:foreground ,gray-3)))) | |
138 | 137 | |
139 | 138 | ;; diff mode |
140 | 139 | `(diff-context ((t (:inherit default)))) |
@@ -143,18 +142,18 @@ | ||
143 | 142 | `(diff-hunk-header ((t (:foreground ,black :weight bold)))) |
144 | 143 | `(diff-indicator-added ((t (:foreground ,blue :weight bold :slant italic)))) |
145 | 144 | `(diff-indicator-removed ((t (:foreground ,red :weight bold :slant italic)))) |
146 | - `(diff-changed ((t (:foreground ,silver-1 :background ,silver-8)))) | |
147 | - `(diff-refine-changed ((t (:foreground ,silver-0 :background ,silver-7 :weight bold)))) | |
148 | - `(diff-added ((t (:foreground ,blue :background ,silver-8)))) | |
149 | - `(diff-refine-added ((t (:foreground ,blue :background ,silver-7 :weight bold)))) | |
150 | - `(diff-removed ((t (:foreground ,red :background ,silver-8)))) | |
151 | - `(diff-refine-removed ((t (:foreground ,red :background ,silver-7 :weight bold)))) | |
145 | + `(diff-changed ((t (:foreground ,gray-1 :background ,gray-8)))) | |
146 | + `(diff-refine-changed ((t (:foreground ,gray-0 :background ,gray-7 :weight bold)))) | |
147 | + `(diff-added ((t (:foreground ,blue :background ,gray-8)))) | |
148 | + `(diff-refine-added ((t (:foreground ,blue :background ,gray-7 :weight bold)))) | |
149 | + `(diff-removed ((t (:foreground ,red :background ,gray-8)))) | |
150 | + `(diff-refine-removed ((t (:foreground ,red :background ,gray-7 :weight bold)))) | |
152 | 151 | |
153 | 152 | ;; ediff A |
154 | - `(ediff-even-diff-A ((t (:foreground ,silver-3 :background ,silver-9)))) | |
155 | - `(ediff-odd-diff-A ((t (:foreground ,silver-3 :background ,silver-9)))) | |
156 | - `(ediff-current-diff-A ((t (:foreground ,blue :background ,silver-8)))) | |
157 | - `(ediff-fine-diff-A ((t (:foreground ,blue :background ,silver-7 :weight bold)))) | |
153 | + `(ediff-even-diff-A ((t (:foreground ,gray-3 :background ,gray-9)))) | |
154 | + `(ediff-odd-diff-A ((t (:foreground ,gray-3 :background ,gray-9)))) | |
155 | + `(ediff-current-diff-A ((t (:foreground ,blue :background ,gray-8)))) | |
156 | + `(ediff-fine-diff-A ((t (:foreground ,blue :background ,gray-7 :weight bold)))) | |
158 | 157 | |
159 | 158 | ;; ediff B and C inherit faces |
160 | 159 | `(ediff-even-diff-B ((t (:inherit ediff-even-diff-A)))) |
@@ -167,10 +166,10 @@ | ||
167 | 166 | `(ediff-fine-diff-C ((t (:inherit ediff-fine-diff-A)))) |
168 | 167 | |
169 | 168 | ;; customize |
170 | - `(custom-button ((t (:inherit variable-pitch :box (:line-width 1 :color ,silver-5 :style nil) :foreground ,black :background ,silver-7 :weight normal)))) | |
171 | - `(custom-button-mouse ((t (:inherit variable-pitch :box (:line-width 1 :color ,blue :style nil) :foreground ,black :background ,silver-6 :weight normal)))) | |
172 | - `(custom-button-pressed ((t (:inherit variable-pitch :box (:line-width 1 :color ,blue :style nil) :foreground ,black :background ,silver-5 :weight normal)))) | |
173 | - `(widget-field ((t (:background ,silver-8 :foreground ,silver-2)))) | |
169 | + `(custom-button ((t (:inherit variable-pitch :box (:line-width 1 :color ,gray-5 :style nil) :foreground ,black :background ,gray-7 :weight normal)))) | |
170 | + `(custom-button-mouse ((t (:inherit variable-pitch :box (:line-width 1 :color ,blue :style nil) :foreground ,black :background ,gray-6 :weight normal)))) | |
171 | + `(custom-button-pressed ((t (:inherit variable-pitch :box (:line-width 1 :color ,blue :style nil) :foreground ,black :background ,gray-5 :weight normal)))) | |
172 | + `(widget-field ((t (:background ,gray-8 :foreground ,gray-2)))) | |
174 | 173 | `(button ((t (:inherit variable-pitch :foreground ,blue :underline ,blue)))) |
175 | 174 | )) |
176 | 175 |