Skip to content

Why color must have 10 variant? #1145

Answered by rtivital
I-am-tk asked this question in Q&A
Mar 31, 2022 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Mantine's color system only allows 10 variants of color

You can add any amount of colors, Mantine components will use first 10. If you use TypeScript add as any.

Almost every property in the theme object has a fixed type

Same as with colors, add any values – manage types on your side.

Is there a way to add utility classes in the Mantine provider

https://mantine.dev/theming/global-styles/

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@I-am-tk
Comment options

@rtivital
Comment options

@I-am-tk
Comment options

@rtivital
Comment options

@I-am-tk
Comment options

Answer selected by I-am-tk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants