ExpoShip home page
Search...
⌘K
Start building now
Start building now
Search...
Navigation
Core Features
Tailwind CSS
TypeScript
JavaScript
Demo Apps
Documentation
ExpoShip
Get Started
Get Started
Project Structure
Core Features
Development Environment
Supabase
One Signal
RevenueCat
Tailwind CSS
Components
Button
Text Input
Switch
Card
Toast
Activity Indicator
Deploy
Deployment
On this page
Dark mode support
Core Features
Tailwind CSS
Build beautiful mobile apps using Tailwind CSS
For styling ExpoShip uses Nativewind library which is wrapper for Tailwind CSS so it works in the same way.
Dark mode support
To support dark mode you need to use following syntax in your code:
example.tsx
Copy
className
=
"text-white dark:text-black"
This will set text color to white in light mode and black in dark mode.
You can use any styling and to add dark mode support just add
dark:
prefix. That’s it!
RevenueCat
Button
Assistant
Responses are generated using AI and may contain mistakes.