Evergreen Component ThemingMarch 26, 2019 at 8:01pm
I'm wondering how to change the theming on certain components from Evergreen. For example, I'm looking to change the the background colors on components like Switch or active Tabs etc.
I know theming support will be available in v5 but not sure when that is slated to be released.
May 3, 2019 at 4:47am
May 9, 2019 at 7:25pm
You can pass almost every css property as a prop. Evergreen heavily uses
ui-boxso almost anything you can do with Box you can do with an Evergreen component. I'd recommend checking the docs on propTypes to get a clear understanding of which components extend Box allowing you to pass these css-in-js props through.
For more advanced cases you can use the ThemeProvider and pass it a theme, similar to the (exported)
July 25, 2019 at 11:43am
August 1, 2019 at 12:09pm
October 18, 2019 at 7:09am