Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 550 Bytes

README.md

File metadata and controls

38 lines (29 loc) · 550 Bytes

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';

// ...