Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow passing theme colours that aren't tailwind defaults #109

Open
1 task done
danielroe opened this issue Mar 22, 2024 · 5 comments
Open
1 task done

allow passing theme colours that aren't tailwind defaults #109

danielroe opened this issue Mar 22, 2024 · 5 comments

Comments

@danielroe
Copy link
Member

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

  • Would you be willing to help implement this feature?
@pi0
Copy link
Member

pi0 commented Mar 22, 2024

We use nuxt ui colors. Do you find a simple method to allow overriding it with custom hex?

Copy link
Member Author

@pi0
Copy link
Member

pi0 commented Mar 25, 2024

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.

Copy link
Member Author

Nice! I think maybe if the colour provided is a hex value? That seems a clear indication to create a palette.

@pi0
Copy link
Member

pi0 commented Mar 25, 2024

Feel free to try adding it 👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants