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
  da9e7bd5_d26f_6638_7436_becb3c2fb8a4["highlight()"]
  3f911817_89d8_107b_0be9_66a0af7ed932["help()"]
  3f911817_89d8_107b_0be9_66a0af7ed932 -->|calls| da9e7bd5_d26f_6638_7436_becb3c2fb8a4
  style da9e7bd5_d26f_6638_7436_becb3c2fb8a4 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('`'))}`
}

Domain

Subdomains

Called By

Frequently Asked Questions

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