bareValues() — tailwindcss Function Reference
Architecture documentation for the bareValues() function in default-theme.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD ad3a42df_eca9_aedd_0e57_11ba3a18e16c["bareValues()"] a241a318_f7dc_56c3_4480_d0ed4eba0896["bareIntegers()"] a241a318_f7dc_56c3_4480_d0ed4eba0896 -->|calls| ad3a42df_eca9_aedd_0e57_11ba3a18e16c b6d0c03e_d4d3_d8e2_c18a_81dbd20e2d9c["barePercentages()"] b6d0c03e_d4d3_d8e2_c18a_81dbd20e2d9c -->|calls| ad3a42df_eca9_aedd_0e57_11ba3a18e16c be8a0ed1_b99f_69da_ee35_10576df2e1ad["barePixels()"] be8a0ed1_b99f_69da_ee35_10576df2e1ad -->|calls| ad3a42df_eca9_aedd_0e57_11ba3a18e16c ad32c7cd_bbeb_adfc_3fa6_af174ce3f3ee["bareMilliseconds()"] ad32c7cd_bbeb_adfc_3fa6_af174ce3f3ee -->|calls| ad3a42df_eca9_aedd_0e57_11ba3a18e16c 7ba0f5a4_beae_af11_c6ef_b44c76be253c["bareDegrees()"] 7ba0f5a4_beae_af11_c6ef_b44c76be253c -->|calls| ad3a42df_eca9_aedd_0e57_11ba3a18e16c a5c3eb39_bfdf_f90c_e8ae_71716e43fca3["bareAspectRatio()"] a5c3eb39_bfdf_f90c_e8ae_71716e43fca3 -->|calls| ad3a42df_eca9_aedd_0e57_11ba3a18e16c 40b1ac33_d9e5_c89d_1563_4d94409ee4d5["bareRepeatValues()"] 40b1ac33_d9e5_c89d_1563_4d94409ee4d5 -->|calls| ad3a42df_eca9_aedd_0e57_11ba3a18e16c style ad3a42df_eca9_aedd_0e57_11ba3a18e16c 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