@alauda/ui 6.1.5-beta.9 → 6.1.5

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.
Files changed (59) hide show
  1. package/alauda-ui.metadata.json +1 -1
  2. package/bundles/alauda-ui.umd.js +21 -19
  3. package/bundles/alauda-ui.umd.js.map +1 -1
  4. package/bundles/alauda-ui.umd.min.js +1 -1
  5. package/bundles/alauda-ui.umd.min.js.map +1 -1
  6. package/drawer/component/drawer-ref.d.ts +1 -0
  7. package/drawer/component/drawer.component.d.ts +1 -0
  8. package/drawer/drawer.service.d.ts +11 -3
  9. package/esm2015/alauda-ui.ngsummary.json +1 -1
  10. package/esm2015/autocomplete/autocomplete.component.js +1 -1
  11. package/esm2015/autocomplete/autocomplete.component.scss.ngstyle.js +1 -1
  12. package/esm2015/button/button.component.js +1 -1
  13. package/esm2015/button/button.component.scss.ngstyle.js +1 -1
  14. package/esm2015/card/card.component.js +1 -1
  15. package/esm2015/card/card.component.scss.ngstyle.js +1 -1
  16. package/esm2015/color-picker/color-picker.component.js +1 -1
  17. package/esm2015/color-picker/color-picker.component.scss.ngstyle.js +1 -1
  18. package/esm2015/dialog/dialog.component.js +1 -1
  19. package/esm2015/dialog/dialog.component.scss.ngstyle.js +1 -1
  20. package/esm2015/drawer/component/drawer-ref.js +1 -1
  21. package/esm2015/drawer/component/drawer.component.js +5 -3
  22. package/esm2015/drawer/component/drawer.component.ngfactory.js +1 -1
  23. package/esm2015/drawer/component/drawer.component.ngsummary.json +1 -1
  24. package/esm2015/drawer/component/drawer.component.scss.ngstyle.js +1 -1
  25. package/esm2015/drawer/drawer.service.js +1 -1
  26. package/esm2015/drawer/drawer.service.ngsummary.json +1 -1
  27. package/esm2015/drawer/public-api.ngsummary.json +1 -1
  28. package/esm2015/dropdown/menu/menu.component.js +1 -1
  29. package/esm2015/dropdown/menu/menu.component.scss.ngstyle.js +1 -1
  30. package/esm2015/dropdown/menu-item/menu-item.component.js +1 -1
  31. package/esm2015/dropdown/menu-item/menu-item.component.scss.ngstyle.js +1 -1
  32. package/esm2015/dropdown/submenu/submenu.component.js +1 -1
  33. package/esm2015/dropdown/submenu/submenu.component.scss.ngstyle.js +1 -1
  34. package/esm2015/input/input.component.js +1 -1
  35. package/esm2015/input/input.component.scss.ngstyle.js +1 -1
  36. package/esm2015/input/tags-input/tags-input.component.js +1 -1
  37. package/esm2015/message/message.component.js +1 -1
  38. package/esm2015/message/message.component.scss.ngstyle.js +1 -1
  39. package/esm2015/notification/notification.component.js +1 -1
  40. package/esm2015/notification/notification.component.scss.ngstyle.js +1 -1
  41. package/esm2015/public-api.ngsummary.json +1 -1
  42. package/esm2015/select/multi-select/multi-select.component.js +1 -1
  43. package/esm2015/select/multi-select/multi-select.component.scss.ngstyle.js +1 -1
  44. package/esm2015/select/select.component.js +1 -1
  45. package/esm2015/select/select.component.scss.ngstyle.js +1 -1
  46. package/esm2015/time-picker/panel/panel.component.js +1 -1
  47. package/esm2015/time-picker/panel/panel.style.scss.ngstyle.js +1 -1
  48. package/esm2015/tooltip/tooltip.component.js +1 -1
  49. package/esm2015/tooltip/tooltip.component.scss.ngstyle.js +1 -1
  50. package/esm2015/tree-select/tree-select.component.js +1 -1
  51. package/esm2015/tree-select/tree-select.component.scss.ngstyle.js +1 -1
  52. package/fesm2015/alauda-ui.js +21 -19
  53. package/fesm2015/alauda-ui.js.map +1 -1
  54. package/package.json +1 -1
  55. package/theme/_base-var.scss +16 -32
  56. package/theme/_mixin.scss +47 -64
  57. package/theme/_pattern.scss +15 -15
  58. package/theme/_var.scss +17 -17
  59. package/theme/style.css +84 -88
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda/ui",
3
- "version": "6.1.5-beta.9",
3
+ "version": "6.1.5",
4
4
  "description": "Angular UI components by Alauda Frontend Team.",
