3.0.2 • Published 1 year ago

element-theme-kaijia v3.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

element-ui自定义主题色脚手架 2.0.0

gitee链接 https://gitee.com/onemonth/element-theme-kaijia

在项目安装

npm i element-theme-kaijia -Dyarn add element-theme-kaijia -D

还需要安装element-ui主题

npm i element-theme-chalk -Dyarn add element-theme-chalk -D

帮助

etk -h
Usage: index [options] [command]

Options:
  -V, --version                output the version number
  -h, --help                   display help for command

Commands:
  build [options] [themePath]  主题色变量存放的路径(默认 ./styles/etk-theme/variable.scss)
  help [command]               display help for command
etk build -h
Usage: index build [options] [themePath]

主题色变量存放的路径

Options:
  -f [path]   打包后的主题存放的路径(默认 ./styles/etk-theme)
  -h, --help  display help for command

用法

# 项目内
npx etk build [你存放的主题色变量的scss文件路径] -f [打包后的css存放的目录]
# 如:npx etk build ./styles/variable.scss -f ./styles/etk-theme

# 全局
etk build [你存放的主题色变量的scss文件路径] -f [打包后的css存放的目录]
# 如:etk build ./styles/variable.scss -f ./styles/etk-theme
// 主题色变量文件模板,$etk-theme只是map的变量,随便写,key则是打包后的css文件名
$etk-theme: (
  etk-red: red,
  etk-yellow: yellow,
  etk-green: green
);
3.0.2

1 year ago

3.0.1

2 years ago

3.0.0

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.2.0

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.1.3

3 years ago

1.2.1

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago