# @pongo-ui/react-theme

> A set of theme tokens used by Pongo.

Latest version **0.0.13** (published 2022-03-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pongo-ui/react-theme
pnpm add @pongo-ui/react-theme
yarn add @pongo-ui/react-theme
bun add @pongo-ui/react-theme
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.13 |
| Published | 2022-03-25 |
| First published | 2022-02-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 161 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Maintainers | pongobuild, czearing |

## Links

- npm: https://www.npmjs.com/package/@pongo-ui/react-theme
- Repository: https://github.com/PongoAI/pongo-ui
- Homepage: https://github.com/PongoAI/pongo-ui#readme
- Issues: https://github.com/PongoAI/pongo-ui/issues
- npm.io page: https://npm.io/package/@pongo-ui/react-theme

## Dependencies (1)

- [@pongo-ui/react-theme-generator](https://npm.io/package/@pongo-ui/react-theme-generator.md) ^0.1.2

## Recent versions

- 0.0.13 (latest) — 2022-03-25
- 0.0.12 — 2022-03-18
- 0.0.11 — 2022-03-17
- 0.0.10 — 2022-03-15
- 0.0.9 — 2022-03-13
- 0.0.8 — 2022-03-12
- 0.0.7 — 2022-03-12
- 0.0.6 — 2022-03-08
- 0.0.5 — 2022-03-04
- 0.0.4 — 2022-03-03
- 0.0.3 — 2022-03-02
- 0.0.2 — 2022-03-02
- 0.0.1 — 2022-02-24

## README

# Theme

The Theme package is a set of various theme tokens used by Pongo components.

## Use

1. Install the @pongo-ui/react-theme package.

Using NPM

```
npm install @pongo-ui/react-theme
```

Using Yarn

```
yarn add @pongo-ui/react-theme
```

2. Install the @pongo-ui/react-provider and one of our components.

3. Set up the provider in your app:

```jsx
import { Provider } from '@pongo-ui/react-provider'
import { webLightTheme } from '@pongo-ui/react-theme'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
    <Provider>
  )
}
```

4. Build your app.

```jsx
import { Provider } from '@pongo-ui/react-provider'
import { webLightTheme } from '@pongo-ui/react-theme'
import { Button } from '@pongo-ui/react-button'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
      <Button>Hello World</Button>
    <Provider>
  )
}
```

## API

To learn more about the Theme API take a look at the [Theme Interface](src/types.ts) file.

---
_Source: https://npm.io/package/@pongo-ui/react-theme · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
