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
  c7537595_3a30_2c21_335f_215a30e825af["dim()"]
  ca298ed8_b5fc_603c_b217_9d1765544d10["optimize()"]
  ca298ed8_b5fc_603c_b217_9d1765544d10 -->|calls| c7537595_3a30_2c21_335f_215a30e825af
  style c7537595_3a30_2c21_335f_215a30e825af 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.
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