1.0.3 • Published 6 years ago

@sibiaoke/ui-theme v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

ui-theme

element component theme --- light and dark.

Installation

npm i @sibiaoke/ui-theme

Usage

Use Sass import

@import '@sibiaoke/ui-theme';

Or Use webpack

import '@sibiaoke/ui-theme';

Or

<link rel="stylesheet" href="path/to/node_modules/@sibiaoke/ui-theme/lib/index.css">

Add theme class to body

<body class="theme-dark"></body>

Import on demand

import '@sibiaoke/ui-theme/lib/input.css';
import '@sibiaoke/ui-theme/lib/select.css';

// ...