@gct-paas/scss 0.1.6-dev.6 → 0.1.6-dev.7

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/scss",
3
- "version": "0.1.6-dev.6",
3
+ "version": "0.1.6-dev.7",
4
4
  "type": "module",
5
5
  "loader": "dist/index.esm.min.js",
6
6
  "description": "paas 平台样式框架包",
@@ -1,11 +1,12 @@
1
+ @use '../global.scss' as *;
2
+
1
3
  // 用于重置覆盖 ant-design-vue 的样式
2
- :root.light {
4
+ .light {
3
5
  --ant-primary-color: var(--gct-color-primary);
4
6
  --ant-primary-color-hover: var(--gct-color-primary-hover);
5
7
  --ant-primary-color-active: var(--gct-color-primary-active);
6
8
  }
7
9
 
8
-
9
10
  input:-webkit-autofill {
10
11
  box-shadow: 0 0 0 1000px white inset !important;
11
12
  }
@@ -73,9 +74,9 @@ body {
73
74
  #app {
74
75
  overflow: auto;
75
76
 
76
- & > *:not(.is-empty-page) {
77
- min-width: 1280px;
78
- }
77
+ // & > *:not(.is-empty-page) {
78
+ // min-width: 1280px;
79
+ // }
79
80
  }
80
81
 
81
82
  a:focus,
@@ -1,3 +1,4 @@
1
1
  /** 重置标准化样式、框大小定义等,例如 normalize.css、reset.css **/
2
2
  @forward './ant-design-vue';
3
3
  @forward './reset';
4
+ @forward './vant';
@@ -0,0 +1,14 @@
1
+ :root {
2
+ --van-button-primary-color: var(--van-white);
3
+ --van-button-primary-background: var(--gct-color-primary);
4
+ --van-primary-color: var(--gct-color-primary);
5
+ --van-radio-checked-icon-color: var(--gct-color-primary);
6
+ --van-checkbox-checked-icon-color: var(--gct-color-primary);
7
+ --van-switch-on-background: var(--gct-color-primary);
8
+ }
9
+
10
+ .van-cell {
11
+ --van-cell-background: transparent;
12
+ --van-cell-group-background: transparent;
13
+ --van-cell-horizontal-padding: 0;
14
+ }
@@ -1,6 +1,6 @@
1
1
  @use '../../global.scss' as *;
2
2
 
3
- :root.dark, .dark-theme {
3
+ .dark, .dark-theme {
4
4
  // 主色
5
5
  #{getCssVarName(blue, 1)}: 246, 248, 254;
6
6
  #{getCssVarName(blue, 2)}: 236, 242, 253;
@@ -1,6 +1,6 @@
1
1
  @use '../../global.scss' as *;
2
2
 
3
- :root.light, .light-theme {
3
+ .light, .light-theme {
4
4
  #{getCssVarName(color, white)}: white;
5
5
  #{getCssVarName(color, black)}: black;
6
6