Home / File/ base-colors.ts — ui Source File

base-colors.ts — ui Source File

Architecture documentation for base-colors.ts, a typescript file in the ui codebase. 1 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  e9bc27ab_cc07_a858_a91d_66d4e8ccc5c4["base-colors.ts"]
  f240661c_46c2_d55d_761a_ed956dd663f7["themes"]
  e9bc27ab_cc07_a858_a91d_66d4e8ccc5c4 --> f240661c_46c2_d55d_761a_ed956dd663f7
  style e9bc27ab_cc07_a858_a91d_66d4e8ccc5c4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { THEMES } from "@/registry/themes"

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

export type BaseColor = (typeof BASE_COLORS)[number]

Subdomains

Functions

Types

Dependencies

  • themes

Frequently Asked Questions

What does base-colors.ts do?
base-colors.ts is a source file in the ui codebase, written in typescript. It belongs to the ComponentRegistry domain, UIPrimitives subdomain.
What functions are defined in base-colors.ts?
base-colors.ts defines 1 function(s): BASE_COLORS.
What does base-colors.ts depend on?
base-colors.ts imports 1 module(s): themes.
Where is base-colors.ts in the architecture?
base-colors.ts is located at apps/v4/registry/base-colors.ts (domain: ComponentRegistry, subdomain: UIPrimitives, directory: apps/v4/registry).

Analyze Your Own Codebase

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

Try Supermodel Free