Home / File/ _legacy-themes.ts — ui Source File

_legacy-themes.ts — ui Source File

Architecture documentation for _legacy-themes.ts, a typescript file in the ui codebase. 1 imports, 1 dependents.

File typescript ComponentRegistry ChartRegistry 1 imports 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  0a68cb16_fbec_f0ff_62cc_7de51e5795a4["_legacy-themes.ts"]
  84488a99_a369_d798_8d8d_936b0575aea6["_legacy-base-colors"]
  0a68cb16_fbec_f0ff_62cc_7de51e5795a4 --> 84488a99_a369_d798_8d8d_936b0575aea6
  ba3b9605_5e73_3132_6a44_41f20f15f898["registry.ts"]
  ba3b9605_5e73_3132_6a44_41f20f15f898 --> 0a68cb16_fbec_f0ff_62cc_7de51e5795a4
  style 0a68cb16_fbec_f0ff_62cc_7de51e5795a4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { baseColorsV4 } from "@/registry/_legacy-base-colors"

export const themes = Object.keys(baseColorsV4).map((color) => {
  return {
    name: `theme-${color}`,
    type: "registry:theme",
    cssVars: baseColorsV4[color as keyof typeof baseColorsV4],
    dependencies: [],
  }
})

Subdomains

Functions

Dependencies

  • _legacy-base-colors

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free