Skip to content

Commit

Permalink
Fix: Ensure that face-foreground reads indirect values
Browse files Browse the repository at this point in the history
  • Loading branch information
ema2159 committed Sep 20, 2022
1 parent 40e337a commit eac6522
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions centaur-tabs-elements.el
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ If icon gray out option enabled, gray out icon if not SELECTED."
(background (face-background face nil 'default))
(inactive (cond ((and (not selected)
(eq centaur-tabs-gray-out-icons 'buffer))
(face-foreground 'mode-line-inactive))
(face-foreground 'mode-line-inactive nil 'default))
(centaur-tabs-plain-icons
(face-foreground 'centaur-tabs-selected))
(face-foreground 'centaur-tabs-selected nil 'default))
(t 'unspecified)))
(underline (and (eq (if (display-graphic-p) centaur-tabs-set-bar) 'under)
(face-attribute face :underline)))
Expand Down

0 comments on commit eac6522

Please sign in to comment.