ui icon indicating copy to clipboard operation
ui copied to clipboard

[bug]: https://ui.shadcn.com/r/colors/[sky | sky etc.].json route is not exist in https://ui.shadcn.com/r

Open sinapirani opened this issue 1 year ago • 3 comments

Describe the bug

npx shadcn@latest add form

✔ Checking registry. ✔ Installing dependencies. ⠧ Updating files.

Something went wrong. Please check the error below for more details. If the problem persists, please open an issue on GitHub.

The component at https://ui.shadcn.com/r/colors/sky.json was not found. It may not exist at the registry. Please make sure it is a valid component.

Affected component/components

all

How to reproduce

npx shadcn@latest add form

✔ Checking registry. ✔ Installing dependencies. ⠧ Updating files.

Something went wrong. Please check the error below for more details. If the problem persists, please open an issue on GitHub.

The component at https://ui.shadcn.com/r/colors/sky.json was not found. It may not exist at the registry. Please make sure it is a valid component.

Codesandbox/StackBlitz link

https://codesandbox.io/p/sandbox/vigorous-currying-8653mn | Just because it required

Logs

No response

System Info

Linux/Manjaro

Before submitting

  • [X] I've made research efforts and searched the documentation
  • [X] I've searched for existing issues

sinapirani avatar Sep 23 '24 16:09 sinapirani

It seems like only these colors are accepted as base colors:

"gray" | "neutral" | "slate" | "stone" | "zinc"

RakeshPotnuru avatar Sep 26 '24 14:09 RakeshPotnuru

Yes, I tried using zinc, and it works. However, there is no sky color option

sinapirani avatar Sep 27 '24 08:09 sinapirani

That's what I said. Only those 5 colors are available. But you can change CSS variables by copying from https://ui.shadcn.com/themes.

RakeshPotnuru avatar Sep 27 '24 09:09 RakeshPotnuru

Indeed, other theme files do not exist. Theme files are there https://github.com/shadcn-ui/ui/tree/main/apps/www/public/r/themes

Nicolab avatar Nov 04 '24 11:11 Nicolab

Closed without fix, no?

Nicolab avatar Nov 12 '24 13:11 Nicolab

So how to use the other colors pallets? is this false advertsiment? :P

arvera avatar Nov 20 '24 14:11 arvera

Still broken

Zeryther avatar Jan 17 '25 13:01 Zeryther

Tips: give a theme to Claude or Perplexity, you will have the color theme you want directly. It works very well for that 😉

Nicolab avatar Mar 23 '25 01:03 Nicolab

Tips: give a theme to Claude or Perplexity, you will have the color theme you want directly. It works very well for that 😉

I copied a theme from ui.shadcn.com/themes, together with 3 screenshots of my app, gave it to v0.dev and got a theme tailored to my app. Really helpful.

onyedikachi23 avatar May 25 '25 01:05 onyedikachi23