Core Features
Theming
Customize your app appearance with theming
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
## Use Theme in your components. Actually, you don’t need that. Because all components are working with the theme automatically.
But specific case:
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.