From 799bfc56f75535ad13089ee2fcbe907f91305ca3 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 29 Sep 2026 20:30:29 -0300 Subject: A theme that names no tint for its tags' names takes one of its own hues, so every theme draws a file's name, a +Name and the Tty word off the tag's ink The faithful ports (neobones_dark, dracula, tokyonight, the *bones, ...), every helix import and any theme file set no tag_name_fg, and ChromeTheme fell back to the plain ink: their tags lost the accent the pardes themes have. The user's neobones_dark looked tinted before only because the Sep 24 build had no such theme and fell back to orchard. The tint is now derived when unset: the theme's keyword colour, else the first of its ANSI accents, syntax, grip, selection or diagnostic colours with a hue, placed at the lightness nearest the ink where the hue holds, at least 4.5:1 on its ground (half a point under the ink's own where the ink has less to spare) and 0.07 off the ink in OKLab. Each ground, plain and focused, gets its own. A theme that names its tint keeps it exactly. Tests: every theme's chrome keeps both tints off the ink and legible; every theme draws a file's basename, +Errors and Tty+sh in a tint, focused or not. Co-Authored-By: Claude Opus 5.5 --- test/gui-goldens.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/gui-goldens.txt') diff --git a/test/gui-goldens.txt b/test/gui-goldens.txt index 2b364b37..1bc25548 100644 --- a/test/gui-goldens.txt +++ b/test/gui-goldens.txt @@ -11,7 +11,7 @@ 12-multiline-tag ddd7d775a246e91b88f0eff98b6f9bea8aa5d63dbfbe931bd830ccb9086bd5c4 13-image f609043fc0fcdb55369b836b61fcbc631f786cc2295a5ddd72c0d9a59b177a60 14-theme-ink 881b7e99f38ad4aa3c46d2c61e20598010175d7858712a67fa6638fc29f12e14 -15-theme-acme-light ca5252f5117ac8d6c679cef917c9f316c9ca311fc7a8dcbac2796b4fc04d3b64 -16-debug 591bb7c45b4b9c46cd2458330b4fa3962afc6dac827fa6f5e20e927a72c586e6 -17-terminal 38299427891e31de0b5597159501c161474620eb26fd7708a6396f0fd685209e -18-mid-transition 5d3e37d874988b460297e18df9508a77b602d5f675e28983c2c793871d4301f6 +15-theme-acme-light dbe607594120020d55a52c5ca67562993c43177e857d75e160ae53aed331299c +16-debug 6021c10cd242f133b9cff530b869d9c8d52b42461b98e51926e360c08c053593 +17-terminal cb2fc421870ab3987ad1fdb04a9c7833a97887e274633f6a0ac7759ad645f7a5 +18-mid-transition cc271b4f0e8d2e18a59613f3647f143fd5d9e6aa6a0581320c4d3ce6d7c2afcc -- cgit v1.3