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
  826284e1_7f83_0cbb_2b0b_bce46a4cd7a6["dim()"]
  476b4032_f4b1_ac67_0f5a_372cd6083a1f["optimize()"]
  476b4032_f4b1_ac67_0f5a_372cd6083a1f -->|calls| 826284e1_7f83_0cbb_2b0b_bce46a4cd7a6
  style 826284e1_7f83_0cbb_2b0b_bce46a4cd7a6 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`
}

Subdomains

Called By

Frequently Asked Questions

What does dim() do?
dim() is a function in the tailwindcss codebase.
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