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

Function ref

packages/ui/src/theme/v2/mapping.ts:4–4  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

2import { V2_AVATAR_DARK, V2_AVATAR_LIGHT } from "./avatar"
3
4const ref = (name: string): V2ColorValue => `var(--${name})`
5
6const light: Record<string, V2ColorValue> = {
7 "v2-background-bg-base": ref("v2-grey-100"),

Callers 1

mapping.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected