@txdfe/at-theme 2.0.1-0 → 2.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@txdfe/at-theme",
3
- "version": "2.0.1-0",
3
+ "version": "2.0.1-2",
4
4
  "description": "at主题包",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -169,7 +169,7 @@
169
169
  --bright-warning: var(--CDS_bright_warning);
170
170
  --border-warning: var(--CDS_border_warning);
171
171
  --primary-warning: var(--CDS_primary_warning);
172
- --hover-warning: var(---CDS_hover_warning);
172
+ --hover-warning: var(--CDS_hover_warning);
173
173
  --click-warning: var(--CDS_click_warning);
174
174
  --heavy-warning: var(--CDS_heavy_warning);
175
175
  --highlight-alert: var(--CDS_highlight_alert);
@@ -186,11 +186,25 @@
186
186
  --hover-success: var(--CDS_hover_success);
187
187
  --click-success: var(--CDS_click_success);
188
188
  --heavy-success: var(--CDS_heavy_success);
189
- --snow: var(--CDS_snow);
189
+ --snow: var(--CDS_white_01);
190
+ --black: var(--CDS_black_01);
191
+ --white: var(--CDS_white_01);
192
+ --white-01: var(--CDS_white_01);
193
+ --white-02: var(--CDS_white_02);
194
+ --white-03: var(--CDS_white_03);
195
+ --white-04: var(--CDS_white_04);
196
+ --black-01: var(--CDS_black_01);
190
197
  --gray-fill: var(--CDS_gray_fill);
198
+ --line-hover: var(--CDS_gray_fill);
199
+ --gray-filled: var(--CDS_gray_fill);
200
+ --line-actived: var(--CDS_gray_fill);
201
+ --gray-basic: var(--CDS_gray_basic);
202
+ --line-color: var(--CDS_gray_basic);
191
203
  --gray-modal: var(--CDS_gray_modal);
204
+ --modal-color: var(--CDS_gray_popover);
192
205
  --gray-popover: var(--CDS_gray_popover);
193
- --gray-basic: var(--CDS_gray_basic);
206
+ --popover-color: var(--CDS_gray_popover);
207
+ --gray-00: var(--CDS_gray_00);
194
208
  --gray-01: var(--CDS_gray_01);
195
209
  --gray-02: var(--CDS_gray_02);
196
210
  --gray-03: var(--CDS_gray_03);
@@ -217,7 +231,7 @@
217
231
  --background-fill: #ffffff;
218
232
  --background-nav-search: rgba(0, 0, 0, 0);
219
233
  --background-section: var(--CDS_gray_modal);
220
- --background-layout: var(--CDS_snow);
234
+ --background-layout: var(--CDS_gray_00);
221
235
  --background-overlay: var(--CDS_gray_modal);
222
236
  --background-switch-trigger: var(--CDS_white_01);
223
237
  --background-base: var(--CDS_gray_fill);
@@ -248,8 +262,8 @@
248
262
  --nav-primary-sub-nav-bg-color: rgba(0, 0, 0, 0);
249
263
  --table-row-hover-bg: var(--CDS_gray_fill);
250
264
  --menu-background-hover: var(--CDS_gray_fill);
251
- --menu-background-selected: var(--CDS_gray_02);
252
- --menu-background-focus: var(--CDS_gray_02);
265
+ --menu-background-selected: var(--CDS_gray_filled);
266
+ --menu-background-focus: var(--CDS_gray_filled);
253
267
  --menu-divider-color: var(--CDS_gray_03);
254
268
  --input-bg-color: rgba(0, 0, 0, 0);
255
269
  --input-focus-bg-color: rgba(0, 0, 0, 0);
@@ -330,10 +344,10 @@
330
344
  --shape-radius: 4px;
331
345
  --shape-checkbox: 2px;
332
346
  --shape-circular: 50%;
333
- --shadow-01: var(--XDS_shadow_small);
334
- --shadow-02: var(--XDS_shadow_card);
335
- --shadow-03: var(--XDS_shadow_bold_card);
336
- --shadow-04: var(--XDS_shadow_bold_card);
347
+ --shadow-01: var(--CDS_shadow_01);
348
+ --shadow-02: var(--CDS_shadow_01);
349
+ --shadow-03: var(--CDS_shadow_03);
350
+ --shadow-04: var(--CDS_shadow_04);
337
351
  --AT_THEME: teambition;
338
352
  --AT_THEME_TYPE: light;
339
353
  }
