Skip to content

feat(web): validate if primary color and shade are available in mantine#737

Closed
RrybaN wants to merge 1 commit intooverextended:masterfrom
RrybaN:feat-web
Closed

feat(web): validate if primary color and shade are available in mantine#737
RrybaN wants to merge 1 commit intooverextended:masterfrom
RrybaN:feat-web

Conversation

@RrybaN
Copy link
Copy Markdown
Contributor

@RrybaN RrybaN commented Mar 19, 2025

If you misspell or enter an invalid mantine theme color, the UI will not render. Added validation to prevent this.

@LukeWasTakenn
Copy link
Copy Markdown
Member

Are custom colors also loaded into the default theme?

@RrybaN
Copy link
Copy Markdown
Contributor Author

RrybaN commented Mar 28, 2025

AFAIK, custom colors are not automatically added to DEFAULT_THEME. I think you need to define them in a custom theme and provide it to MantineProvider for them to be recognized. Correct me if I'm wrong.

@thelindat thelindat closed this Apr 28, 2026
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

Successfully merging this pull request may close these issues.

3 participants