fix(theme): make shared status and supporting text readable

This commit is contained in:
Joseph Doherty
2026-11-13 15:36:57 -05:00
parent cf432c00bd
commit 8969bee6a9
10 changed files with 950 additions and 39 deletions
@@ -102,11 +102,11 @@ public class StaticAssetsTests
// Theme-002: .chip-idle pairs the idle background with the matching --idle
// foreground token (per DESIGN-TOKENS.md), not --ink-soft.
[Fact]
public void ChipIdle_pairs_idle_foreground_with_idle_background()
public void ChipIdle_pairs_readable_idle_ink_with_idle_background()
{
var css = File.ReadAllText(Path.Combine(Wwwroot, "css", "theme.css"));
var rule = Regex.Match(css, @"\.chip-idle\s*\{[^}]*\}").Value;
Assert.Contains("color: var(--idle)", rule);
Assert.Contains("color: var(--idle-ink)", rule);
Assert.Contains("background: var(--idle-bg)", rule);
Assert.DoesNotContain("--ink-soft", rule);
}