5
5
  "repository": "git+https://github.com/alauda/alauda-ui.git",
6
6
  "author": "Alauda Frontend",
@@ -1,51 +1,35 @@
1
1
  @use "sass:string";
2
2
 
3
- @function use-var($name) {
3
+ @function get-size($name) {
4
4
  @return var(--aui-#{$name});
5
5
  }
6
6
 
7
- @function use-rgb($name: primary, $level: none) {
7
+ @function get-color($name: primary, $level: none) {
8
8
  @if $level != none {
9
9
  @return rgb(var(--aui-color-#{string.slice('#{$name}', 1, 1)}-#{$level}));
10
10
  }
11
11
  @return rgb(var(--aui-color-#{$name}));
12
12
  }
13
13
 
14
- @function use-rgba($name, $opacity) {
15
- @return rgba(var(--aui-color-#{$name}), $opacity);
16
- }
17
-
18
- @function use-text-color($level: main) {
14
+ @function get-text-color($level: main) {
19
15
  @if $level == main {
20
- @return use-rgb(n-1);
16
+ @return get-color(n-1);
21
17
  } @else if $level == secondary {
22
- @return use-rgb(n-2);
18
+ @return get-color(n-2);
23
19
  } @else if $level == help {
24
- @return use-rgb(n-4);
20
+ @return get-color(n-4);
25
21
  } @else if $level == disabled or $level == placeholder {
26
- @return use-rgb(n-6);
22
+ @return get-color(n-6);
27
23
  } @else {
28
- @return use-rgb($level);
24
+ @return get-color($level);
29
25
  }
30
26
  }
31
27
 
32
- @function get-size($name) {
33
- @return use-var($name);
34
- }
35
-
36
- @function get-color($name: primary, $level: none) {
37
- @return use-rgb($name, $level);
38
- }
39
-
40
- @function get-text-color($level: main) {
41
- @return use-text-color($level);
42
- }
43
-
44
28
  @function get-rgba($name, $opacity) {
45
- @return use-rgba($name, $opacity);
29
+ @return rgba(var(--aui-color-#{$name}), $opacity);
46
30
  }
47
31
 
48
- $divider-line: 1px solid use-rgb(n-8);
32
+ $divider-line: 1px solid get-color(n-8);
49
33
 
50
34
  /**
51
35
  ******************************
@@ -113,13 +97,13 @@ $color-danger-darker: mix($color-black, $color-primary, 20%);
113
97
  $color-error-darker: $color-danger-dark;
114
98
  $color-info-darker: mix($color-black, $color-primary, 20%);
115
99
 
116
- $color-text-main: use-text-color(main);
117
- $color-text-secondary: use-text-color(secondary);
118
- $color-text-help: use-text-color(help);
119
- $color-text-disabled: use-text-color(disabled);
120
- $color-text-placeholder: use-text-color(placeholder);
100
+ $color-text-main: get-text-color(main);
101
+ $color-text-secondary: get-text-color(secondary);
102
+ $color-text-help: get-text-color(help);
103
+ $color-text-disabled: get-text-color(disabled);
104
+ $color-text-placeholder: get-text-color(placeholder);
121
105
 
122
- $color-disabled-bg: use-rgb(n-8);
106
+ $color-disabled-bg: get-color(n-8);
123
107
 
124
108
  // Font
125
109
  $font-size-extra-large: 20px;
package/theme/_mixin.scss CHANGED
@@ -2,83 +2,66 @@
2
2
  @import 'var';
3
3
 
4
4
  @mixin theme-light {
5
- $host: &;
6
-
7
- @at-root {
8
- :root #{$host} {
9
- @content;
10
- }
5
+ :root {
6
+ @content;
7
+ }
11
8
 
12
- html[aui-color-mode='light'] #{$host} {
13
- @content;
14
- }
9
+ html[aui-color-mode='light'] {
10
+ @content;
15
11
  }
16
12
  }
17
13
 
18
14
  @mixin theme-dark {
19
- $host: &;
20
-
21
- @at-root {
22
- @media (prefers-color-scheme: dark) {
23
- html[aui-color-mode='auto'] #{$host} {
24
- @content;
25
- }
26
- }
27
-
28
- html[aui-color-mode='dark'] #{$host} {
15
+ @media (prefers-color-scheme: dark) {
16
+ html[aui-color-mode='auto'] {
29
17
  @content;
30
18
  }
31
19
  }
20
+
21
+ html[aui-color-mode='dark'] {
22
+ @content;
23
+ }
32
24
  }
33
25
 
34
26
  @mixin text-set($size: m, $color: none) {
35
- font-size: use-var(font-size-#{$size});
36
- line-height: use-var(line-height-#{$size});
27
+ font-size: get-size(font-size-#{$size});
28
+ line-height: get-size(line-height-#{$size});
37
29
  @if $color != none {
38
- color: use-text-color($color);
30
+ color: get-text-color($color);
39
31
  }
40
32
  }
41
33
 
42
34
  @mixin icon-set($size: m, $color: none) {
43
35
  display: inline-flex;
44
36
  align-items: center;
45
- height: use-var(line-height-#{$size});
46
- font-size: use-var(font-size-#{$size});
37
+ height: get-size(line-height-#{$size});
38
+ font-size: get-size(font-size-#{$size});
47
39
  @if $color != none {
48
- color: use-text-color($color);
40
+ color: get-text-color($color);
49
41
  }
50
42
  }
51
43
 
52
44
  // 使用 box-shadow 模拟带圆角的 outline
53
45
  @mixin outline-shadow($color: primary) {
54
- box-shadow: 0 0 0 2px use-rgba($color, 0.16);
46
+ box-shadow: 0 0 0 2px get-rgba($color, 0.16);
55
47
  }
56
48
 
57
49
  @mixin card-shadow() {
58
- @include theme-light {
59
- box-shadow: 0 0 4px 0 use-rgba(n-1, 0.1);
60
- }
61
- @include theme-dark {
62
- box-shadow: 0 0 4px 0 use-rgba(main-bg, 0.75);
63
- }
50
+ box-shadow: 0 0 4px 0 get-rgba(n-1, 0.1);
64
51
  }
65
52
 
66
53
  @mixin popper-shadow() {
67
- @include theme-light {
68
- box-shadow: 0 2px 8px 0 use-rgba(n-1, 0.2);
69
- }
70
- @include theme-dark {
71
- box-shadow: 0 2px 8px 0 use-rgba(main-bg, 0.75);
72
- }
54
+ box-shadow: 0 2px 8px 0 get-rgba(n-1, 0.2);
73
55
  }
74
56
 
75
57
  @mixin modal-shadow() {
76
- @include theme-light {
77
- box-shadow: 0 2px 8px 0 use-rgba(n-1, 0.2);
78
- }
79
- @include theme-dark {
80
- box-shadow: 0 4px 16px 0 use-rgba(main-bg, 0.75);
81
- }
58
+ box-shadow: 0 4px 16px 0 get-rgba(n-1, 0.2);
59
+ }
60
+ @mixin page-header-shadow() {
61
+ box-shadow: 0 1px 4px 0 get-rgba(n-1, 0.1);
62
+ }
63
+ @mixin page-snackbar-shadow() {
64
+ box-shadow: 0 -1px 4px 0 get-rgba(n-1, 0.1);
82
65
  }
83
66
 
84
67
  @mixin transition($target: all) {
@@ -119,7 +102,7 @@
119
102
  &__icon-container {
120
103
  display: block;
121
104
  position: relative;
122
- color: use-rgb(n-4);
105
+ color: get-color(n-4);
123
106
  }
124
107
 
125
108
  &__clear {
@@ -142,7 +125,7 @@
142
125
  }
143
126
 
144
127
  @mixin input-error() {
145
- border-color: use-rgb(red) !important;
128
+ border-color: get-color(red) !important;
146
129
 
147
130
  &:focus,
148
131
  &.isFocused {
@@ -154,12 +137,12 @@
154
137
  display: inline-flex;
155
138
  justify-content: center;
156
139
  align-items: center;
157
- width: use-var(icon-size-m);
158
- height: use-var(icon-size-m);
159
- font-size: use-var(icon-size-m);
160
- line-height: use-var(icon-size-m);
161
- color: use-rgb(primary);
162
- background-color: use-rgb(p-6);
140
+ width: get-size(icon-size-m);
141
+ height: get-size(icon-size-m);
142
+ font-size: get-size(icon-size-m);
143
+ line-height: get-size(icon-size-m);
144
+ color: get-color(primary);
145
+ background-color: get-color(p-6);
163
146
  border-radius: 50%;
164
147
  border: none;
165
148
  cursor: pointer;
@@ -167,36 +150,36 @@
167
150
 
168
151
  aui-icon {
169
152
  display: block;
170
- width: use-var(icon-size-m);
171
- height: use-var(icon-size-m);
153
+ width: get-size(icon-size-m);
154
+ height: get-size(icon-size-m);
172
155
  }
173
156
 
174
157
  &:hover {
175
- background-color: use-rgb(p-7);
158
+ background-color: get-color(p-7);
176
159
  }
177
160
 
178
161
  &:active {
179
- background-color: use-rgb(p-5);
162
+ background-color: get-color(p-5);
180
163
  }
181
164
 
182
165
  &.isExpanded {
183
166
  transform: rotate(90deg);
184
- color: use-rgb(n-10);
185
- background-color: use-rgb(primary);
167
+ color: get-color(n-10);
168
+ background-color: get-color(primary);
186
169
 
187
170
  &:hover {
188
- background-color: use-rgb(p-1);
171
+ background-color: get-color(p-1);
189
172
  }
190
173
 
191
174
  &:active {
192
- background-color: use-rgb(p-0);
175
+ background-color: get-color(p-0);
193
176
  }
194
177
  }
195
178
 
196
179
  &[disabled],
197
180
  &.isExpanded[disabled] {
198
- background-color: use-rgb(n-8);
199
- color: use-rgb(n-6);
181
+ background-color: get-color(n-8);
182
+ color: get-color(n-6);
200
183
  cursor: not-allowed;
201
184
  }
202
185
  }
@@ -228,8 +211,8 @@
228
211
  @mixin vertical-dashed-line($width: 1px, $color: 'n-7') {
229
212
  background: linear-gradient(
230
213
  to bottom,
231
- use-rgb($color),
232
- use-rgb($color) 8px,
214
+ get-color($color),
215
+ get-color($color) 8px,
233
216
  transparent 6px,
234
217
  transparent
235
218
  );
@@ -2,26 +2,26 @@
2
2
  @import 'mixin';
3
3
 
4
4
  @mixin shadow-0 {
5
- border-radius: use-var(border-radius-m);
6
- background-color: use-rgb(n-10);
5
+ border-radius: get-size(border-radius-m);
6
+ background-color: get-color(n-10);
7
7
  }
8
8
 
9
9
  @mixin shadow-2 {
10
- border-radius: use-var(border-radius-m);
11
- background-color: use-rgb(n-10);
12
- box-shadow: 0 0 2px 0 use-rgba(n-1, 0.24);
10
+ border-radius: get-size(border-radius-m);
11
+ background-color: get-color(n-10);
12
+ box-shadow: 0 0 2px 0 get-rgba(n-1, 0.24);
13
13
  }
14
14
 
15
15
  @mixin shadow-8 {
16
- border-radius: use-var(border-radius-m);
17
- background-color: use-rgb(n-10);
18
- box-shadow: 0 2px 8px 0 use-rgba(n-1, 0.16);
16
+ border-radius: get-size(border-radius-m);
17
+ background-color: get-color(n-10);
18
+ box-shadow: 0 2px 8px 0 get-rgba(n-1, 0.16);
19
19
  }
20
20
 
21
21
  @mixin shadow-16 {
22
- border-radius: use-var(border-radius-m);
23
- background-color: use-rgb(n-10);
24
- box-shadow: 0 4px 16px 0 use-rgba(n-1, 0.16);
22
+ border-radius: get-size(border-radius-m);
23
+ background-color: get-color(n-10);
24
+ box-shadow: 0 4px 16px 0 get-rgba(n-1, 0.16);
25
25
  }
26
26
 
27
27
  @mixin zh-form-label-width($parent) {
@@ -46,12 +46,12 @@
46
46
  min-height: $table-row-min-height + 2px;
47
47
  @include text-set(m, placeholder);
48
48
 
49
- background-color: use-rgb(n-10);
50
- border: solid 1px use-rgb(n-8);
51
- border-radius: use-var(border-radius-l);
49
+ background-color: get-color(n-10);
50
+ border: solid 1px get-color(n-8);
51
+ border-radius: get-size(border-radius-l);
52
52
 
53
53
  > aui-icon:first-child {
54
- margin-right: use-var(spacing-m);
54
+ margin-right: get-size(spacing-m);
55
55
  }
56
56
  }
57
57
 
package/theme/_var.scss CHANGED
@@ -159,28 +159,28 @@ $alerts-wrapper-right: 0;
159
159
  // Input
160
160
  $input-size: (
161
161
  large: (
162
- height: use-var(inline-height-l),
163
- font-size: use-var(font-size-l),
164
- line-height: use-var(line-height-l),
165
- icon-size: use-var(icon-size-l),
162
+ height: get-size(inline-height-l),
163
+ font-size: get-size(font-size-l),
164
+ line-height: get-size(line-height-l),
165
+ icon-size: get-size(icon-size-l),
166
166
  ),
167
167
  medium: (
168
- height: use-var(inline-height-m),
169
- font-size: use-var(font-size-m),
170
- line-height: use-var(line-height-m),
171
- icon-size: use-var(icon-size-m),
168
+ height: get-size(inline-height-m),
169
+ font-size: get-size(font-size-m),
170
+ line-height: get-size(line-height-m),
171
+ icon-size: get-size(icon-size-m),
172
172
  ),
173
173
  small: (
174
- height: use-var(inline-height-s),
175
- font-size: use-var(font-size-m),
176
- line-height: use-var(line-height-m),
177
- icon-size: use-var(icon-size-m),
174
+ height: get-size(inline-height-s),
175
+ font-size: get-size(font-size-m),
176
+ line-height: get-size(line-height-m),
177
+ icon-size: get-size(icon-size-m),
178
178
  ),
179
179
  mini: (
180
- height: use-var(inline-height-xs),
181
- font-size: use-var(font-size-s),
182
- line-height: use-var(line-height-s),
183
- icon-size: use-var(icon-size-s),
180
+ height: get-size(inline-height-xs),
181
+ font-size: get-size(font-size-s),
182
+ line-height: get-size(line-height-s),
183
+ icon-size: get-size(icon-size-s),
184
184
  ),
185
185
  );
186
186
 
@@ -310,7 +310,7 @@ $tab-label-font-size-large: $font-size-larger;
310
310
  $tab-label-font-size-medium: $font-size-large;
311
311
  $tab-label-font-size-small: $font-size-regular;
312
312
  $tab-border: $border-width $border-style #ededed;
313
- $tab-header-type-card-bg-color: use-rgb(n-9);
313
+ $tab-header-type-card-bg-color: get-color(n-9);
314
314
  $tab-header-indicator-color: $color-primary;
315
315
  $tab-scroll-transition: all 0.3s cubic-bezier(0.35, 0, 0.25, 1);
316
316
  $tab-pagination-button-z-index: 3;
package/theme/style.css CHANGED
@@ -45,6 +45,7 @@
45
45
  --aui-color-r-4: 249, 179, 190;
46
46
  --aui-color-r-6: 253, 230, 233;
47
47
  --aui-color-r-7: 254, 243, 244;
48
+ --aui-color-n-0: 0, 0, 0;
48
49
  --aui-color-n-1: 50, 52, 55;
49
50
  --aui-color-n-2: 100, 102, 105;
50
51
  --aui-color-n-3: 124, 126, 129;
@@ -55,8 +56,6 @@
55
56
  --aui-color-n-8: 237, 239, 242;
56
57
  --aui-color-n-9: 247, 249, 252;
57
58
  --aui-color-n-10: 255, 255, 255;
58
- --aui-color-main-bg: var(--aui-color-n-9);
59
- --aui-color-popper-bg: var(--aui-color-n-10);
60
59
  }
61
60
 
62
61
  html[aui-color-mode=light] {
@@ -90,6 +89,7 @@ html[aui-color-mode=light] {
90
89
  --aui-color-r-4: 249, 179, 190;
91
90
  --aui-color-r-6: 253, 230, 233;
92
91
  --aui-color-r-7: 254, 243, 244;
92
+ --aui-color-n-0: 0, 0, 0;
93
93
  --aui-color-n-1: 50, 52, 55;
94
94
  --aui-color-n-2: 100, 102, 105;
95
95
  --aui-color-n-3: 124, 126, 129;
@@ -100,99 +100,95 @@ html[aui-color-mode=light] {
100
100
  --aui-color-n-8: 237, 239, 242;
101
101
  --aui-color-n-9: 247, 249, 252;
102
102
  --aui-color-n-10: 255, 255, 255;
103
- --aui-color-main-bg: var(--aui-color-n-9);
104
- --aui-color-popper-bg: var(--aui-color-n-10);
105
103
  }
106
104
 
107
105
  @media (prefers-color-scheme: dark) {
108
106
  html[aui-color-mode=auto] {
109
- --aui-color-blue: 61, 142, 255;
110
- --aui-color-b-0: 54, 116, 206;
111
- --aui-color-b-1: 109, 170, 255;
112
- --aui-color-b-2: 52, 111, 196;
113
- --aui-color-b-3: 50, 101, 177;
114
- --aui-color-b-4: 46, 87, 147;
115
- --aui-color-b-5: 38, 56, 88;
116
- --aui-color-b-6: 41, 66, 108;
117
- --aui-color-b-7: 43, 76, 127;
118
- --aui-color-green: 17, 182, 113;
119
- --aui-color-g-0: 21, 146, 99;
120
- --aui-color-g-1: 76, 200, 148;
121
- --aui-color-g-2: 21, 139, 96;
122
- --aui-color-g-4: 26, 105, 82;
123
- --aui-color-g-6: 30, 76, 72;
124
- --aui-color-g-7: 27, 90, 77;
125
- --aui-color-yellow: 237, 172, 44;
126
- --aui-color-y-0: 186, 138, 47;
127
- --aui-color-y-1: 241, 192, 96;
128
- --aui-color-y-2: 175, 132, 48;
129
- --aui-color-y-4: 125, 100, 51;
130
- --aui-color-y-6: 85, 74, 55;
131
- --aui-color-y-7: 104, 87, 53;
132
- --aui-color-red: 226, 50, 79;
133
- --aui-color-r-0: 178, 47, 74;
134
- --aui-color-r-1: 233, 101, 123;
135
- --aui-color-r-2: 167, 46, 73;
136
- --aui-color-r-4: 120, 45, 67;
137
- --aui-color-r-6: 82, 43, 63;
138
- --aui-color-r-7: 100, 44, 65;
139
- --aui-color-n-1: 240, 241, 246;
140
- --aui-color-n-2: 196, 198, 204;
141
- --aui-color-n-3: 180, 183, 192;
142
- --aui-color-n-4: 144, 149, 163;
143
- --aui-color-n-5: 140, 145, 159;
144
- --aui-color-n-6: 116, 121, 135;
145
- --aui-color-n-7: 86, 93, 111;
146
- --aui-color-n-8: 63, 70, 88;
147
- --aui-color-n-9: 52, 59, 77;
148
- --aui-color-n-10: 38, 45, 63;
149
- --aui-color-main-bg: 22, 29, 47;
150
- --aui-color-popper-bg: var(--aui-color-n-9);
107
+ --aui-color-blue: 0, 122, 245;
108
+ --aui-color-b-0: 0, 103, 208;
109
+ --aui-color-b-1: 38, 141, 246;
110
+ --aui-color-b-2: 77, 162, 248;
111
+ --aui-color-b-3: 102, 175, 249;
112
+ --aui-color-b-4: 179, 215, 252;
113
+ --aui-color-b-5: 204, 228, 253;
114
+ --aui-color-b-6: 229, 241, 254;
115
+ --aui-color-b-7: 242, 248, 254;
116
+ --aui-color-green: 0, 194, 97;
117
+ --aui-color-g-0: 0, 165, 82;
118
+ --aui-color-g-1: 38, 203, 120;
119
+ --aui-color-g-2: 76, 212, 144;
120
+ --aui-color-g-4: 179, 236, 207;
121
+ --aui-color-g-6: 230, 249, 239;
122
+ --aui-color-g-7: 242, 251, 246;
123
+ --aui-color-yellow: 245, 163, 0;
124
+ --aui-color-y-0: 220, 146, 0;
125
+ --aui-color-y-1: 246, 176, 38;
126
+ --aui-color-y-2: 248, 190, 77;
127
+ --aui-color-y-4: 252, 227, 179;
128
+ --aui-color-y-6: 254, 245, 230;
129
+ --aui-color-y-7: 254, 250, 243;
130
+ --aui-color-red: 235, 0, 39;
131
+ --aui-color-r-0: 199, 0, 33;
132
+ --aui-color-r-1: 237, 38, 71;
133
+ --aui-color-r-2: 241, 76, 103;
134
+ --aui-color-r-4: 249, 179, 190;
135
+ --aui-color-r-6: 253, 230, 233;
136
+ --aui-color-r-7: 254, 243, 244;
137
+ --aui-color-n-0: 0, 0, 0;
138
+ --aui-color-n-1: 50, 52, 55;
139
+ --aui-color-n-2: 100, 102, 105;
140
+ --aui-color-n-3: 124, 126, 129;
141
+ --aui-color-n-4: 150, 152, 155;
142
+ --aui-color-n-5: 174, 176, 179;
143
+ --aui-color-n-6: 200, 202, 205;
144
+ --aui-color-n-7: 212, 214, 217;
145
+ --aui-color-n-8: 237, 239, 242;
146
+ --aui-color-n-9: 247, 249, 252;
147
+ --aui-color-n-10: 255, 255, 255;
151
148
  }
152
149
  }
153
150
  html[aui-color-mode=dark] {
154
- --aui-color-blue: 61, 142, 255;
155
- --aui-color-b-0: 54, 116, 206;
156
- --aui-color-b-1: 109, 170, 255;
157
- --aui-color-b-2: 52, 111, 196;
158
- --aui-color-b-3: 50, 101, 177;
159
- --aui-color-b-4: 46, 87, 147;
160
- --aui-color-b-5: 38, 56, 88;
161
- --aui-color-b-6: 41, 66, 108;
162
- --aui-color-b-7: 43, 76, 127;
163
- --aui-color-green: 17, 182, 113;
164
- --aui-color-g-0: 21, 146, 99;
165
- --aui-color-g-1: 76, 200, 148;
166
- --aui-color-g-2: 21, 139, 96;
167
- --aui-color-g-4: 26, 105, 82;
168
- --aui-color-g-6: 30, 76, 72;
169
- --aui-color-g-7: 27, 90, 77;
170
- --aui-color-yellow: 237, 172, 44;
171
- --aui-color-y-0: 186, 138, 47;
172
- --aui-color-y-1: 241, 192, 96;
173
- --aui-color-y-2: 175, 132, 48;
174
- --aui-color-y-4: 125, 100, 51;
175
- --aui-color-y-6: 85, 74, 55;
176
- --aui-color-y-7: 104, 87, 53;
177
- --aui-color-red: 226, 50, 79;
178
- --aui-color-r-0: 178, 47, 74;
179
- --aui-color-r-1: 233, 101, 123;
180
- --aui-color-r-2: 167, 46, 73;
181
- --aui-color-r-4: 120, 45, 67;
182
- --aui-color-r-6: 82, 43, 63;
183
- --aui-color-r-7: 100, 44, 65;
184
- --aui-color-n-1: 240, 241, 246;
185
- --aui-color-n-2: 196, 198, 204;
186
- --aui-color-n-3: 180, 183, 192;
187
- --aui-color-n-4: 144, 149, 163;
188
- --aui-color-n-5: 140, 145, 159;
189
- --aui-color-n-6: 116, 121, 135;
190
- --aui-color-n-7: 86, 93, 111;
191
- --aui-color-n-8: 63, 70, 88;
192
- --aui-color-n-9: 52, 59, 77;
193
- --aui-color-n-10: 38, 45, 63;
194
- --aui-color-main-bg: 22, 29, 47;
195
- --aui-color-popper-bg: var(--aui-color-n-9);
151
+ --aui-color-blue: 0, 122, 245;
152
+ --aui-color-b-0: 0, 103, 208;
153
+ --aui-color-b-1: 38, 141, 246;
154
+ --aui-color-b-2: 77, 162, 248;
155
+ --aui-color-b-3: 102, 175, 249;
156
+ --aui-color-b-4: 179, 215, 252;
157
+ --aui-color-b-5: 204, 228, 253;
158
+ --aui-color-b-6: 229, 241, 254;
159
+ --aui-color-b-7: 242, 248, 254;
160
+ --aui-color-green: 0, 194, 97;
161
+ --aui-color-g-0: 0, 165, 82;
162
+ --aui-color-g-1: 38, 203, 120;
163
+ --aui-color-g-2: 76, 212, 144;
164
+ --aui-color-g-4: 179, 236, 207;
165
+ --aui-color-g-6: 230, 249, 239;
166
+ --aui-color-g-7: 242, 251, 246;
167
+ --aui-color-yellow: 245, 163, 0;
168
+ --aui-color-y-0: 220, 146, 0;
169
+ --aui-color-y-1: 246, 176, 38;
170
+ --aui-color-y-2: 248, 190, 77;
171
+ --aui-color-y-4: 252, 227, 179;
172
+ --aui-color-y-6: 254, 245, 230;
173
+ --aui-color-y-7: 254, 250, 243;
174
+ --aui-color-red: 235, 0, 39;
175
+ --aui-color-r-0: 199, 0, 33;
176
+ --aui-color-r-1: 237, 38, 71;
177
+ --aui-color-r-2: 241, 76, 103;
178
+ --aui-color-r-4: 249, 179, 190;
179
+ --aui-color-r-6: 253, 230, 233;
180
+ --aui-color-r-7: 254, 243, 244;
181
+ --aui-color-n-0: 0, 0, 0;
182
+ --aui-color-n-1: 50, 52, 55;
183
+ --aui-color-n-2: 100, 102, 105;
184
+ --aui-color-n-3: 124, 126, 129;
185
+ --aui-color-n-4: 150, 152, 155;
186
+ --aui-color-n-5: 174, 176, 179;
187
+ --aui-color-n-6: 200, 202, 205;
188
+ --aui-color-n-7: 212, 214, 217;
189
+ --aui-color-n-8: 237, 239, 242;
190
+ --aui-color-n-9: 247, 249, 252;
191
+ --aui-color-n-10: 255, 255, 255;
196
192
  }
197
193
 
198
194
  :root {