Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TraderAlice/OpenAlice
/ readInitialTheme
Function
readInitialTheme
ui/src/theme/store.ts:51–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
49
50
/** Persisted theme at boot (zustand persist rehydrates localStorage sync). */
51
export
function
readInitialTheme(): AppTheme {
52
return
useThemeStore.getState().theme
53
}
Callers
1
index.ts
File · 0.90
Calls
1
getState
Method · 0.45
Tested by
no test coverage detected