getOptions() — tailwindcss Function Reference
Architecture documentation for the getOptions() function in theme.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD c8189e3c_da83_8664_ad35_d7e6af6bc483["getOptions()"] eebd49be_6bf6_0e23_60fa_4e12a1151233["isVariableUsed()"] eebd49be_6bf6_0e23_60fa_4e12a1151233 -->|calls| c8189e3c_da83_8664_ad35_d7e6af6bc483 57934fd1_bd18_f9cc_3777_870ee6aa0bf0["readFromCss()"] 57934fd1_bd18_f9cc_3777_870ee6aa0bf0 -->|calls| c8189e3c_da83_8664_ad35_d7e6af6bc483 94767d15_78cb_4d04_3e5b_62f8d0778fb3["hasDefault()"] 94767d15_78cb_4d04_3e5b_62f8d0778fb3 -->|calls| c8189e3c_da83_8664_ad35_d7e6af6bc483 ca9197a7_55f9_0922_5cc4_25999295ca9b["clearNamespace()"] ca9197a7_55f9_0922_5cc4_25999295ca9b -->|calls| c8189e3c_da83_8664_ad35_d7e6af6bc483 34b0044c_2d6b_fc6e_9b23_05c422d2c036["unescape()"] c8189e3c_da83_8664_ad35_d7e6af6bc483 -->|calls| 34b0044c_2d6b_fc6e_9b23_05c422d2c036 3e179907_5f92_f314_14dc_f61853c74cad["get()"] c8189e3c_da83_8664_ad35_d7e6af6bc483 -->|calls| 3e179907_5f92_f314_14dc_f61853c74cad style c8189e3c_da83_8664_ad35_d7e6af6bc483 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/theme.ts lines 125–128
getOptions(key: string) {
key = unescape(this.#unprefixKey(key))
return this.values.get(key)?.options ?? ThemeOptions.NONE
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does getOptions() do?
getOptions() is a function in the tailwindcss codebase.
What does getOptions() call?
getOptions() calls 2 function(s): get, unescape.
What calls getOptions()?
getOptions() is called by 4 function(s): clearNamespace, hasDefault, isVariableUsed, readFromCss.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free