/fury

React MUI themes

Primary LanguageTypeScriptMIT LicenseMIT

🔥 @ricardojrmcom/fury

React Web UI

build license

author

lang version




Install

npm install @ricardojrmcom/fury

yarn add @ricardojrmcom/fury

Usage

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();

Scripts

// install deps
yarn install

// run lint
yarn lint

// run unit tests
yarn test

// run storybook
yarn sb

Project


Project Dependencies


Dev Dependencies

  • Yarn
  • Typescript
  • React
  • Material-UI
  • Prettier
  • ESLint
  • Commit Lint
  • Lint Staged
  • Husky
  • Jest
  • Semantic Release



License

MIT © Ricardo <l1b3r_-> Mota (@ricardojrmcom)

Bootstrapped with 🟣@ricardojrmcom/supernova