feat(desktop): hardcode theme to be dark, in order for transparent bg to look good

This commit is contained in:
Huakun Shen 2025-02-18 04:33:35 -05:00
parent cfaded3a6e
commit be073a0926
No known key found for this signature in database
2 changed files with 7 additions and 2 deletions

View File

@ -70,7 +70,12 @@ function createAppConfig(): WithSyncStore<AppConfig & { language: string }> & Ap
store.subscribe(async (config) => {
console.log("Saving app config", config)
await persistStore.set("config", config)
updateTheme(config.theme)
updateTheme({
theme: "neutral",
radius: 0.5,
lightMode: "dark"
})
// updateTheme(config.theme)
})
}

View File

@ -137,7 +137,7 @@
<DropdownMenu.Root>
<DropdownMenu.Trigger>
<Button variant="outline" size="icon"><EllipsisVerticalIcon /></Button>
<Button variant="outline" size="icon" class=" bg-background/50"><EllipsisVerticalIcon /></Button>
</DropdownMenu.Trigger>
<DropdownMenu.Content class="w-80">
<DropdownMenu.Group>