undocs
undocs copied to clipboard
allow passing theme colours that aren't tailwind defaults
Describe the feature
it would be nice to allow customising colours - maybe passing in a hex value and auto-generating a colour palette?
Additional information
- [x] Would you be willing to help implement this feature?
We use nuxt ui colors. Do you find a simple method to allow overriding it with custom hex?
Thinking of something like https://github.com/bobthered/tailwindcss-palette-generator or https://github.com/dantzjs/tw-shades.
Actually we have unjs/theme-colors and it was used in previous versions of undocs until we adopted nuxt UI color pallets 😅 Ideas welcome how we can add it back optionally.
Nice! I think maybe if the colour provided is a hex value? That seems a clear indication to create a palette.
Feel free to try adding it 👍🏼