2.0.1-10 • Published 1 month ago
@txdfe/at-theme v2.0.1-10
at-theme(at主题变量包)
目录结构
.
├── README.md
├── apsara // 天基主题
│ ├── css
│ │ └── index.css // css变量版本
│ ├── js
│ │ └── index.js // js版本
│ ├── less
│ │ └── index.less // less版本
│ └── scss // 原始scss版本
│ ├── index.scss
│ ├── mixins
│ │ └── font.scss
│ └── variables
│ ├── color.scss
│ ├── radius.scss
│ └── shadow.scss
├── apsara-dark // 天基暗色主题
│ ├── css
│ │ └── index.css
│ ├── js
│ │ └── index.js
│ ├── less
│ │ └── index.less
│ └── scss
│ ├── index.scss
│ ├── mixins
│ │ └── font.scss
│ └── variables
│ ├── color.scss
│ ├── radius.scss
│ └── shadow.scss
├── common // 一些通用常量
│ └── variables
│ ├── color.scss
│ ├── font-family.scss
│ ├── radius.scss
│ ├── shadow.scss
│ └── size.scss
├── package.json
├── scripts
│ ├── config.js
│ ├── convert-variable.js
│ ├── format.js
│ └── sass-extract-js
│ ├── plugin.js
│ └── transform-vars.js
├── teambition // tb主题
│ ├── css
│ │ └── index.css
│ ├── js
│ │ └── index.js
│ ├── less
│ │ └── index.less
│ └── scss
│ ├── index.scss
│ ├── mixins
│ │ └── font.scss
│ └── variables
│ ├── color.scss
│ ├── radius.scss
│ └── shadow.scss
└── teambition-dark // tb暗色主题
├── css
│ └── index.css
├── js
│ └── index.js
├── less
│ └── index.less
└── scss
├── index.scss
├── mixins
│ └── font.scss
└── variables
├── color.scss
├── radius.scss
└── shadow.scss
构建
npm run build
会根据各个主题的scss版本生成对应的less、css、js版本。
发布
修改版本号并执行npm publish
进行发布
使用(以天基scss版本为例)
@import at-theme/apsara/scss/index.scss
2.0.1-14
1 month ago
2.0.1-13
2 months ago
2.0.0-compatiable.2
2 months ago
2.0.0-compatiable.1
2 months ago
2.0.0-compatiable
2 months ago
2.0.1-5
8 months ago
2.0.1-11
6 months ago
2.0.1-12
6 months ago
2.0.1-10
6 months ago
2.0.1-9
6 months ago
2.0.1-8
6 months ago
2.0.1-7
8 months ago
2.0.1-4
1 year ago
2.0.1-3
1 year ago
2.0.1-2
1 year ago
2.0.1-1
1 year ago
2.0.1-0
1 year ago
1.1.7
3 years ago
1.1.6
3 years ago
1.1.6-0
3 years ago
1.1.5
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.3.1
4 years ago
0.3.0
4 years ago