0.1.1 • Published 5 years ago

@sidoshi/theme-utils v0.1.1

Weekly downloads
2
License
-
Repository
github
Last release
5 years ago

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