Skip to content

Commit 276104f

Browse files
committed
Fixed an issue where font colors did not match the overall dark mode.
issue #18
1 parent df51f00 commit 276104f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/web-view/src/app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const App = () => {
88
return (
99
<VscodeCommandProvider>
1010
<CommandFormProvider>
11-
<div className="min-h-screen bg-background p-6">
11+
<div className="min-h-screen bg-background p-6 text-foreground">
1212
<div className="max-w-4xl mx-auto">
1313
<Header />
1414
<CommandList />

src/web-view/src/core/shadcn/dialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function DialogContent({
5858
<DialogPrimitive.Content
5959
data-slot="dialog-content"
6060
className={cn(
61-
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
61+
"bg-background text-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
6262
className
6363
)}
6464
{...props}

0 commit comments

Comments
 (0)