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

Use colors ? #460

Open
vincehi opened this issue Oct 29, 2024 · 3 comments
Open

Use colors ? #460

vincehi opened this issue Oct 29, 2024 · 3 comments

Comments

@vincehi
Copy link

vincehi commented Oct 29, 2024

Hello, great bookshop, great job. Thanks a lot. On the other hand, when I read the documentation I didn't understand at all how to use the colours. There's a page giving me the colour palette but not how to use them...

@Seigiard
Copy link

@vincehi

It's basically Radix color palettes
https://www.radix-ui.com/colors

You can read how to use it on their site.
For example, how understand scale of 12 colors: https://www.radix-ui.com/colors/docs/palette-composition/understanding-the-scale

@vincehi
Copy link
Author

vincehi commented Oct 30, 2024

in fact, it's more a question of how to use them and how they fit in with the variables

@pdzxc
Copy link

pdzxc commented Nov 14, 2024

@vincehi

You can try using this pattern: colors.{color}.{step}

eg.

...
primary: {
  bg: '{colors.red.10}',
},
...

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

3 participants