MCPcopy Create free account
hub / github.com/ecomfe/tempad-dev / nestedSelectorToVariant

Function nestedSelectorToVariant

packages/extension/utils/tailwind.ts:1199–1202  ·  view source on GitHub ↗
(selector: string)

Source from the content-addressed store, hash-verified

1197}
1198
1199function nestedSelectorToVariant(selector: string): string | null {
1200 const normalized = selector.trim().replace(ALL_WHITESPACE_RE, '')
1201 return NESTED_SELECTOR_VARIANTS[normalized] ?? null
1202}
1203
1204export function nestedCssToClassNames(style: NestedStyleMap): string[] {
1205 const base: Record<string, string> = {}

Callers 1

nestedCssToClassNamesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected