reakit-system-palette
v0.14.2
Published
Reakit palette system
Downloads
10,119
Readme
reakit-system-palette
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