element-plus/packages/theme-chalk
云游君 d3a66b8767
refactor(components): [rate] use css var & disable to disabled & star-color to fill-color (#6601)
* refactor(components): [rate] use css var & disable to disabled

* refactor(components): [rate] remove getIconStyle

* refactor(components): [rate] rename star-color to fill-color

* fix(test-utils): rate vitest by css vars

* refactor: use ns.is('', state)
2022-03-14 19:34:49 +08:00
..
src refactor(components): [rate] use css var & disable to disabled & star-color to fill-color (#6601) 2022-03-14 19:34:49 +08:00
.gitignore
gulpfile.ts chore(docs): fix buildThemeChalk comment (#5426) 2022-01-17 15:43:07 +08:00
package.json feat: extract eslint config to separate package (#6495) 2022-03-10 15:39:13 +08:00
README.md
tsconfig.json

element-theme-chalk

element component chalk theme.

Installation

npm i element-plus

Usage

Use Sass import

@use 'element-plus/lib/theme-chalk/index.scss';

Or Use vite/webpack

import 'element-plus/lib/theme-chalk/index.css'

Or

<link
  rel="stylesheet"
  href="https://unpkg.com/element-plus/lib/theme-chalk/index.css"
/>

Import on demand

import 'element-plus/lib/theme-chalk/input.css'
import 'element-plus/lib/theme-chalk/select.css'

// ...