diff --git a/Themes/Controls.xaml b/Themes/Controls.xaml index ee70aa7..c46a5b2 100644 --- a/Themes/Controls.xaml +++ b/Themes/Controls.xaml @@ -757,6 +757,10 @@ + + @@ -770,7 +774,6 @@ - diff --git a/ytLive.Tests/UiShellTests.cs b/ytLive.Tests/UiShellTests.cs index 259b733..cb1212e 100644 --- a/ytLive.Tests/UiShellTests.cs +++ b/ytLive.Tests/UiShellTests.cs @@ -43,6 +43,11 @@ public class UiShellTests // 5. Armed session controls are red, and the running stop button is red — not a grey literal. Assert.Contains("x:Key=\"RecordPillToggle\"", theme); + // One rule for session controls: white ink in every state, the fill carries the state. + // The missing base foreground is what painted the REC/ON-AIR labels black (2026-10-30). + var pill = theme[theme.IndexOf("x:Key=\"RecordPillToggle\"", System.StringComparison.Ordinal)..]; + pill = pill[..pill.IndexOf("", System.StringComparison.Ordinal)]; + Assert.Contains("", pill); Assert.Contains("Brush.Primary", theme); Assert.Contains("Style=\"{StaticResource RecordPillToggle}\"", topBar); Assert.Contains("Background=\"{StaticResource Brush.Primary}\" Margin=\"14,0,0,0\"", topBar);