From 19149d06cd9058eb3076ec03c10fdd16b3172ddb Mon Sep 17 00:00:00 2001 From: ItzNotABug Date: Thu, 26 Sep 2024 17:53:28 +0530 Subject: [PATCH] fix: tests. --- src/routes/+layout.svelte | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index d6fbc0e0c..e1afe05c0 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -196,8 +196,12 @@ } /* TODO: remove this block once Pink V2 is incorporated */ - .theme-dark input:is([type='checkbox'], [type='radio'], [type='switchbox']):not(:checked) { + input[type='radio'], + input[type='checkbox'], + input[type='switchbox'] { + .theme-dark &:not(:checked) { background-color: transparent; /* take whatever color is behind */ border: 1px solid var(--color-mid-neutral-70, #56565c); + } }