tinted-theming / base16-emacs

Base16 themes for Emacs
MIT License
382 stars 76 forks source link

Add tab-line support #122

Closed paaguti closed 1 year ago

paaguti commented 2 years ago

Support for tab-line-mode: Tabs use the same face as the fringe except for the current-tab, which uses the default face. IMHO it creates a nice way of connecting the tab-line with the buffer.

You can ignore commit e2f21a1. I don't know why it is still here ;-)

Best, /PA

belak commented 2 years ago

Hello! Do you have before and after screenshots?

paaguti commented 2 years ago

This is the way base-one-light looks when you activate tab-line-mode:

image

init.el is the current buffer. As you see, it is easy to identify the current buffer in the tab-line.

Without the additional faces, the look and feel for any theme ( in the example base16-ocean) is:

image

When the mouse hovers over one of the tab, the face is changed to the region face. Unfortunately, I can't get a snapshot of that. In my setup, I grow the tabs with a :box 6: style flat-button but since flat-button is emacs > 27, I have not added it to the basic definition.

belak commented 1 year ago

Thanks for doing this! I cleaned some stuff up, but I merged your faces in as-is.