ui
ui copied to clipboard
Theme Variables: Muted, Secondary, and Accent all have the same CSS value?
I thought this was odd and wanted to bring this up for discussion, but I was looking in to the registry at the default values for zinc/neutral etc and I realized that the css values for muted, secondary, and accent are the exact same
For example in Zinc: https://github.com/shadcn/ui/blob/aea12e97623699e7c7b2d75fc671ea21b0cf8887/apps/www/public/registry/colors/zinc.json
This is also reflected in the docs here: https://ui.shadcn.com/docs/theming
I thought this was weird as I would imagine having duplicate values for different variables is repetitive and we could either
- remove 2 of the 3 (less preferred)
- update these to have different css values (preferred).
...am I right to assume this is a bug? If so, how should these colors be generated?