MCPcopy
hub / github.com/tailwindlabs/tailwindcss / getOptions

Method getOptions

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

Source from the content-addressed store, hash-verified

123 }
124
125 getOptions(key: string) {
126 key = unescape(this.#unprefixKey(key))
127 return this.values.get(key)?.options ?? ThemeOptions.NONE
128 }
129
130 entries() {
131 if (!this.prefix) return this.values.entries()

Callers 5

hasDefaultMethod · 0.95
clearNamespaceMethod · 0.95
isVariableUsedFunction · 0.80
readFromCssFunction · 0.80
tailwindLoaderFunction · 0.80

Calls 3

#unprefixKeyMethod · 0.95
unescapeFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected