Class
ThemeCheck
ConsoleMonster.Styling
Checks theme text, status colours, markers and critical fills without guessing a terminal's palette.
Inheritance
- object
- ThemeCheck
Methods
public static ThemeCheckReport Run(ITheme theme, ThemeCheckOptions? options = null) #Measures WCAG 4.5:1 text contrast and CIELAB distance 25 in normal vision and Machado severity-1 simulations, then checks markers and filled Critical.
Parameters
- theme ConsoleMonster.Styling.ITheme
- Any theme; resolved palette indexes and terminal-default foregrounds remain unknown.
- options ConsoleMonster.Styling.ThemeCheckOptions? = null
- Page background and marker rendering conditions. No terminal queries are sent.
Returns
ThemeCheckReport An immutable report. Unknown measurements prevent Passed, but are distinct from failures.