From 862c49340f0b39138afbe3aada1be35721b1a9cc Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Tue, 20 May 2025 23:54:36 -0700 Subject: [PATCH] fix syntax error --- gui/src/components/dialogs/index.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gui/src/components/dialogs/index.tsx b/gui/src/components/dialogs/index.tsx index c4a80e0b4..d205d59f8 100644 --- a/gui/src/components/dialogs/index.tsx +++ b/gui/src/components/dialogs/index.tsx @@ -8,8 +8,7 @@ import { vscBackground, vscForeground, } from ".."; -import { THEME_COLORS } from "../../styles/theme"; -import { parseColorForHex } from "../../styles/utils"; +import { varWithFallback } from "../../styles/theme"; interface TextDialogProps { showDialog: boolean; @@ -22,7 +21,7 @@ const ScreenCover = styled.div` position: fixed; width: 100%; height: 100%; - background-color: ${parseColorForHex(THEME_COLORS["background"].var)}aa; + background-color: ${varWithFallback("background")}aa; z-index: 100000; flex-direction: column; `;