Check if doom-one theme exists then set color
This commit is contained in:
parent
db385ce691
commit
f2c0f3d359
1 changed files with 3 additions and 2 deletions
|
@ -74,8 +74,9 @@
|
||||||
(set-face-attribute 'mode-line nil
|
(set-face-attribute 'mode-line nil
|
||||||
:background (face-attribute 'default :background)
|
:background (face-attribute 'default :background)
|
||||||
:foreground
|
:foreground
|
||||||
;; (face-attribute 'mode-line-inactive :foreground nil 'default)
|
(if (member 'doom-one custom-enabled-themes)
|
||||||
"#5B6268"
|
"#5B6268"
|
||||||
|
(face-attribute 'mode-line-inactive :foreground nil 'default))
|
||||||
:box '(:line-width (1 . 8) :style flat-button) :weight 'bold)
|
:box '(:line-width (1 . 8) :style flat-button) :weight 'bold)
|
||||||
|
|
||||||
(set-face-attribute 'mode-line-inactive nil
|
(set-face-attribute 'mode-line-inactive nil
|
||||||
|
|
Loading…
Add table
Reference in a new issue