@ccn-ui-kit/theme 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@ccn-ui-kit/theme",
3
+ "version": "0.1.2",
4
+ "type": "module",
5
+ "sass": "src/index.scss",
6
+ "style": "src/index.scss",
7
+ "files": [
8
+ "src"
9
+ ],
10
+ "exports": {
11
+ ".": "./src/index.scss",
12
+ "./var": "./src/var.scss",
13
+ "./package.json": "./package.json"
14
+ }
15
+ }
package/src/index.scss ADDED
@@ -0,0 +1,8 @@
1
+ @use './var';
2
+
3
+ // 全局基础样式
4
+ *,
5
+ *::before,
6
+ *::after {
7
+ box-sizing: border-box;
8
+ }
package/src/var.scss ADDED
@@ -0,0 +1,11 @@
1
+ // 主题 CSS 变量(支持运行时换肤)
2
+ :root {
3
+ --ui-color-primary: #409eff;
4
+ --ui-color-success: #67c23a;
5
+ --ui-color-warning: #e6a23c;
6
+ --ui-color-danger: #f56c6c;
7
+ --ui-color-info: #909399;
8
+
9
+ --ui-font-size-base: 14px;
10
+ --ui-border-radius-base: 4px;
11
+ }