MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / isCssVariableColor

Function isCssVariableColor

src/utils/themeColors.ts:60–62  ·  view source on GitHub ↗
(value: string | null | undefined)

Source from the content-addressed store, hash-verified

58}
59
60export function isCssVariableColor(value: string | null | undefined): boolean {
61 return normalizeThemeColor(value).startsWith("var(");
62}
63
64export function isSupportedColorValue(value: string | null | undefined): boolean {
65 const normalized = normalizeThemeColor(value);

Callers 7

createScheduledTaskEventFunction · 0.90
createDueTaskEventFunction · 0.90
isCssVariableFunction · 0.90
isSupportedColorValueFunction · 0.85
colorWithAlphaFunction · 0.85

Calls 1

normalizeThemeColorFunction · 0.85

Tested by

no test coverage detected