Native Solid 2 fork. Original documentation and designs © WorkOS; historical posts retain their original context.
Usage
How to use Radix Colors with various styling solutions.
Radix Colors scales are just simple JavaScript objects, so you can use them with your preferred styling solution easily. Below you can find usage examples for popular styling solutions.
Vanilla CSS
Radix Colors provides the colors bundled as raw CSS files. You can import them directly in your files when using a bundler, such as Parcel or Webpack.
Native Solid JSX
The JavaScript scales are framework-independent. Use them directly in Solid style objects; React-only styled-components and Emotion providers are not native Solid integrations.