/react_native_darkmode

darkMode using contextApi

Primary LanguageTypeScript

DarkMode with React Native

You can use the system theme or choose dark mode with this project.

ScreenShots

Home Light

Home Dark

Settings Light

Settings Dark

Using Expo

   - go to app.json file
   - change "userInterfaceStyle": "light" --> "userInterfaceStyle": "automatic",

Installation

Install my-project with npm

  git clone https://github.com/ebubekirkarakurt/react_native_darkmode.git
  cd react_native_darkmode

Install NPM packages

  npm install

Start metro server

  react-native run-android
  or
  react-native run-ios