MCPcopy
hub / github.com/tailwindlabs/tailwindcss / #unprefixKey

Method #unprefixKey

packages/tailwindcss/src/theme.ts:144–147  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

142 }
143
144 #unprefixKey(key: string) {
145 if (!this.prefix) return key
146 return `--${key.slice(3 + this.prefix.length)}`
147 }
148
149 clearNamespace(namespace: string, clearOptions: ThemeOptions) {
150 let ignored = ignoredThemeKeyMap.get(namespace) ?? []

Callers 2

getOptionsMethod · 0.95
markUsedVariableMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected