3 references to ContrastRatio
Aspire.Dashboard.Playwright.Tests (3)
Integration\Playwright\AccessibilityTests.cs (3)
218return ContrastRatio(colors.Foreground, colors.Background) >= WcagAaContrastMinimum; 235.Select(state => (state.Name, state.Foreground, state.Background, Ratio: ContrastRatio(state.Foreground, state.Background))) 399var ratio = ContrastRatio(foreground, background);