Replies: 2 comments 1 reply
-
|
The more I looked into it, this does not really seem possible. I like that shadcn has added shadcn/create but this seems to be going the opposite direction of using it to build your own registry. Now it even comes with node modules installed, so not really what it used to be. I hope moving forward shadcn gets back to making features for devs that are making there own registries. |
Beta Was this translation helpful? Give feedback.
-
|
You can create presets without Here's the approach:
For multiple presets (marketing vs. dense app UI), you'd create separate style CSS files in your registry, each mapping the It's more manual setup than |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Presets could be really useful for a company that wants to make a multi-architype design system. So say you have Marketing sites with more whitespace, fancy fonts, and high-ratio typescale. On the otherhand, you have web apps that are more ui dense and smaller ratio typescale.
With presets you could have both options while still sharing the same components and themes. I wonder if anyone else has thought of this. It would be cool to have one custom registry power multiple presets that are easily installed with the shad command line. Does anyone know if it is possible to tap into presets power without using shadcn/create?
Beta Was this translation helpful? Give feedback.
All reactions