Giter Club home page Giter Club logo

skyle's Introduction

An experimental universal, customizable styling and animation
library for React Native.


Why?FeaturesWebsiteDocumentationGet StartedExamples/DemosContributing!


npm license types runs with expo


  • 💡 Beautiful & Easy Syntax
  • ⚡ Performant
  • 🎨 Highly Customizable
  • 🔼 Expo Compatible
  • 🧩 Works on all Platforms! (iOS, Android, Web, Windows, Mac, etc.)
  • 🌟 Supports Media Queries, Theming, Transitions and more!
  • ☑️ Written in TypeScript

Why?

Skyle aims to provide styling utilities and to fill in the missing features that are available in CSS but not in React-Native. When switching between the two, the missing APIs become prominent. This is the main reason why this project was developed: Making styling a heck of a lot easier.

Features

and more!


Get Started

Installation

npm install skyle
# or
yarn add skyle

View more on the Get Started documentation page.


Documentation

View the official Documentation on our site.


Changelog

Please see CHANGELOG.md


Contributing

Please read CONTRIBUTING.md


❤️ Inspiration

License

MIT

skyle's People

Contributors

zivsteve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

skyle's Issues

Implementation: safe-area / env()

Syntax:
env()

Allow using safe-area offsets with the env functional notation.

Using:
react-native-safe-area-context

Configuration Draft:

// override safe area offsets
Skyle.configure({
  env: {
    'safe-area-inset-top': 25,
    'safe-area-inset-right': '35px',
    'safe-area-inset-bottom': 0,
    'safe-area-inset-left': 0,
  }
});

Implementation: box-shadow

Syntax:
box-shadow

Shadow implementation varies for each platform.

  • iOS has full support using React Native's shadow props.
  • Web has also implemented these props.
  • Android has the elevation property but it does not include color (<API 28) or offsets. - (Custom implementation*, tested)
  • Windows is WIP: microsoft/react-native-windows#2800 - (Custom implementation*, untested)
  • Mac is behind as no one picked up the issue: microsoft/react-native-macos#279 - (untested)

*Custom implementation transitions support is lacking.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.