Home / Function/ BASE_COLORS() — ui Function Reference

BASE_COLORS() — ui Function Reference

Architecture documentation for the BASE_COLORS() function in base-colors.ts from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  284184d2_e98c_807f_542b_98b9a81af119["BASE_COLORS()"]
  e9bc27ab_cc07_a858_a91d_66d4e8ccc5c4["base-colors.ts"]
  284184d2_e98c_807f_542b_98b9a81af119 -->|defined in| e9bc27ab_cc07_a858_a91d_66d4e8ccc5c4
  style 284184d2_e98c_807f_542b_98b9a81af119 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/base-colors.ts lines 3–4

export const BASE_COLORS = THEMES.filter((theme) =>
  ["neutral", "stone", "zinc", "gray"].includes(theme.name)

Subdomains

Frequently Asked Questions

What does BASE_COLORS() do?
BASE_COLORS() is a function in the ui codebase, defined in apps/v4/registry/base-colors.ts.
Where is BASE_COLORS() defined?
BASE_COLORS() is defined in apps/v4/registry/base-colors.ts at line 3.

Analyze Your Own Codebase

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

Try Supermodel Free