Home / Function/ bareRepeatValues() — tailwindcss Function Reference

bareRepeatValues() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6befe538_a135_4b30_7357_7f464e5a8bf5["bareRepeatValues()"]
  1b5321a5_0fcc_2351_1f22_0d4bed4c097e["default-theme.ts"]
  6befe538_a135_4b30_7357_7f464e5a8bf5 -->|defined in| 1b5321a5_0fcc_2351_1f22_0d4bed4c097e
  6cbf3df8_6af3_fb9a_8aa8_d2a1b6bd6fd4["bareValues()"]
  6befe538_a135_4b30_7357_7f464e5a8bf5 -->|calls| 6cbf3df8_6af3_fb9a_8aa8_d2a1b6bd6fd4
  4e39f1e7_ebcb_7f62_4a59_b645e71d50fd["isPositiveInteger()"]
  6befe538_a135_4b30_7357_7f464e5a8bf5 -->|calls| 4e39f1e7_ebcb_7f62_4a59_b645e71d50fd
  style 6befe538_a135_4b30_7357_7f464e5a8bf5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/compat/default-theme.ts lines 53–57

let bareRepeatValues = bareValues((value) => {
  if (isPositiveInteger(Number(value.value))) {
    return `repeat(${value.value}, minmax(0, 1fr))`
  }
})

Domain

Subdomains

Frequently Asked Questions

What does bareRepeatValues() do?
bareRepeatValues() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/compat/default-theme.ts.
Where is bareRepeatValues() defined?
bareRepeatValues() is defined in packages/tailwindcss/src/compat/default-theme.ts at line 53.
What does bareRepeatValues() call?
bareRepeatValues() 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