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
  f0667321_097b_1dca_a21c_a0c318a6236a["highlight()"]
  dc1d7e71_14d1_dd51_5d14_8265f9e59cce["migrateJsConfig()"]
  dc1d7e71_14d1_dd51_5d14_8265f9e59cce -->|calls| f0667321_097b_1dca_a21c_a0c318a6236a
  5987acc9_de8e_d765_ba48_301e64c09fab["migratePostCSSConfig()"]
  5987acc9_de8e_d765_ba48_301e64c09fab -->|calls| f0667321_097b_1dca_a21c_a0c318a6236a
  4d72f15c_1184_4396_0a3a_6a120fe36ae0["analyze()"]
  4d72f15c_1184_4396_0a3a_6a120fe36ae0 -->|calls| f0667321_097b_1dca_a21c_a0c318a6236a
  9dd8f849_c8e1_2210_efce_8cd2e70a472c["linkConfigs()"]
  9dd8f849_c8e1_2210_efce_8cd2e70a472c -->|calls| f0667321_097b_1dca_a21c_a0c318a6236a
  505fd744_81c1_a3d8_bae0_2cbba00f74d3["detectConfigPath()"]
  505fd744_81c1_a3d8_bae0_2cbba00f74d3 -->|calls| f0667321_097b_1dca_a21c_a0c318a6236a
  26cfbee1_a65b_7cdd_43e1_4e9e0801f1ec["help()"]
  26cfbee1_a65b_7cdd_43e1_4e9e0801f1ec -->|calls| f0667321_097b_1dca_a21c_a0c318a6236a
  c1db9de2_3654_d42b_b9f2_1c5a0ccbd307["run()"]
  c1db9de2_3654_d42b_b9f2_1c5a0ccbd307 -->|calls| f0667321_097b_1dca_a21c_a0c318a6236a
  style f0667321_097b_1dca_a21c_a0c318a6236a 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('`'))}`
}

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