From f41ecf06f7417d67bf7c77680fdcc2e870def703 Mon Sep 17 00:00:00 2001 From: Jonny Gerig Meyer Date: Thu, 30 Nov 2023 16:03:18 -0500 Subject: [PATCH] Use AA normal for ratio background --- src/lib/components/ratio/index.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/ratio/index.svelte b/src/lib/components/ratio/index.svelte index 8540c5e5..f6155f07 100644 --- a/src/lib/components/ratio/index.svelte +++ b/src/lib/components/ratio/index.svelte @@ -9,7 +9,7 @@ $: ratio = contrast($bg, $fg, 'WCAG21'); $: displayRatio = Math.round((ratio + Number.EPSILON) * 100) / 100; - $: pass = ratio >= RATIOS.AA.Large; + $: pass = ratio >= RATIOS.AA.Normal;