mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 02:04:22 +01:00
ignore
This commit is contained in:
@@ -630,8 +630,7 @@ export const { use: useTheme, provider: ThemeProvider } = createSimpleContext({
|
|||||||
const kv = useKV()
|
const kv = useKV()
|
||||||
|
|
||||||
const theme = createMemo(() => {
|
const theme = createMemo(() => {
|
||||||
console.log(kv.data.theme)
|
return THEMES[kv.data.theme as keyof typeof THEMES] ?? THEMES.opencode
|
||||||
return { ...(THEMES[kv.data.theme as keyof typeof THEMES] ?? THEMES.opencode) }
|
|
||||||
})
|
})
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user