MCPcopy 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). */
51export function readInitialTheme(): AppTheme {
52 return useThemeStore.getState().theme
53}

Callers 1

index.tsFile · 0.90

Calls 1

getStateMethod · 0.45

Tested by

no test coverage detected