Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thanhtunguet/react-native-atomic-styles

Atomic styles for React Native using SCSS
https://github.com/thanhtunguet/react-native-atomic-styles

Last synced: 23 days ago
JSON representation

Atomic styles for React Native using SCSS

Awesome Lists containing this project

README

        

# react-native-atomic-styles

Atomic styles for React Native projects, inspired by [Bootstrap](https://getbootstrap.com/)

# Installation

```sh
yarn add react-native-atomic-styles
```

# Usage

```tsx
import React from 'react';
import atomicStyles from 'react-native-atomic-styles';

function ExampleComponent() {
return (
<>

>
);
}

export default ExampleComponent;
```

# Atomic styles

- Background color
- Border
- Button
- Flexbox
- Spacing for margin, padding
- Text
- Typography
- Viewbox

# Atomic colors

Sync enum `Colors` from scss `colors` map

```
Usage: atomic-colors [options] [output]

Options:
-V, --version output the version number
-t, --timeout Timeout (default: 3000)
-h, --help display help for command
```