Re: Styling tabs with background image, or with stipples with different foreground color?
Stéphane Marks <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <CAN+1Hbpe8G8okgqHcm2uunoGf3zDs2Y+W3DFZtSba3Ztz3O9-g@mail.gmail.com> |
On Wed, Apr 8, 2026 at 3:21 PM Frank Steiner <[email protected]> wrote: > I couldn't find a way to have overlines at different > heights, but apart from that I could make the tabs (and > the icons ;-)) look almost like in XEmacs. > > If someone ever has an idea how to reach overlines at > different heights for current and inactive tabs, I'm > still interested! I put an overline on the active tab (set-face-attribute 'tab-bar-tab nil :overline xxx) Where xxx is whatever foreground color you want. If you use a modus theme you can wrap this (modus-themes-with-colors (set-face-attribute 'tab-bar-tab nil :overline fg-main) and leverage its nice shorthands so you can reuse these for any of its themes, light or dark. To put the overline on an inactive tab change the face to be 'tab-bar-tab-inactive.