
Features
- Light / Dark / System mode
- Custom color schemes
- Dynamic theme switching
- Theme persistence
- Component theming
- Custom fonts
Define your colors in the
Colors
object.1
Go to the
constants/Colors.ts
file and define your colors.2
constants/Colors.ts
1
Go to your component file and use
const { mode } = useTheme();
hook.2
You can use
Colors
object to get colors.Finally, your app is ready to use the theming feature. Colors will change according to the theme.