# react-native-atomic-styles

> Atomic styles for React Native

Latest version **0.0.2** (published 2022-04-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-atomic-styles
pnpm add react-native-atomic-styles
yarn add react-native-atomic-styles
bun add react-native-atomic-styles
```

Provides the command `atomic-colors`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2022-04-28 |
| First published | 2021-07-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 47 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | thanhtunguet |
| Maintainers | thanhtunguet |

## Links

- npm: https://www.npmjs.com/package/react-native-atomic-styles
- Repository: https://github.com/thanhtunguet/react-native-atomic-styles
- Homepage: https://github.com/thanhtunguet/react-native-atomic-styles#readme
- Issues: https://github.com/thanhtunguet/react-native-atomic-styles/issues
- npm.io page: https://npm.io/package/react-native-atomic-styles

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [commander](https://npm.io/package/commander.md) ^8.3.0
- [sass-maps-to-json](https://npm.io/package/sass-maps-to-json.md) ^1.2.0

## Recent versions

- 0.0.2 (latest) — 2022-04-28
- 0.0.1 — 2021-10-24
- 0.0.1-rc.10 — 2021-10-24
- 0.0.1-rc.9 — 2021-08-21
- 0.0.1-rc.8 — 2021-08-02
- 0.0.1-rc.7 — 2021-08-01
- 0.0.1-rc.6 — 2021-08-01
- 0.0.1-rc.5 — 2021-08-01
- 0.0.1-rc.4 — 2021-08-01
- 0.0.1-rc.3 — 2021-07-31
- 0.0.1-rc.2 — 2021-07-28
- 0.0.1-rc.1 — 2021-07-27

## 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 (
    <>
      <View style={[atomicStyles.flex]}></View>
    </>
  );
}

export default ExampleComponent;
```

# Atomic styles

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

# Atomic colors

Generate enum `Colors` from scss `colors` map

```
Usage: atomic-colors [options] <input> [output]

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

---
_Source: https://npm.io/package/react-native-atomic-styles · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
