system-ui / theme-ui

Build consistent, themeable React apps based on constraint-based design principles

Home Page:https://theme-ui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I wish to change the color of checkbox after checked.

charleshoong97 opened this issue · comments

I do not found any documentation stated how to change the color of checkbox once checked.

Please provide the description to achieve this.

The Checkbox component will use your theme's primary color when checked: https://github.com/system-ui/theme-ui/blob/develop/packages/components/src/Checkbox.tsx#L92

Here's our docs on adding colors to your theme: https://theme-ui.com/theming#colors

Happy to help with any specific issues you're running into with your theme!