Home / Function/ barePercentages() — tailwindcss Function Reference

barePercentages() — tailwindcss Function Reference

Architecture documentation for the barePercentages() function in default-theme.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  54f63d51_7029_5c8b_5ddf_c0f07d07a3a8["barePercentages()"]
  4b9fb355_7055_4825_6db8_a5dd6f45c06e["default-theme.ts"]
  54f63d51_7029_5c8b_5ddf_c0f07d07a3a8 -->|defined in| 4b9fb355_7055_4825_6db8_a5dd6f45c06e
  4dae63fd_2d16_55d7_6f48_8281bdc59894["bareValues()"]
  54f63d51_7029_5c8b_5ddf_c0f07d07a3a8 -->|calls| 4dae63fd_2d16_55d7_6f48_8281bdc59894
  2b202e81_c79a_bf7e_74f9_fe9a98bbea87["isPositiveInteger()"]
  54f63d51_7029_5c8b_5ddf_c0f07d07a3a8 -->|calls| 2b202e81_c79a_bf7e_74f9_fe9a98bbea87
  style 54f63d51_7029_5c8b_5ddf_c0f07d07a3a8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/compat/default-theme.ts lines 22–26

let barePercentages = bareValues((value: NamedUtilityValue) => {
  if (isPositiveInteger(value.value)) {
    return `${value.value}%`
  }
})

Domain

Subdomains

Frequently Asked Questions

What does barePercentages() do?
barePercentages() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/compat/default-theme.ts.
Where is barePercentages() defined?
barePercentages() is defined in packages/tailwindcss/src/compat/default-theme.ts at line 22.
What does barePercentages() call?
barePercentages() calls 2 function(s): bareValues, isPositiveInteger.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free