From bd5e02ac1b0e74ddbf57521988799670e68a66a6 Mon Sep 17 00:00:00 2001 From: Christopher Hight Date: Mon, 19 Oct 2026 14:59:01 -0700 Subject: [PATCH] Refactor connecting more of theme.js --- .../components/dashboard/SettingsButton.jsx | 18 ++++++++++-------- client/src/theme.js | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/client/src/components/dashboard/SettingsButton.jsx b/client/src/components/dashboard/SettingsButton.jsx index f49d6ae..0adec2e 100644 --- a/client/src/components/dashboard/SettingsButton.jsx +++ b/client/src/components/dashboard/SettingsButton.jsx @@ -38,9 +38,11 @@ export function SettingsButton() { const [canScrollRight, setCanScrollRight] = useState(false); // Pull the glass container styles for the dropdown and modal - const panelRecipe = useSlotRecipe({key: "glassPanel"}); - const panelStyles = panelRecipe({layout: "dropdown"}); - const modalStyles = panelRecipe({layout: "popover"}); + const popoverRecipe = useSlotRecipe({ key: "glassPopover" }); + const popoverStyles = popoverRecipe(); + + const dialogRecipe = useSlotRecipe({ key: "glassDialog" }); + const dialogStyles = dialogRecipe(); const [isLibraryOpen, setIsLibraryOpen] = useState(false); @@ -130,7 +132,7 @@ export function SettingsButton() { - + */} - - + + + Widgets Shop - + {/* HORIZONTAL SCROLLABLE MENU OF WIDGET CATEGORIES */} @@ -246,7 +249,6 @@ export function SettingsButton() { h="24px" flexShrink={0} borderRadius="full" - // bg={{base: "blue.50", _dark: "whiteAlpha.200"}} fontWeight="black" fontSize="xs" bg='transparent' diff --git a/client/src/theme.js b/client/src/theme.js index 19e3904..2865f1f 100644 --- a/client/src/theme.js +++ b/client/src/theme.js @@ -566,7 +566,7 @@ const config = defineConfig({ semanticTokens: { colors: { text: { value: { base: "#000000", _dark: "#FFFFFF" } }, - textInverted: { value: { base: "#FFFFFF", _dark: "#000000" } }, // Fixed: Properly inverted + textInverted: { value: { base: "#000000", _dark: "#FFFFFF" } }, // Fixed: Properly inverted MainBackground: { value: { base: "#F9F9F9", _dark: "#141414" } }, titleColor: { value: { base: "gray.800", _dark: "#FFFFFF" } }, iconColor: { value: { base: "gray.600", _dark: "gray.300" } }, // Fixed: Visible in dark mode