dotfiles/private_dot_config
Anton Volnuhin e5207ac154 tide: derive the light segment background from the terminal's own
A fixed E4E4E4 segment was 1.04:1 against Kaolin Breeze's EBE8E4 -- an
invisible pill -- and a neutral grey reads as a foreign object on a warm
or cool background anyway. Read the background kitty is showing and place
the segment a fixed contrast step below it, so it keeps the theme's tint.
Default step is 1.12:1; __tide_terminal_segment_contrast overrides it.

Moving the segment invalidates the foregrounds, which are authored at
exactly 4.5:1 against E4E4E4 with no headroom, so re-aim them at the
derived segment by the single ratio the palette's shared luminance ceiling
moved by. That scaling runs in linear light, where luminance is a weighted
sum of the channels and so scales exactly; scaling the encoded channels
drifts further the darker a color gets, which is where the floor binds.

Also fix the baseline capture: the overrides are exported, so a Fish
started from a Fish that had already applied a palette was capturing that
palette as its dark baseline and could never restore dark. Drop inherited
globals first so the baseline comes from the universal scope Tide writes.

Dark mode is unchanged.
2026-08-06 15:34:51 +03:00
..
atuin Small combined changes 2026-07-27 20:23:32 +03:00
bat default theme for bat 2024-05-17 23:22:43 +03:00
helix force true color in helix 2024-09-01 00:09:40 +03:00
kitty kitty: keep the tab bar on the terminal background 2026-08-06 14:34:19 +03:00
nvim clipboard fixes for tmux and nvim 2026-04-09 02:21:29 +03:00
opencode opencode: fix invalid config and externalize the bailian key 2026-08-06 02:53:27 +03:00
private_fish tide: derive the light segment background from the terminal's own 2026-08-06 15:34:51 +03:00
private_karabiner/private_assets/private_complex_modifications restructure repo, fix fish config, remove vendored repos 2026-03-02 19:11:10 +03:00
scripts Modernize Neovim treesitter bootstrap 2026-03-31 01:45:02 +03:00
wezterm kitty: color terminal tabs by ssh/mosh host 2026-05-19 23:08:32 +03:00
karabiner.edn Preserve local Karabiner and Pi preferences 2026-07-27 22:33:34 +03:00