Fix tab-bar faces not loading without tab-line

This commit is contained in:
Jessie Hildebrandt 2022-12-14 00:33:21 -05:00
parent f5a959b046
commit 7da9b20853

View File

@ -393,15 +393,17 @@
`(show-paren-match ((,class (:foreground ,fg :weight ultra-bold)))) `(show-paren-match ((,class (:foreground ,fg :weight ultra-bold))))
`(show-paren-mismatch ((,class (:foreground ,red :weight ultra-bold)))) `(show-paren-mismatch ((,class (:foreground ,red :weight ultra-bold))))
;; tab-line/tab-bar ;; tab-line
`(tab-line ((,class (:background ,bg-alt)))) `(tab-line ((,class (:background ,bg-alt))))
`(tab-line-tab ((,class (:background ,bg :foreground ,fg :box (:line-width ,mode-line-padding :color ,bg))))) `(tab-line-tab ((,class (:background ,bg :foreground ,fg :box (:line-width ,mode-line-padding :color ,bg)))))
`(tab-line-tab-inactive ((,class (:background ,bg-alt :foreground ,fg-alt :box (:line-width ,mode-line-padding :color ,bg-alt))))) `(tab-line-tab-inactive ((,class (:background ,bg-alt :foreground ,fg-alt :box (:line-width ,mode-line-padding :color ,bg-alt)))))
`(tab-line-tab-current ((,class (:inherit 'tab-line-tab)))) `(tab-line-tab-current ((,class (:inherit 'tab-line-tab))))
`(tab-line-highlight ((,class (:inherit 'tab-line-tab)))) `(tab-line-highlight ((,class (:inherit 'tab-line-tab))))
`(tab-bar ((,class (:inherit 'tab-line))))
`(tab-bar-tab ((,class (:inherit 'tab-line-tab)))) ;; tab-bar
`(tab-bar-tab-inactive ((,class (:inherit 'tab-line-tab-inactive)))) `(tab-bar ((,class (:background ,bg-alt))))
`(tab-bar-tab ((,class (:background ,bg :foreground ,fg :box (:line-width ,mode-line-padding :color ,bg)))))
`(tab-bar-tab-inactive ((,class (:background ,bg-alt :foreground ,fg-alt :box (:line-width ,mode-line-padding :color ,bg-alt)))))
;; term ;; term
`(term ((,class (:foreground ,fg)))) `(term ((,class (:foreground ,fg))))