buildDisplayConfig() — ui Function Reference
Architecture documentation for the buildDisplayConfig() function in rehype.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 2a66a072_9a7a_a23a_b498_198409f7e296["buildDisplayConfig()"] e2427336_4794_0f1c_982a_f2089ffcec85["rehype.ts"] 2a66a072_9a7a_a23a_b498_198409f7e296 -->|defined in| e2427336_4794_0f1c_982a_f2089ffcec85 57fb1ae2_1d20_217c_ddee_7f949e8a5347["formatCode()"] 57fb1ae2_1d20_217c_ddee_7f949e8a5347 -->|calls| 2a66a072_9a7a_a23a_b498_198409f7e296 style 2a66a072_9a7a_a23a_b498_198409f7e296 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/lib/rehype.ts lines 52–84
function buildDisplayConfig(styleName: string) {
return {
$schema: "https://ui.shadcn.com/schema.json",
style: styleName,
rsc: true,
tsx: true,
tailwind: {
config: "",
css: "",
baseColor: "neutral",
cssVariables: true,
prefix: "",
},
iconLibrary: "lucide",
aliases: {
components: "@/components",
utils: "@/lib/utils",
ui: "@/components/ui",
lib: "@/lib",
hooks: "@/hooks",
},
resolvedPaths: {
cwd: "/",
tailwindConfig: "",
tailwindCss: "",
utils: "@/lib/utils",
components: "@/components",
lib: "@/lib",
hooks: "@/hooks",
ui: "@/components/ui",
},
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does buildDisplayConfig() do?
buildDisplayConfig() is a function in the ui codebase, defined in apps/v4/lib/rehype.ts.
Where is buildDisplayConfig() defined?
buildDisplayConfig() is defined in apps/v4/lib/rehype.ts at line 52.
What calls buildDisplayConfig()?
buildDisplayConfig() is called by 1 function(s): formatCode.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free