Home / Function/ highlight() — tailwindcss Function Reference

highlight() — tailwindcss Function Reference

Architecture documentation for the highlight() function in renderer.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  2510a705_0f7b_6670_5f65_0e5ef7bde36c["highlight()"]
  8715b8e3_2ef0_3a5f_beb9_7129d3febc3e["renderer.ts"]
  2510a705_0f7b_6670_5f65_0e5ef7bde36c -->|defined in| 8715b8e3_2ef0_3a5f_beb9_7129d3febc3e
  536d70f5_8cf8_3fe4_a1c5_0a1bd03cddb7["help()"]
  536d70f5_8cf8_3fe4_a1c5_0a1bd03cddb7 -->|calls| 2510a705_0f7b_6670_5f65_0e5ef7bde36c
  style 2510a705_0f7b_6670_5f65_0e5ef7bde36c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-cli/src/utils/renderer.ts lines 15–17

export function highlight(file: string) {
  return `${pc.dim(pc.blue('`'))}${pc.blue(file)}${pc.dim(pc.blue('`'))}`
}

Subdomains

Called By

Frequently Asked Questions

What does highlight() do?
highlight() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-cli/src/utils/renderer.ts.
Where is highlight() defined?
highlight() is defined in packages/@tailwindcss-cli/src/utils/renderer.ts at line 15.
What calls highlight()?
highlight() is called by 1 function(s): help.

Analyze Your Own Codebase

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

Try Supermodel Free