1.0.3 • Published 2 years ago
@uren/theme v1.0.3
Theme
Uren Theme is a simple sass framework for Uren UI component library.
Install
npm install @uren/theme
Usage
All styles available from the main file. ('lib/index.scss')
import "@uren/theme";
<button className="-button -button-small -bg-green-400">Click here</button>;
The 'simple' file only contains the basic styles without components or dark theme. ('lib/simple.scss')
import "@uren/theme/simple";
<div className="-bg-blue-50">Hello World</div>;
The 'theme' file only contains basic styles and theme colors. ('lib/theme.scss')
import "@uren/theme/dark-light";
<div className={"dark" || "light"}>
<div className="-dark-bg-white-50 -light-bg-blue-50">Hello World</div>
</div>;