From 56c8aaf21a5e2b1930333891dec3a41191f2fadd Mon Sep 17 00:00:00 2001 From: prashant235913 Date: Tue, 29 Oct 2024 02:25:14 +0530 Subject: [PATCH] docs: Component.json style definiton was not so detailed just copied one from the changelog and put it there. --- apps/www/content/docs/components-json.mdx | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/apps/www/content/docs/components-json.mdx b/apps/www/content/docs/components-json.mdx index a998e496542..972ad89fa51 100644 --- a/apps/www/content/docs/components-json.mdx +++ b/apps/www/content/docs/components-json.mdx @@ -33,7 +33,28 @@ You can see the JSON Schema for `components.json` [here](https://ui.shadcn.com/s ## style -The style for your components. **This cannot be changed after initialization.** +We are introducing a new concept called _Style_. + +_You can think of style as the visual foundation: shapes, icons, animations & typography._ A style comes with its own set of components, animations, icons and more. + +We are shipping two styles: `default` and `new-york` (with more coming soon). + +Default vs New York style + +The `default` style is the one you are used to. It's the one we've been using since the beginning of this project. It uses `lucide-react` for icons and `tailwindcss-animate` for animations. + +The `new-york` style is a new style. It ships with smaller buttons, cards with shadows and a new set of icons from [Radix Icons](https://icons.radix-ui.com). + +When you run the `init` command, you will be asked which style you would like to use. This is saved in your `components.json` file. + + +**Important:** The selected style cannot be changed after initialization. ```json title="components.json" {