element-plus/packages/theme-chalk
云游君 35c90180d1
refactor(components): use css var to set menu global style (#3539)
* refactor(components): use css var to set menu global style

* fix(components): remove useless value & change camelCase & test file

* test: comment code that can not test final style

* test: fix unused-vars lint

* feat: add computed for useMenuCssVar

* test(components): revert test file

* fix(components): use computed value
2021-09-22 18:41:32 +08:00
..
src refactor(components): use css var to set menu global style (#3539) 2021-09-22 18:41:32 +08:00
.gitignore Feat/scss (#212) 2020-08-28 11:09:05 +08:00
gulpfile.ts style: add import and stricter lint (#3440) 2021-09-17 15:27:31 +08:00
package.json chore: add vscode config & upgrade typescript/sass/vite (#3502) 2021-09-19 19:34:25 +08:00
README.md chore(build): remove useless dependencies & use ts for gulp & add progressbar (#2792) 2021-08-03 09:12:34 +08:00
tsconfig.json chore(build): remove useless dependencies & use ts for gulp & add progressbar (#2792) 2021-08-03 09:12:34 +08:00

element-theme-chalk

element component chalk theme.

Installation

npm i element-plus

Usage

Use Sass import

@import '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'

// ...