Improve accuracy of font-lock faces
This commit is contained in:
parent
a1faa94ddc
commit
99951619c5
@ -170,6 +170,7 @@
|
|||||||
(gray (if true-color-available-p "#3d3846" "gray23")) ; #3b3b3b
|
(gray (if true-color-available-p "#3d3846" "gray23")) ; #3b3b3b
|
||||||
(red (if true-color-available-p "#ff6c6b" "indianred2")) ; #ee6363
|
(red (if true-color-available-p "#ff6c6b" "indianred2")) ; #ee6363
|
||||||
(orange (if true-color-available-p "#ffa348" "orange2")) ; #ee9a00
|
(orange (if true-color-available-p "#ffa348" "orange2")) ; #ee9a00
|
||||||
|
(dark-orange (if true-color-available-p "#db6b1a" "darkorange3")) ; #cd6600
|
||||||
(green (if true-color-available-p "#54d18c" "seagreen3")) ; #43cd80
|
(green (if true-color-available-p "#54d18c" "seagreen3")) ; #43cd80
|
||||||
(teal (if true-color-available-p "#5bc8af" "mediumaquamarine")) ; #66cdaa
|
(teal (if true-color-available-p "#5bc8af" "mediumaquamarine")) ; #66cdaa
|
||||||
(yellow (if true-color-available-p "#f8e45c" "gold2")) ; #eec900
|
(yellow (if true-color-available-p "#f8e45c" "gold2")) ; #eec900
|
||||||
@ -218,21 +219,21 @@
|
|||||||
|
|
||||||
;; font-lock
|
;; font-lock
|
||||||
`(font-lock-builtin-face ((,class (:foreground ,violet))))
|
`(font-lock-builtin-face ((,class (:foreground ,violet))))
|
||||||
|
`(font-lock-doc-face ((,class (:foreground ,base-6))))
|
||||||
`(font-lock-comment-face ((,class (:foreground ,base-5))))
|
`(font-lock-comment-face ((,class (:foreground ,base-5))))
|
||||||
`(font-lock-comment-delimiter-face ((,class (:inherit font-lock-comment-face))))
|
`(font-lock-comment-delimiter-face ((,class (:inherit font-lock-comment-face))))
|
||||||
`(font-lock-doc-face ((,class (:inherit font-lock-comment-face :foreground ,base-6))))
|
|
||||||
`(font-lock-constant-face ((,class (:foreground ,violet))))
|
`(font-lock-constant-face ((,class (:foreground ,violet))))
|
||||||
`(font-lock-function-name-face ((,class (:foreground ,blue))))
|
`(font-lock-variable-name-face ((,class (:foreground unspecified))))
|
||||||
`(font-lock-keyword-face ((,class (:inherit bold :foreground ,orange))))
|
`(font-lock-function-name-face ((,class (:foreground unspecified))))
|
||||||
|
`(font-lock-keyword-face ((,class (:foreground ,orange :weight bold))))
|
||||||
|
`(font-lock-type-face ((,class (:foreground ,teal :weight bold))))
|
||||||
`(font-lock-string-face ((,class (:foreground ,teal))))
|
`(font-lock-string-face ((,class (:foreground ,teal))))
|
||||||
`(font-lock-type-face ((,class (:foreground ,teal))))
|
|
||||||
`(font-lock-variable-name-face ((,class (:foreground ,fg))))
|
|
||||||
`(font-lock-warning-face ((,class (:inherit warning))))
|
`(font-lock-warning-face ((,class (:inherit warning))))
|
||||||
`(font-lock-negation-char-face ((,class (:inherit bold :foreground ,blue))))
|
`(font-lock-preprocessor-face ((,class (:foreground ,dark-orange))))
|
||||||
`(font-lock-preprocessor-face ((,class (:inherit bold :foreground ,violet))))
|
`(font-lock-preprocessor-char-face ((,class (:foreground ,violet :weight bold))))
|
||||||
`(font-lock-preprocessor-char-face ((,class (:inherit bold :foreground ,violet))))
|
`(font-lock-negation-char-face ((,class (:foreground unspecified :weight bold))))
|
||||||
`(font-lock-regexp-grouping-backslash ((,class (:inherit bold :foreground ,teal))))
|
`(font-lock-regexp-grouping-backslash ((,class (:foreground ,teal :weight bold))))
|
||||||
`(font-lock-regexp-grouping-construct ((,class (:inherit bold :foreground ,teal))))
|
`(font-lock-regexp-grouping-construct ((,class (:foreground ,teal :weight bold))))
|
||||||
|
|
||||||
;; mode-line/header-line
|
;; mode-line/header-line
|
||||||
`(mode-line ((,class (:background ,base-3 :foreground ,fg :box (:line-width ,mode-line-padding :color ,base-3)))))
|
`(mode-line ((,class (:background ,base-3 :foreground ,fg :box (:line-width ,mode-line-padding :color ,base-3)))))
|
||||||
|
Loading…
Reference in New Issue
Block a user