Home / Function/ dim() — tailwindcss Function Reference

dim() — tailwindcss Function Reference

Architecture documentation for the dim() function in mod.rs from the tailwindcss codebase.

Function rust Oxide Scanner called by 2

Entity Profile

Dependency Diagram

graph TD
  a05bd267_ec16_c571_501b_bcf2598cad1b["dim()"]
  b82a42d6_b7d3_c6d2_1e14_451f8382da81["mod.rs"]
  a05bd267_ec16_c571_501b_bcf2598cad1b -->|defined in| b82a42d6_b7d3_c6d2_1e14_451f8382da81
  f4bbe8ea_5311_f643_3fb9_1b7ffd6dabc9["highlight()"]
  f4bbe8ea_5311_f643_3fb9_1b7ffd6dabc9 -->|calls| a05bd267_ec16_c571_501b_bcf2598cad1b
  31b87bd8_91a3_da66_ab41_589f13d8021f["init_tracing()"]
  31b87bd8_91a3_da66_ab41_589f13d8021f -->|calls| a05bd267_ec16_c571_501b_bcf2598cad1b
  style a05bd267_ec16_c571_501b_bcf2598cad1b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/scanner/mod.rs lines 41–43

fn dim(input: &str) -> String {
    format!("\u{001b}[2m{input}\u{001b}[22m")
}

Domain

Subdomains

Frequently Asked Questions

What does dim() do?
dim() is a function in the tailwindcss codebase, defined in crates/oxide/src/scanner/mod.rs.
Where is dim() defined?
dim() is defined in crates/oxide/src/scanner/mod.rs at line 41.
What calls dim()?
dim() is called by 2 function(s): highlight, init_tracing.

Analyze Your Own Codebase

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

Try Supermodel Free