- TS Overrides
- Tailwind safelist
- Colors, Spacing, Typography
- Dynamic utility styles
- color constraints
- ComponentryProvider
- useTheme()
- note about TW and width/height
- Guide for focused and disabled states
- Guide for ActionRoot setup
- Button page
- IconButton page
- Add
truncate
to Text - Add
wrapWhenDisabled
to Link - Add a11y notes to Icon
It's preferrable to create an entire theme -- expose the createTheme
fn for
this.
- Define your custom theme
- Pass it to
createTheme
if you want to use Componentry defaults - Use it for componentry.config and tailwind.config
- Pass it to ThemeProvider
How do I add to the theme?
Updating TS for your custom theme