Skip to content

Commit

Permalink
fix(nord): handle nil => unspecified cases
Browse files Browse the repository at this point in the history
Ref: #793
Ref: #753
Close: #802
Co-authored-by: vadimi <[email protected]>
  • Loading branch information
hlissner and vadimi committed Dec 2, 2023
1 parent 4aee1f5 commit fe4a9b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions themes/doom-nord-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ determine the exact padding."
((line-number &override) :foreground (doom-lighten 'base5 0.2))
((line-number-current-line &override) :foreground base7)
((font-lock-comment-face &override)
:background (if doom-nord-comment-bg (doom-lighten bg 0.05)))
:background (if doom-nord-comment-bg (doom-lighten bg 0.05) 'unspecified))
((tab-line &override) :background modeline-bg :foreground blue)
((tab-line-tab-inactive &override) :foreground dark-blue)
(mode-line
Expand All @@ -150,7 +150,7 @@ determine the exact padding."
:background modeline-bg-inactive :foreground modeline-fg-alt
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
(mode-line-emphasis :foreground (if -modeline-bright base8 highlight))
((region &override) :foreground region-fg)
((region &override) :foreground (or region-fg 'unspecified))

;;;; css-mode <built-in> / scss-mode
(css-proprietary-property :foreground orange)
Expand All @@ -169,7 +169,7 @@ determine the exact padding."
;;;; highlight-thing
(highlight-thing :background (doom-lighten base4 0.1) :distant-foreground fg-alt)
;;;; ivy
((ivy-current-match &override) :foreground region-fg :weight 'semi-bold)
((ivy-current-match &override) :foreground (or region-fg 'unspecified) :weight 'semi-bold)
;;;; markdown-mode
(markdown-markup-face :foreground base5)
(markdown-header-face :inherit 'bold :foreground red)
Expand Down

0 comments on commit fe4a9b4

Please sign in to comment.