You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the custom colors generator page, it would be super helpful to be able to copy all the colors as JS (and/or JSON), in a similar format as the colors inside @radix-ui/colors source code.
Examples in other libraries or sites
These examples are for generating Tailwind palettes, but offer different ways of exporting the colors:
It's very handy for devs using CSS-in-JS who need to generate color tokens, e.g. with Panda CSS, Tailwind, Park UI, Ark UI, etc.
Additional context
I spent a quite some time converting the generated CSS to JS (reduced thanks to https://transform.tools/css-to-js), because I have an extensive color palette.
The text was updated successfully, but these errors were encountered:
Feature request
Overview
In the custom colors generator page, it would be super helpful to be able to copy all the colors as JS (and/or JSON), in a similar format as the colors inside
@radix-ui/colors
source code.Examples in other libraries or sites
These examples are for generating Tailwind palettes, but offer different ways of exporting the colors:
Who does this impact? Who is this for?
It's very handy for devs using CSS-in-JS who need to generate color tokens, e.g. with Panda CSS, Tailwind, Park UI, Ark UI, etc.
Additional context
I spent a quite some time converting the generated CSS to JS (reduced thanks to https://transform.tools/css-to-js), because I have an extensive color palette.
The text was updated successfully, but these errors were encountered: