bareValues() — tailwindcss Function Reference
Architecture documentation for the bareValues() function in default-theme.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD bb2a9a3a_2305_0e75_af7a_39d8b8492721["bareValues()"] 45e62b66_df0f_cebe_01ef_c7441191c81a["bareIntegers()"] 45e62b66_df0f_cebe_01ef_c7441191c81a -->|calls| bb2a9a3a_2305_0e75_af7a_39d8b8492721 02783c79_4478_595a_1c54_7b850e8ec942["barePercentages()"] 02783c79_4478_595a_1c54_7b850e8ec942 -->|calls| bb2a9a3a_2305_0e75_af7a_39d8b8492721 c4aec295_4583_cfbe_d6f4_901cfc70a81a["barePixels()"] c4aec295_4583_cfbe_d6f4_901cfc70a81a -->|calls| bb2a9a3a_2305_0e75_af7a_39d8b8492721 254d5fca_3c51_4b0f_ca43_04b0433a5c64["bareMilliseconds()"] 254d5fca_3c51_4b0f_ca43_04b0433a5c64 -->|calls| bb2a9a3a_2305_0e75_af7a_39d8b8492721 6840a74b_8df2_1983_e3ab_6b79cd7c4062["bareDegrees()"] 6840a74b_8df2_1983_e3ab_6b79cd7c4062 -->|calls| bb2a9a3a_2305_0e75_af7a_39d8b8492721 17347bdd_a21c_0b8d_421a_eb1316077672["bareAspectRatio()"] 17347bdd_a21c_0b8d_421a_eb1316077672 -->|calls| bb2a9a3a_2305_0e75_af7a_39d8b8492721 68425b42_c064_1c25_d623_f15f4b214077["bareRepeatValues()"] 68425b42_c064_1c25_d623_f15f4b214077 -->|calls| bb2a9a3a_2305_0e75_af7a_39d8b8492721 style bb2a9a3a_2305_0e75_af7a_39d8b8492721 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/compat/default-theme.ts lines 7–14
function bareValues(fn: (value: NamedUtilityValue) => string | undefined) {
return {
// Ideally this would be a Symbol but some of the ecosystem assumes object with
// string / number keys for example by using `Object.entries()` which means that
// the function that handles the bare value would be lost
__BARE_VALUE__: fn,
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does bareValues() do?
bareValues() is a function in the tailwindcss codebase.
What calls bareValues()?
bareValues() is called by 7 function(s): bareAspectRatio, bareDegrees, bareIntegers, bareMilliseconds, barePercentages, barePixels, bareRepeatValues.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free