Skip to content

ahmetkuslular/react-native-with-style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native With Style

A styling package for easily adding themes to your React Native projects. 🌑 🔆

npm npm runs with expo

Inspiration

It's actually not that hard to style in RN projects. However, I do not like to make comparisons such as if it is dark in the component, take this color, and if it is light, take this color, and give a style in the component. That's why I always liked the styled-component logic. Passing the style a theme I created as a parameter always gives a cleaner result. and as a result such a package came out.

Features

  • clean code 🚀
  • using cached styles 🌚 🌝
  • theme management
  • system theme

Installation

yarn add react-native-with-style

Todo

  • typescript
  • direction style

Contributors