diff --git a/packages/graph-explorer/src/components/Checkbox.tsx b/packages/graph-explorer/src/components/Checkbox.tsx index 5dfd5da66..7bb41e1c2 100644 --- a/packages/graph-explorer/src/components/Checkbox.tsx +++ b/packages/graph-explorer/src/components/Checkbox.tsx @@ -14,7 +14,7 @@ function Checkbox({ [data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border *:data-[slot=field]:p-4", - "has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10", + "has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary", className, )} {...props} diff --git a/packages/graph-explorer/src/index.css b/packages/graph-explorer/src/index.css index 5fbce88d6..71dc81a99 100644 --- a/packages/graph-explorer/src/index.css +++ b/packages/graph-explorer/src/index.css @@ -1,17 +1,6 @@ @import "tailwindcss"; @import "tw-animate-css"; -/* - * Use `dark` class name to indicate dark mode. - * - * We will need to slowly build up dark mode support component by component, so - * this is a way to force dark mode to be off, unless we explicitly set `dark` - * in the classes in the root component. - * - * https://github.com/aws/graph-explorer/issues/645 - */ -@custom-variant dark (&:where(.dark, .dark *)); - /* Radix UI uses data-state="open"/"closed" on interactive elements */ @custom-variant data-open (&[data-state="open"]); @custom-variant data-closed (&[data-state="closed"]);