Skip to content

A React Native App that change your theme according to the device. By Mateus Silva

Notifications You must be signed in to change notification settings

MrWillian/DeviceTheme

Repository files navigation

Project

The DeviceTheme project shows how to change the theme of the application according to the configuration of the phone.

light-theme

dark-theme

Technologies

This project was developed with the following Technologies:

  • React-Native
  • Styled-Components
  • Genymotion

How To Use

Just clone and run this project. You will need Git and Yarn. And also a device emulator, we use Genymotion in this project.

# Clone this repository
$ git clone https://github.com/MrWillian/DeviceTheme

# Install dependencies
$ yarn install

# Start Metro Server
$ yarn start

And now, just run it in your Emulator.

How to Contribute

  • Make a fork;
  • Create a branck with your feature: git checkout -b my-feature;
  • Commit changes: git commit -m 'feat: My new feature';
  • Make a push to your branch: git push origin my-feature.

After merging your receipt request to done, you can delete a branch from yours. You can read ISSUE TEMPLATE to see Issues template.