bareValues() — tailwindcss Function Reference
Architecture documentation for the bareValues() function in default-theme.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 4dae63fd_2d16_55d7_6f48_8281bdc59894["bareValues()"] 4b9fb355_7055_4825_6db8_a5dd6f45c06e["default-theme.ts"] 4dae63fd_2d16_55d7_6f48_8281bdc59894 -->|defined in| 4b9fb355_7055_4825_6db8_a5dd6f45c06e ea2e9afd_6df0_30cd_1050_8fd383383451["bareIntegers()"] ea2e9afd_6df0_30cd_1050_8fd383383451 -->|calls| 4dae63fd_2d16_55d7_6f48_8281bdc59894 54f63d51_7029_5c8b_5ddf_c0f07d07a3a8["barePercentages()"] 54f63d51_7029_5c8b_5ddf_c0f07d07a3a8 -->|calls| 4dae63fd_2d16_55d7_6f48_8281bdc59894 cde8da87_1b33_8777_795b_039d5353e459["barePixels()"] cde8da87_1b33_8777_795b_039d5353e459 -->|calls| 4dae63fd_2d16_55d7_6f48_8281bdc59894 6b15cd17_cf1c_7dc9_3cb8_9ec8797f3814["bareMilliseconds()"] 6b15cd17_cf1c_7dc9_3cb8_9ec8797f3814 -->|calls| 4dae63fd_2d16_55d7_6f48_8281bdc59894 e2939b77_29a9_6cc2_06b1_bdc440d4f7e3["bareDegrees()"] e2939b77_29a9_6cc2_06b1_bdc440d4f7e3 -->|calls| 4dae63fd_2d16_55d7_6f48_8281bdc59894 bc208666_57e8_943c_99bd_06a482111eb4["bareAspectRatio()"] bc208666_57e8_943c_99bd_06a482111eb4 -->|calls| 4dae63fd_2d16_55d7_6f48_8281bdc59894 f13fc839_408f_479e_3cdf_9f8f1c424653["bareRepeatValues()"] f13fc839_408f_479e_3cdf_9f8f1c424653 -->|calls| 4dae63fd_2d16_55d7_6f48_8281bdc59894 style 4dae63fd_2d16_55d7_6f48_8281bdc59894 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, defined in packages/tailwindcss/src/compat/default-theme.ts.
Where is bareValues() defined?
bareValues() is defined in packages/tailwindcss/src/compat/default-theme.ts at line 7.
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