https://github.com/rhdeck/react-native-daynight
Set daynight for react-native android apps
https://github.com/rhdeck/react-native-daynight
Last synced: over 1 year ago
JSON representation
Set daynight for react-native android apps
- Host: GitHub
- URL: https://github.com/rhdeck/react-native-daynight
- Owner: rhdeck
- License: mit
- Created: 2020-04-03T14:36:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-11T00:25:45.000Z (about 3 years ago)
- Last Synced: 2025-01-22T00:35:31.638Z (over 1 year ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-native-daynight-android
Set daynight for react-native android apps
Changes the parent for your app's theme to `DayNight`, making the default background and the control bar go dark when the app is in "Night" mode.
## Installation
```bash
yarn add -D react-native-daynight-android
# or
npm i --save-dev react-native-daynight-android
```
## Usage
```bash
react-native set-daynight
```
That's it! Build and enjoy your app starting in darkmode.