Home / Function/ dim() — tailwindcss Function Reference

dim() — tailwindcss Function Reference

Architecture documentation for the dim() function in optimize.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  51bee787_aa01_f1b4_3235_070e58b126b8["dim()"]
  e09ef3f3_5e41_ad68_014b_afd42dbefec1["optimize.ts"]
  51bee787_aa01_f1b4_3235_070e58b126b8 -->|defined in| e09ef3f3_5e41_ad68_014b_afd42dbefec1
  572b83a3_4e86_cb3e_cfb7_47fcd883c766["optimize()"]
  572b83a3_4e86_cb3e_cfb7_47fcd883c766 -->|calls| 51bee787_aa01_f1b4_3235_070e58b126b8
  style 51bee787_aa01_f1b4_3235_070e58b126b8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-node/src/optimize.ts lines 145–147

function dim(str: string) {
  return `\x1B[2m${str}\x1B[22m`
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does dim() do?
dim() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-node/src/optimize.ts.
Where is dim() defined?
dim() is defined in packages/@tailwindcss-node/src/optimize.ts at line 145.
What calls dim()?
dim() is called by 1 function(s): optimize.

Analyze Your Own Codebase

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

Try Supermodel Free