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
  c1e4d14f_eec6_482b_9f78_0242ee9d41b8["highlight()"]
  8d0812d4_61e4_e939_916d_a33e94faf43f["migrateJsConfig()"]
  8d0812d4_61e4_e939_916d_a33e94faf43f -->|calls| c1e4d14f_eec6_482b_9f78_0242ee9d41b8
  32e1ecdd_6093_f556_114f_ec3d5663975f["migratePostCSSConfig()"]
  32e1ecdd_6093_f556_114f_ec3d5663975f -->|calls| c1e4d14f_eec6_482b_9f78_0242ee9d41b8
  6a659766_1d3a_b133_2d7b_62f11f4e9450["analyze()"]
  6a659766_1d3a_b133_2d7b_62f11f4e9450 -->|calls| c1e4d14f_eec6_482b_9f78_0242ee9d41b8
  cbddaa36_42d2_e648_576c_630798f80b7c["linkConfigs()"]
  cbddaa36_42d2_e648_576c_630798f80b7c -->|calls| c1e4d14f_eec6_482b_9f78_0242ee9d41b8
  95e0743f_e97d_47fd_9190_ebfac9416c13["detectConfigPath()"]
  95e0743f_e97d_47fd_9190_ebfac9416c13 -->|calls| c1e4d14f_eec6_482b_9f78_0242ee9d41b8
  fa9abad4_74c6_c2f4_3ecf_50b0b73a6013["help()"]
  fa9abad4_74c6_c2f4_3ecf_50b0b73a6013 -->|calls| c1e4d14f_eec6_482b_9f78_0242ee9d41b8
  eb8ababf_fa35_08e1_76f8_c2b2cea868b8["run()"]
  eb8ababf_fa35_08e1_76f8_c2b2cea868b8 -->|calls| c1e4d14f_eec6_482b_9f78_0242ee9d41b8
  style c1e4d14f_eec6_482b_9f78_0242ee9d41b8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-upgrade/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

Frequently Asked Questions

What does highlight() do?
highlight() is a function in the tailwindcss codebase.
What calls highlight()?
highlight() is called by 7 function(s): analyze, detectConfigPath, help, linkConfigs, migrateJsConfig, migratePostCSSConfig, run.

Analyze Your Own Codebase

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

Try Supermodel Free