MCPcopy Create free account
hub / github.com/anomalyco/opencode / mapV2Semantics

Function mapV2Semantics

packages/ui/src/theme/v2/mapping.ts:134–136  ·  view source on GitHub ↗
(isDark: boolean)

Source from the content-addressed store, hash-verified

132}
133
134export function mapV2Semantics(isDark: boolean): Record<string, V2ColorValue> {
135 return isDark ? dark : light
136}
137
138export function mergeV2Tokens(...layers: Record<string, V2ColorValue>[]): Record<string, V2ColorValue> {
139 return Object.assign({}, ...layers)

Callers 2

mapV2ForegroundFunction · 0.90
resolveThemeVariantV2Function · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected