Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ themeToCss
Function
themeToCss
packages/ui/src/theme/resolve.ts:536–540 ·
view source on GitHub ↗
(tokens: ResolvedTheme)
Source
from the content-addressed store, hash-verified
534
}
535
536
export
function
themeToCss(tokens: ResolvedTheme): string {
537
return
Object.entries(tokens)
538
.map(([key, value]) => `--${key}: ${value};`)
539
.join(
"\n "
)
540
}
Callers
3
buildThemeCss
Function · 0.90
applyThemeCss
Function · 0.90
cacheThemeVariants
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected