файл пакета→ .shtukbase/packages/shadcn/registry/SOURCE.md
registry/SOURCE.md
14 строк, 1.1 КБ.
Этот текст ещё не переведён. Ниже английский оригинал.
- # Source of the vendored code
- - `ui/*.tsx` — components of shadcn/ui, style `new-york-v4`, read from the public registry
- https://ui.shadcn.com/r/styles/new-york-v4/<name>.json on 2026-11-28 by `tools/vendor.ts`.
- Changed only in imports: `@/registry/new-york-v4/ui/x` → `@/components/ui/x`, `from "cn"` → `from "@/lib/utils"`;
- `place` maps these to the project's aliases from `components.json`.
- - `lib/utils.ts` — the registry item `utils` (re-exports `cn` from the `cn` package).
- - `styles/theme.css` — the registry theme `theme-neutral` (CSS variables for light and dark) and the base layer of the
- style, written as one Tailwind 4 stylesheet. One change: light `--muted-foreground` is `oklch(0.54 0 0)` instead of
- `oklch(0.556 0 0)`, so that it reaches 4.5:1 on `--muted` (WCAG AA). The accordion keyframes come from the
- `shadcn/tailwind.css` stylesheet of the `shadcn` npm package.
- - `components.json` — the default configuration the shadcn CLI writes, with `tailwind.css` set to `src/styles/globals.css`.
- License: MIT, Copyright (c) 2023 shadcn — the full text is in `LICENSE.md` next to this file.