@@ -171,7 +171,7 @@ module.exports = {
171
171
  "bright-warning": "var(--CDS_bright_warning)",
172
172
  "border-warning": "var(--CDS_border_warning)",
173
173
  "primary-warning": "var(--CDS_primary_warning)",
174
- "hover-warning": "var(---CDS_hover_warning)",
174
+ "hover-warning": "var(--CDS_hover_warning)",
175
175
  "click-warning": "var(--CDS_click_warning)",
176
176
  "heavy-warning": "var(--CDS_heavy_warning)",
177
177
  "highlight-alert": "var(--CDS_highlight_alert)",
@@ -188,11 +188,25 @@ module.exports = {
188
188
  "hover-success": "var(--CDS_hover_success)",
189
189
  "click-success": "var(--CDS_click_success)",
190
190
  "heavy-success": "var(--CDS_heavy_success)",
191
- snow: "var(--CDS_snow)",
191
+ snow: "var(--CDS_white_01)",
192
+ black: "var(--CDS_black_01)",
193
+ white: "var(--CDS_white_01)",
194
+ "white-01": "var(--CDS_white_01)",
195
+ "white-02": "var(--CDS_white_02)",
196
+ "white-03": "var(--CDS_white_03)",
197
+ "white-04": "var(--CDS_white_04)",
198
+ "black-01": "var(--CDS_black_01)",
192
199
  "gray-fill": "var(--CDS_gray_fill)",
200
+ "line-hover": "var(--CDS_gray_fill)",
201
+ "gray-filled": "var(--CDS_gray_fill)",
202
+ "line-actived": "var(--CDS_gray_fill)",
203
+ "gray-basic": "var(--CDS_gray_basic)",
204
+ "line-color": "var(--CDS_gray_basic)",
193
205
  "gray-modal": "var(--CDS_gray_modal)",
206
+ "modal-color": "var(--CDS_gray_popover)",
194
207
  "gray-popover": "var(--CDS_gray_popover)",
195
- "gray-basic": "var(--CDS_gray_basic)",
208
+ "popover-color": "var(--CDS_gray_popover)",
209
+ "gray-00": "var(--CDS_gray_00)",
196
210
  "gray-01": "var(--CDS_gray_01)",
197
211
  "gray-02": "var(--CDS_gray_02)",
198
212
  "gray-03": "var(--CDS_gray_03)",
@@ -219,7 +233,7 @@ module.exports = {
219
233
  "background-fill": "#ffffff",
220
234
  "background-nav-search": "rgba(0, 0, 0, 0)",
221
235
  "background-section": "var(--CDS_gray_modal)",
222
- "background-layout": "var(--CDS_snow)",
236
+ "background-layout": "var(--CDS_gray_00)",
223
237
  "background-overlay": "var(--CDS_gray_modal)",
224
238
  "background-switch-trigger": "var(--CDS_white_01)",
225
239
  "background-base": "var(--CDS_gray_fill)",
@@ -250,8 +264,8 @@ module.exports = {
250
264
  "nav-primary-sub-nav-bg-color": "rgba(0, 0, 0, 0)",
251
265
  "table-row-hover-bg": "var(--CDS_gray_fill)",
252
266
  "menu-background-hover": "var(--CDS_gray_fill)",
253
- "menu-background-selected": "var(--CDS_gray_02)",
254
- "menu-background-focus": "var(--CDS_gray_02)",
267
+ "menu-background-selected": "var(--CDS_gray_filled)",
268
+ "menu-background-focus": "var(--CDS_gray_filled)",
255
269
  "menu-divider-color": "var(--CDS_gray_03)",
256
270
  "input-bg-color": "rgba(0, 0, 0, 0)",
257
271
  "input-focus-bg-color": "rgba(0, 0, 0, 0)",
@@ -332,10 +346,10 @@ module.exports = {
332
346
  "shape-radius": "4px",
333
347
  "shape-checkbox": "2px",
334
348
  "shape-circular": "50%",
335
- "shadow-01": "var(--XDS_shadow_small)",
336
- "shadow-02": "var(--XDS_shadow_card)",
337
- "shadow-03": "var(--XDS_shadow_bold_card)",
338
- "shadow-04": "var(--XDS_shadow_bold_card)",
349
+ "shadow-01": "var(--CDS_shadow_01)",
350
+ "shadow-02": "var(--CDS_shadow_01)",
351
+ "shadow-03": "var(--CDS_shadow_03)",
352
+ "shadow-04": "var(--CDS_shadow_04)",
339
353
  AT_THEME: "teambition",
340
354
  AT_THEME_TYPE: "light"
341
355
  };
@@ -168,7 +168,7 @@
168
168
  @bright-warning: var(--CDS_bright_warning);
169
169
  @border-warning: var(--CDS_border_warning);
170
170
  @primary-warning: var(--CDS_primary_warning);
171
- @hover-warning: var(---CDS_hover_warning);
171
+ @hover-warning: var(--CDS_hover_warning);
172
172
  @click-warning: var(--CDS_click_warning);
173
173
  @heavy-warning: var(--CDS_heavy_warning);
174
174
  @highlight-alert: var(--CDS_highlight_alert);
@@ -185,11 +185,25 @@
185
185
  @hover-success: var(--CDS_hover_success);
186
186
  @click-success: var(--CDS_click_success);
187
187
  @heavy-success: var(--CDS_heavy_success);
188
- @snow: var(--CDS_snow);
188
+ @snow: var(--CDS_white_01);
189
+ @black: var(--CDS_black_01);
190
+ @white: var(--CDS_white_01);
191
+ @white-01: var(--CDS_white_01);
192
+ @white-02: var(--CDS_white_02);
193
+ @white-03: var(--CDS_white_03);
194
+ @white-04: var(--CDS_white_04);
195
+ @black-01: var(--CDS_black_01);
189
196
  @gray-fill: var(--CDS_gray_fill);
197
+ @line-hover: var(--CDS_gray_fill);
198
+ @gray-filled: var(--CDS_gray_fill);
199
+ @line-actived: var(--CDS_gray_fill);
200
+ @gray-basic: var(--CDS_gray_basic);
201
+ @line-color: var(--CDS_gray_basic);
190
202
  @gray-modal: var(--CDS_gray_modal);
203
+ @modal-color: var(--CDS_gray_popover);
191
204
  @gray-popover: var(--CDS_gray_popover);
192
- @gray-basic: var(--CDS_gray_basic);
205
+ @popover-color: var(--CDS_gray_popover);
206
+ @gray-00: var(--CDS_gray_00);
193
207
  @gray-01: var(--CDS_gray_01);
194
208
  @gray-02: var(--CDS_gray_02);
195
209
  @gray-03: var(--CDS_gray_03);
@@ -216,7 +230,7 @@
216
230
  @background-fill: #ffffff;
217
231
  @background-nav-search: rgba(0, 0, 0, 0);
218
232
  @background-section: var(--CDS_gray_modal);
219
- @background-layout: var(--CDS_snow);
233
+ @background-layout: var(--CDS_gray_00);
220
234
  @background-overlay: var(--CDS_gray_modal);
221
235
  @background-switch-trigger: var(--CDS_white_01);
222
236
  @background-base: var(--CDS_gray_fill);
@@ -247,8 +261,8 @@
247
261
  @nav-primary-sub-nav-bg-color: rgba(0, 0, 0, 0);
248
262
  @table-row-hover-bg: var(--CDS_gray_fill);
249
263
  @menu-background-hover: var(--CDS_gray_fill);
250
- @menu-background-selected: var(--CDS_gray_02);
251
- @menu-background-focus: var(--CDS_gray_02);
264
+ @menu-background-selected: var(--CDS_gray_filled);
265
+ @menu-background-focus: var(--CDS_gray_filled);
252
266
  @menu-divider-color: var(--CDS_gray_03);
253
267
  @input-bg-color: rgba(0, 0, 0, 0);
254
268
  @input-focus-bg-color: rgba(0, 0, 0, 0);
@@ -329,9 +343,9 @@
329
343
  @shape-radius: 4px;
330
344
  @shape-checkbox: 2px;
331
345
  @shape-circular: 50%;
332
- @shadow-01: var(--XDS_shadow_small);
333
- @shadow-02: var(--XDS_shadow_card);
334
- @shadow-03: var(--XDS_shadow_bold_card);
335
- @shadow-04: var(--XDS_shadow_bold_card);
346
+ @shadow-01: var(--CDS_shadow_01);
347
+ @shadow-02: var(--CDS_shadow_01);
348
+ @shadow-03: var(--CDS_shadow_03);
349
+ @shadow-04: var(--CDS_shadow_04);
336
350
  @AT_THEME: teambition;
337
351
  @AT_THEME_TYPE: light;
@@ -21,7 +21,7 @@ $highlight-warning: var(--CDS_highlight_warning) !default;
21
21
  $bright-warning: var(--CDS_bright_warning) !default;
22
22
  $border-warning: var(--CDS_border_warning) !default;
23
23
  $primary-warning: var(--CDS_primary_warning) !default;
24
- $hover-warning: var(---CDS_hover_warning) !default;
24
+ $hover-warning: var(--CDS_hover_warning) !default;
25
25
  $click-warning: var(--CDS_click_warning) !default;
26
26
  $heavy-warning: var(--CDS_heavy_warning) !default;
27
27
 
@@ -41,12 +41,32 @@ $hover-success: var(--CDS_hover_success) !default;
41
41
  $click-success: var(--CDS_click_success) !default;
42
42
  $heavy-success: var(--CDS_heavy_success) !default;
43
43
 
44
- $snow: var(--CDS_snow) !default;
44
+ $snow: var(--CDS_white_01) !default;
45
+ $black: var(--CDS_black_01) !default;
46
+ $white: var(--CDS_white_01) !default;
47
+
48
+ $white-01: var(--CDS_white_01) !default;
49
+ $white-02: var(--CDS_white_02) !default;
50
+ $white-03: var(--CDS_white_03) !default;
51
+ $white-04: var(--CDS_white_04) !default;
52
+
53
+ $black-01: var(--CDS_black_01) !default;
54
+
45
55
  $gray-fill: var(--CDS_gray_fill) !default;
56
+ $line-hover: var(--CDS_gray_fill) !default;
57
+
58
+ $gray-filled: var(--CDS_gray_fill) !default;
59
+ $line-actived: var(--CDS_gray_fill) !default;
60
+
61
+ $gray-basic: var(--CDS_gray_basic) !default;
62
+ $line-color: var(--CDS_gray_basic) !default;
63
+
46
64
  $gray-modal: var(--CDS_gray_modal) !default;
65
+ $modal-color: var(--CDS_gray_popover) !default;
47
66
  $gray-popover: var(--CDS_gray_popover) !default;
48
- $gray-basic: var(--CDS_gray_basic) !default;
67
+ $popover-color: var(--CDS_gray_popover) !default;
49
68
 
69
+ $gray-00: var(--CDS_gray_00) !default;
50
70
  $gray-01: var(--CDS_gray_01) !default;
51
71
  $gray-02: var(--CDS_gray_02) !default;
52
72
  $gray-03: var(--CDS_gray_03) !default;
@@ -77,7 +97,7 @@ $background-fill: $G0 !default;
77
97
  $background-nav-search: transparent !default;
78
98
 
79
99
  $background-section: var(--CDS_gray_modal) !default;
80
- $background-layout: var(--CDS_snow) !default;
100
+ $background-layout: var(--CDS_gray_00) !default;
81
101
  $background-overlay: var(--CDS_gray_modal) !default; // mark !!
82
102
  $background-switch-trigger: var(--CDS_white_01) !default;
83
103
  $background-base: var(--CDS_gray_fill) !default;
@@ -123,11 +143,10 @@ $table-row-hover-bg: var(--CDS_gray_fill) !default;
123
143
 
124
144
  // menu
125
145
  $menu-background-hover: var(--CDS_gray_fill) !default;
126
- $menu-background-selected: var(--CDS_gray_02) !default;
127
- $menu-background-focus: var(--CDS_gray_02) !default;
146
+ $menu-background-selected: var(--CDS_gray_filled) !default;
147
+ $menu-background-focus: var(--CDS_gray_filled) !default;
128
148
  $menu-divider-color: var(--CDS_gray_03) !default;
129
149
 
130
-
131
150
  // input
132
151
  $input-bg-color: transparent !default;
133
152
  $input-focus-bg-color: transparent !default;
@@ -1,6 +1,6 @@
1
1
  @import '../../../common/variables/shadow.scss';
2
2
 
3
- $shadow-01: var(--XDS_shadow_small) !default;
4
- $shadow-02: var(--XDS_shadow_card) !default;
5
- $shadow-03: var(--XDS_shadow_bold_card) !default;
6
- $shadow-04: var(--XDS_shadow_bold_card) !default;
3
+ $shadow-01: var(--CDS_shadow_01) !default;
4
+ $shadow-02: var(--CDS_shadow_01) !default;
5
+ $shadow-03: var(--CDS_shadow_03) !default;
6
+ $shadow-04: var(--CDS_shadow_04) !default;