snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
10
apps/v4/registry/_legacy-themes.ts
Normal file
10
apps/v4/registry/_legacy-themes.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
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: [],
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user