From 92d9e052d7d65a624e513bc092d85ec46df3cad5 Mon Sep 17 00:00:00 2001 From: Danny Miller Date: Mon, 20 May 2024 14:16:19 -0400 Subject: [PATCH] gray the spoiler text a tad for dark themes --- components/level/reviews/spoilerText.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/level/reviews/spoilerText.tsx b/components/level/reviews/spoilerText.tsx index 0ff287bc2..94464a92c 100644 --- a/components/level/reviews/spoilerText.tsx +++ b/components/level/reviews/spoilerText.tsx @@ -55,12 +55,12 @@ export function SpoilerText({ id, text }: SpoilerTextProps) { spoilerToolTipText = 'You must solve this level to view this spoiler'; } - const backgroundColor = visible ? undefined : '#000'; + const backgroundColor = visible ? '' : 'bg-black text-black dark:bg-gray-600 dark:text-gray-600'; return ( <>