diff --git a/packages/graph-explorer/src/components/Alert.tsx b/packages/graph-explorer/src/components/Alert.tsx index 3f3dd393e..23f703006 100644 --- a/packages/graph-explorer/src/components/Alert.tsx +++ b/packages/graph-explorer/src/components/Alert.tsx @@ -7,7 +7,7 @@ const alertVariants = cva({ base: "relative grid w-full grid-cols-[0_1fr] items-start gap-y-0.5 rounded-lg border px-4 py-3 text-sm has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", variants: { variant: { - default: "bg-card text-card-foreground", + default: "bg-background text-foreground", primary: "text-primary-foreground bg-primary-subtle/50 border-primary-foreground/50 *:data-[slot=alert-description]:text-primary-foreground/90 [&>svg]:text-current", danger: diff --git a/packages/graph-explorer/src/components/Checkbox.tsx b/packages/graph-explorer/src/components/Checkbox.tsx index fef257dde..10809d436 100644 --- a/packages/graph-explorer/src/components/Checkbox.tsx +++ b/packages/graph-explorer/src/components/Checkbox.tsx @@ -13,7 +13,7 @@ function Checkbox({ return ( [1]; const lightTheme = createMonacoTheme({ // DEV NOTE: This is currently limited to the colors needed for JSON syntax highlighting. - foreground: "#1f2937", - background: "#f9fafb", - mutedForeground: "#9ca3af", + // Monaco requires hex values, so these mirror the design system tokens + // (see docs/agents/design.md) rather than referencing the CSS variables. + foreground: "#18181b", // --color-foreground (gray-900) + background: "#fafafa", // --color-background-alt (gray-50) + mutedForeground: "#a1a1aa", // gray-400 keys: "#3730a3", strings: "#9f1239", numbers: "#065f46", diff --git a/packages/graph-explorer/src/components/EmptyState.tsx b/packages/graph-explorer/src/components/EmptyState.tsx index bfeff4479..223141dfa 100644 --- a/packages/graph-explorer/src/components/EmptyState.tsx +++ b/packages/graph-explorer/src/components/EmptyState.tsx @@ -26,9 +26,8 @@ const emptyStateIconStyles = cva({ base: "mb-6 flex size-24 items-center justify-center rounded-full text-7xl text-white group-data-[size=small]/empty:mb-3 group-data-[size=small]/empty:size-10 [&>svg]:size-1/2", variants: { variant: { - info: "bg-empty-info-gradient shadow-[0_0_20px_2px_hsl(205,95%,71%,70%)]", - error: - "bg-empty-error-gradient shadow-[0_0_20px_2px_rgba(255,144,119,0.7)]", + info: "bg-empty-info-gradient shadow-brand-300/70 shadow-[0_0_20px_2px]", + error: "bg-empty-error-gradient shadow-[0_0_20px_2px] shadow-red-300/70", subtle: "bg-muted text-muted-foreground rounded-lg", }, }, diff --git a/packages/graph-explorer/src/components/SidebarTabs.tsx b/packages/graph-explorer/src/components/SidebarTabs.tsx index b08616a9b..b9469e57f 100644 --- a/packages/graph-explorer/src/components/SidebarTabs.tsx +++ b/packages/graph-explorer/src/components/SidebarTabs.tsx @@ -39,7 +39,7 @@ function SidebarTabsTrigger({ return (