shadcn 4.1.2 → 4.2.0-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/index.d.ts +292 -292
- package/dist/index.js +81 -78
- package/dist/registry/index.d.ts +4 -4
- package/dist/schema/index.d.ts +762 -762
- package/package.json +21 -20
- package/LICENSE.md +0 -21
package/README.md
CHANGED
|
@@ -20,6 +20,16 @@ The `init` command installs dependencies, adds the `cn` util, configures Tailwin
|
|
|
20
20
|
npx shadcn init
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
+
## apply
|
|
24
|
+
|
|
25
|
+
Use the `apply` command to apply a preset to an existing project.
|
|
26
|
+
|
|
27
|
+
The `apply` command overwrites the current preset configuration, reinstalls detected UI components, and updates fonts and CSS variables to match the new preset.
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npx shadcn apply --preset a2r6bw
|
|
31
|
+
```
|
|
32
|
+
|
|
23
33
|
## add
|
|
24
34
|
|
|
25
35
|
Use the `add` command to add components to your project.
|