Source for "Custom Palette" #59
lumosminima
started this conversation in
Ideas
Replies: 3 comments
-
|
I would also like to see this. Open sourcing this tool could also help improve palette generator tools such as ColorBox, tints.dev, and huetone.ardov.me. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@lumosminima turns out the source is open, although you'd have to build your own tool based on it to do what you mentioned. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I wish they would ship simple functions like so: import { generateLightAccent } from '@radix-ui/colors'
const lightAccentBlue = generateLightAccent('#3D63DD')
lightAccentBlue.light4
lightAccentBlue.lightA8
const darkAccentBlue = generateDarkAccent('#3D63DD')
// ...I can work on that and add those utils to this package but it doesn't seam to be active. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I saw that there is a new https://www.radix-ui.com/colors/custom page where we can generate a palette based on official radix colors but couldn't find the source for this generator. I would like to programmatically generate this inside my design system and don't want to go the website to generate than copy paste the css (which I'm also generating programmatically). So, a
@radix-ui/colors/customPalettepackage would be really nice and will make this more useful.Beta Was this translation helpful? Give feedback.
All reactions