reakit-system-palette
TypeScript icon, indicating that this package has built-in type declarations

0.14.2 • Public • Published

reakit-system-palette

NPM version

Create color themes for Reakit components.

This is experimental and may have breaking changes in minor versions.

Installation

npm:

npm i reakit-system-palette

Yarn:

yarn add reakit-system-palette

Setup

import React from "react";
import ReactDOM from "react-dom";
import { Provider, Button } from "reakit";
import * as system from "reakit-system-palette";

function App() {
  return (
    <Provider unstable_system={system}>
      <Button unstable_system={{ palette: "primary", fill: "opaque" }}>
        Button
      </Button>
    </Provider>
  );
}

ReactDOM.render(<App />, document.getElementById("root"));

License

MIT © Diego Haz

Readme

Keywords

Package Sidebar

Install

npm i reakit-system-palette

Weekly Downloads

3,573

Version

0.14.2

License

MIT

Unpacked Size

561 kB

Total Files

73

Last publish

Collaborators

  • diegohaz