@sidoshi/theme-utils
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Theme uitls for css-in-js usage

This library is inspired from material ui theme. This is can be used to achive material-ui like theme api without depending on the entire component libarary.

Install

npm install @sidoshi/theme-utils

Usage

import createTheme from '@sidoshi/theme-utils';

const theme = createTheme();

// To override default theme
const theme = createTheme((defaults, utils) => ({
  // overides using defaults and utils
}));

LICENCE

MIT (c) Siddharth Doshi

/@sidoshi/theme-utils/

    Package Sidebar

    Install

    npm i @sidoshi/theme-utils

    Weekly Downloads

    0

    Version

    0.1.1

    License

    none

    Unpacked Size

    84.1 kB

    Total Files

    16

    Last publish

    Collaborators

    • sidoshi