# @cebus/react-theme

> A set of theme default tokens to use with Cebus UI components.

Latest version **0.0.1** (published 2022-04-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @cebus/react-theme
pnpm add @cebus/react-theme
yarn add @cebus/react-theme
bun add @cebus/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.1 |
| Published | 2022-04-14 |
| First published | 2022-04-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 151.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Maintainers | czearing, pongobuild |

## Links

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

## Dependencies (1)

- [@cebus/react-theme-generator](https://npm.io/package/@cebus/react-theme-generator.md) ^0.0.1

## Recent versions

- 0.0.1 (latest) — 2022-04-14

## README

# Theme

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

## Use

1. Install the @cebus/react-theme package.

Using NPM

```
npm install @cebus/react-theme
```

Using Yarn

```
yarn add @cebus/react-theme
```

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

3. Set up the provider in your app:

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

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

4. Build your app.

```jsx
import { Provider } from '@cebus/react-provider'
import { webLightTheme } from '@cebus/react-theme'
import { Button } from '@cebus/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/@cebus/react-theme · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
