Home / Function/ getRegistryBaseColors() — ui Function Reference

getRegistryBaseColors() — ui Function Reference

Architecture documentation for the getRegistryBaseColors() function in api.ts from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  631e1f4c_0d5e_a028_0dd4_950993bd9bac["getRegistryBaseColors()"]
  c41eed12_c415_48c8_bcf4_9d09d3424a18["api.ts"]
  631e1f4c_0d5e_a028_0dd4_950993bd9bac -->|defined in| c41eed12_c415_48c8_bcf4_9d09d3424a18
  style 631e1f4c_0d5e_a028_0dd4_950993bd9bac fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/shadcn/src/registry/api.ts lines 195–197

export async function getRegistryBaseColors() {
  return BASE_COLORS
}

Subdomains

Frequently Asked Questions

What does getRegistryBaseColors() do?
getRegistryBaseColors() is a function in the ui codebase, defined in packages/shadcn/src/registry/api.ts.
Where is getRegistryBaseColors() defined?
getRegistryBaseColors() is defined in packages/shadcn/src/registry/api.ts at line 195.

Analyze Your Own Codebase

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

Try Supermodel Free