diff --git a/website/src/components/FlaggableElement.tsx b/website/src/components/FlaggableElement.tsx
index bc245bd2..a55d29c5 100644
--- a/website/src/components/FlaggableElement.tsx
+++ b/website/src/components/FlaggableElement.tsx
@@ -17,12 +17,15 @@ import {
Spacer,
Tooltip,
useBoolean,
+ useColorMode,
+ useColorModeValue,
useId,
} from "@chakra-ui/react";
import { FlagIcon, QuestionMarkCircleIcon } from "@heroicons/react/20/solid";
import { useState } from "react";
import poster from "src/lib/poster";
import useSWRMutation from "swr/mutation";
+import { colors } from "styles/Theme/colors";
export const FlaggableElement = (props) => {
const [isEditing, setIsEditing] = useBoolean();
@@ -102,7 +105,10 @@ export const FlaggableElement = (props) => {
@@ -133,6 +139,12 @@ function FlagCheckbox(props: {
}
const id = useId();
+ const { colorMode } = useColorMode();
+
+ const labelTextClass =
+ colorMode === "light"
+ ? `text-${colors.light.text} hover:text-blue-700 float-left`
+ : `text-${colors.dark.text} hover:text-blue-400 float-left`;
return (
@@ -143,7 +155,7 @@ function FlagCheckbox(props: {
}}
/>