tui: add reload functionality and improve lazy utility with reset capability

This commit is contained in:
Dax Raad 2026-01-01 22:11:38 -05:00
commit 389a5fc017
5 changed files with 44 additions and 20 deletions

View file

@ -283,6 +283,12 @@ export const { use: useTheme, provider: ThemeProvider } = createSimpleContext({
ready: false,
})
createEffect(() => {
const theme = sync.data.config.theme
console.log("theme", theme)
if (theme) setStore("active", theme)
})
createEffect(() => {
getCustomThemes()
.then((custom) => {