MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / getColorTokens

Function getColorTokens

packages/core/src/theme/extract.ts:4–6  ·  view source on GitHub ↗
(theme: Theme)

Source from the content-addressed store, hash-verified

2import type { ColorTokens } from "./tokens.js";
3
4export function getColorTokens(theme: Theme): ColorTokens {
5 return theme.definition.colors;
6}

Callers 15

resolveChipColorFunction · 0.85
renderCollectionWidgetFunction · 0.85
resolveTagColorFunction · 0.85
renderTextWidgetsFunction · 0.85
renderFormWidgetsFunction · 0.85
renderOverlayWidgetFunction · 0.85
renderEditorWidgetFunction · 0.85
renderIndicatorWidgetsFunction · 0.85
renderContainerWidgetFunction · 0.85
renderBasicWidgetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected