@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    2
  • 0.1.0
    2

Package Sidebar

Install

npm i @sidoshi/theme-utils

Weekly Downloads

2

Version

0.1.1

License

none

Unpacked Size

84.1 kB

Total Files

16

Last publish

Collaborators

  • sidoshi