diff options
| author | user <user@clank> | 2026-09-22 12:17:33 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-09-22 12:17:33 +0200 |
| commit | e18976b315baeb8914970bd8e54887cdb05faefc (patch) | |
| tree | dbb1936c615d7a8682531c5426bbec1ae14baf45 /config | |
| parent | tabs: a plate under the ones you are not in (tab_idle_bg) (diff) | |
| download | slosh-e18976b315baeb8914970bd8e54887cdb05faefc.tar.gz slosh-e18976b315baeb8914970bd8e54887cdb05faefc.tar.xz slosh-e18976b315baeb8914970bd8e54887cdb05faefc.zip | |
tabs: idle tabs you can actually read across the room
Seen next to the accent, the first plate was too polite to do the job it was
added for: a 30% lift off the background under labels in the same #45454a the
idle frames use. From another monitor the strip still read as one dark band
with a blue block in it.
Both ends move. tab_idle leaves the ambient chrome grey and becomes #8a8a95,
because a tab you are not in is a place to go and has to be legible at a
glance, where a dimmed pane border only has to be findable. The plate follows
it to 43%, which is not a taste constant but a contrast ratio: the same step
taken from a dark background upward and a light one downward lands at about
1.9:1 either way, so paper's #bdbebe on near-white and the default's #3b3b40
on black are the same amount of plate.
The six themes in contrib named their idle tab colour as their frame grey, so
each gets the same move in its own family -- 40% of the way from that grey to
the colour the theme writes text in -- and their plates follow by derivation:
amber #a67c26, mono #909090, paper #666a6e, phosphor #4a9c5d, slate #70789c,
sl0p the house #8a8a95. Nobody who named a colour loses it; the derivation
only ever fills in a theme's silence.
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.kdl | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/config/config.kdl b/config/config.kdl index d4d5efe..fc6fb3b 100644 --- a/config/config.kdl +++ b/config/config.kdl @@ -843,14 +843,17 @@ theme { tab_active_fg "#141418" tab_active_bg "#7aa2f7" tab_active_hover_fg "#ffffff" - tab_idle "#45454a" - // Every other tab is a plate too, a third of the way from the background - // to the grey above: a tab with edges rather than a word floating on the + // Brighter than the grey on idle frames and titles: a tab you are not in + // is a place to go, and has to read from across the screen. + tab_idle "#8a8a95" + // Every other tab is a plate too, 43% of the way from the background to + // the grey above: a tab with edges rather than a word floating on the // background, and something for the active fill to be brighter *than*. - // Unset, it is mixed from those two, so a theme gets one in its own - // family without naming it. Name your own background here for the bare - // strip this had before. - tab_idle_bg "#141416" + // That fraction is a contrast ratio in disguise -- about 1.9:1 against + // the background whether the theme is dark or light. Unset, it is mixed + // from those two, so a theme gets one in its own family without naming + // it. Name your own background here for bare tabs. + tab_idle_bg "#3b3b40" tab_hover "#7aa2f7" prefix_fg "#141418" // the "C-a" badge, while the prefix is pending prefix_bg "#7aa2f7" |
