npm install @ricardojrmcom/fury
yarn add @ricardojrmcom/fury
import { useFury, FuryProvider, FuryRecord } from '@ricardojrmcom/fury';
// provider
const exampleFury: FuryRecord = {
fury1: {
typography: {
h1: {
fontSize: '100px',
color: 'red',
},
},
},
fury2: {
typography: {
h1: {
fontSize: '75px',
color: 'green',
},
},
},
};
<FuryProvider fury={exampleFury} furyDefault="fury1">
{...}
</FuryProvider>
// hook
const { furyActive, furyActiveId, furySetById } = useFury();
// install deps
yarn install
// run lint
yarn lint
// run unit tests
yarn test
// run storybook
yarn sb
- TS Package Boilerplate: 🟪 @ricardojrmcom/nova
- React Module Boilerplate: 🟣 @ricardojrmcom/supernova
Yarn
Typescript
React
Material-UI
Prettier
ESLint
Commit Lint
Lint Staged
Husky
Jest
Semantic Release
MIT © Ricardo <l1b3r_-> Mota (@ricardojrmcom)
Bootstrapped with 🟣@ricardojrmcom/supernova