Add support for tab-line-active and tab-line-inactive faces (Emacs 31)

This commit is contained in:
Protesilaos Stavrou 2026-04-17 12:42:03 +03:00
parent 657fd6f92d
commit a2c40a9f92
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -6960,6 +6960,8 @@ If COLOR is unspecified, then return :box unspecified."
`(tab-bar-tab-ungrouped ((,c :background ,bg-tab-other ,@(modus-themes--box bg-tab-other -2 nil))))
;;;;; tab-line-mode
`(tab-line ((,c :inherit modus-themes-ui-variable-pitch :background ,bg-tab-bar :height 0.95)))
`(tab-line-active ((,c :inherit modus-themes-ui-variable-pitch :background ,bg-tab-bar)))
`(tab-line-inactive ((,c :inherit modus-themes-ui-variable-pitch :background ,bg-dim)))
`(tab-line-close-highlight ((,c :foreground ,err)))
`(tab-line-highlight ((,c :background ,bg-hover :foreground ,fg-main)))
`(tab-line-tab (( )))