@sidoshi/theme-utils
v0.1.1
Published
Default theme for css-in-js
Downloads
4
Readme
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