colors
colors copied to clipboard
Is there a way to generate the colors programatically?
In other words, instead of manually going to the custom colors tool and copying colors from there, generate them dynamically sort of like this:
import { generateLightAccent } from '@radix-ui/colors'
const lightAccentBlue = generateLightAccent('#3D63DD')
lightAccentBlue.light4
lightAccentBlue.lightA8
This would be such an awesome feature and would enable dynamic theme generation. I would really love to work on this, but I can't find the source code for the custom colors tool.