@alauda/ui 6.1.5-beta.2 → 6.1.5-beta.6

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 (41) hide show
  1. package/alauda-ui.metadata.json +1 -1
  2. package/bundles/alauda-ui.umd.js +30 -20
  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/esm2015/autocomplete/autocomplete.component.js +1 -1
  7. package/esm2015/autocomplete/autocomplete.component.scss.ngstyle.js +1 -1
  8. package/esm2015/button/button.component.js +1 -1
  9. package/esm2015/button/button.component.scss.ngstyle.js +1 -1
  10. package/esm2015/color-picker/color-picker.component.js +1 -1
  11. package/esm2015/color-picker/color-picker.component.scss.ngstyle.js +1 -1
  12. package/esm2015/date-picker/calendar/panel/picker-panel.js +4 -4
  13. package/esm2015/dropdown/menu/menu.component.js +1 -1
  14. package/esm2015/dropdown/menu/menu.component.scss.ngstyle.js +1 -1
  15. package/esm2015/dropdown/menu-item/menu-item.component.js +1 -1
  16. package/esm2015/dropdown/menu-item/menu-item.component.scss.ngstyle.js +1 -1
  17. package/esm2015/dropdown/submenu/submenu.component.js +1 -1
  18. package/esm2015/dropdown/submenu/submenu.component.scss.ngstyle.js +1 -1
  19. package/esm2015/input/input.component.js +1 -1
  20. package/esm2015/input/input.component.scss.ngstyle.js +1 -1
  21. package/esm2015/input/tags-input/tags-input.component.js +1 -1
  22. package/esm2015/select/multi-select/multi-select.component.js +1 -1
  23. package/esm2015/select/multi-select/multi-select.component.scss.ngstyle.js +1 -1
  24. package/esm2015/select/select.component.js +1 -1
  25. package/esm2015/select/select.component.scss.ngstyle.js +1 -1
  26. package/esm2015/table/table.component.js +8 -4
  27. package/esm2015/time-picker/panel/panel.component.js +1 -1
  28. package/esm2015/time-picker/panel/panel.style.scss.ngstyle.js +1 -1
  29. package/esm2015/tooltip/tooltip.component.js +1 -1
  30. package/esm2015/tooltip/tooltip.component.scss.ngstyle.js +1 -1
  31. package/esm2015/tree-select/tree-select.component.js +1 -1
  32. package/esm2015/tree-select/tree-select.component.scss.ngstyle.js +1 -1
  33. package/fesm2015/alauda-ui.js +23 -19
  34. package/fesm2015/alauda-ui.js.map +1 -1
  35. package/package.json +1 -1
  36. package/table/table.component.d.ts +2 -1
  37. package/theme/_base-var.scss +32 -16
  38. package/theme/_mixin.scss +56 -43
  39. package/theme/_pattern.scss +15 -15
  40. package/theme/_var.scss +17 -17
  41. package/theme/style.css +88 -84
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda/ui",
3
- "version": "6.1.5-beta.2",
3
+ "version": "6.1.5-beta.6",
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",
@@ -5,7 +5,8 @@ export declare class TableComponent<T> extends CdkTable<T> implements AfterConte
5
5
  enableScrollWrapper: boolean;
6
6
  _placeholderOutlet: TablePlaceholderOutlet;
7
7
  _placeholderDef: TablePlaceholderDefDirective;
8
- protected stickyCssClass: string;
8
+ protected get stickyCssClass(): string;
9
+ protected set stickyCssClass(_: string);
9
10
  ngAfterContentInit(): void;
10
11
  private _createPlaceholder;
11
12
  private _clearPlaceholder;
@@ -1,35 +1,51 @@
1
1
  @use "sass:string";
2
2
 
3
- @function get-size($name) {
3
+ @function use-var($name) {
4
4
  @return var(--aui-#{$name});
5
5
  }
6
6
 
7
- @function get-color($name: primary, $level: none) {
7
+ @function use-rgb($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 get-text-color($level: main) {
14
+ @function use-rgba($name, $opacity) {
15
+ @return rgba(var(--aui-color-#{$name}), $opacity);
16
+ }
17
+
18
+ @function use-text-color($level: main) {
15
19
  @if $level == main {
16
- @return get-color(n-1);
20
+ @return use-rgb(n-1);
17
21
  } @else if $level == secondary {
18
- @return get-color(n-2);
22
+ @return use-rgb(n-2);
19
23
  } @else if $level == help {
20
- @return get-color(n-4);
24
+ @return use-rgb(n-4);
21
25
  } @else if $level == disabled or $level == placeholder {
22
- @return get-color(n-6);
26
+ @return use-rgb(n-6);
23
27
  } @else {
24
- @return get-color($level);
28
+ @return use-rgb($level);
25
29
  }
26
30
  }
27
31
 
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
+
28
44
  @function get-rgba($name, $opacity) {
29
- @return rgba(var(--aui-color-#{$name}), $opacity);
45
+ @return use-rgba($name, $opacity);
30
46
  }
31
47
 
32
- $divider-line: 1px solid get-color(n-8);
48
+ $divider-line: 1px solid use-rgb(n-8);
33
49
 
34
50
  /**
35
51
  ******************************
@@ -97,13 +113,13 @@ $color-danger-darker: mix($color-black, $color-primary, 20%);
97
113
  $color-error-darker: $color-danger-dark;
98
114
  $color-info-darker: mix($color-black, $color-primary, 20%);
99
115
 
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);
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);
105
121
 
106
- $color-disabled-bg: get-color(n-8);
122
+ $color-disabled-bg: use-rgb(n-8);
107
123
 
108
124
  // Font
109
125
  $font-size-extra-large: 20px;
package/theme/_mixin.scss CHANGED
@@ -2,66 +2,79 @@
2
2
  @import 'var';
3
3
 
4
4
  @mixin theme-light {
5
- :root {
6
- @content;
7
- }
5
+ $host: &;
6
+
7
+ @at-root {
8
+ :root #{$host} {
9
+ @content;
10
+ }
8
11
 
9
- html[aui-color-mode='light'] {
10
- @content;
12
+ html[aui-color-mode='light'] #{$host} {
13
+ @content;
14
+ }
11
15
  }
12
16
  }
13
17
 
14
18
  @mixin theme-dark {
15
- @media (prefers-color-scheme: dark) {
16
- html[aui-color-mode='auto'] {
17
- @content;
19
+ $host: &;
20
+
21
+ @at-root {
22
+ @media (prefers-color-scheme: dark) {
23
+ html[aui-color-mode='auto'] #{$host} {
24
+ @content;
25
+ }
18
26
  }
19
- }
20
27
 
21
- html[aui-color-mode='dark'] {
22
- @content;
28
+ html[aui-color-mode='dark'] #{$host} {
29
+ @content;
30
+ }
23
31
  }
24
32
  }
25
33
 
26
34
  @mixin text-set($size: m, $color: none) {
27
- font-size: get-size(font-size-#{$size});
28
- line-height: get-size(line-height-#{$size});
35
+ font-size: use-var(font-size-#{$size});
36
+ line-height: use-var(line-height-#{$size});
29
37
  @if $color != none {
30
- color: get-text-color($color);
38
+ color: use-text-color($color);
31
39
  }
32
40
  }
33
41
 
34
42
  @mixin icon-set($size: m, $color: none) {
35
43
  display: inline-flex;
36
44
  align-items: center;
37
- height: get-size(line-height-#{$size});
38
- font-size: get-size(font-size-#{$size});
45
+ height: use-var(line-height-#{$size});
46
+ font-size: use-var(font-size-#{$size});
39
47
  @if $color != none {
40
- color: get-text-color($color);
48
+ color: use-text-color($color);
41
49
  }
42
50
  }
43
51
 
44
52
  // 使用 box-shadow 模拟带圆角的 outline
45
53
  @mixin outline-shadow($color: primary) {
46
- box-shadow: 0 0 0 2px get-rgba($color, 0.16);
54
+ box-shadow: 0 0 0 2px use-rgba($color, 0.16);
47
55
  }
48
56
 
49
57
  @mixin card-shadow() {
50
- box-shadow: 0 0 4px 0 get-rgba(n-1, 0.1);
58
+ box-shadow: 0 0 4px 0 use-rgba(n-1, 0.1);
51
59
  }
52
60
 
53
61
  @mixin popper-shadow() {
54
- box-shadow: 0 2px 8px 0 get-rgba(n-1, 0.2);
62
+ @include theme-light {
63
+ box-shadow: 0 2px 8px 0 use-rgba(n-1, 0.2);
64
+ }
65
+ @include theme-dark {
66
+ box-shadow: 0 2px 8px 0 use-rgba(main-bg, 0.75);
67
+ }
55
68
  }
56
69
 
57
70
  @mixin modal-shadow() {
58
- box-shadow: 0 4px 16px 0 get-rgba(n-1, 0.2);
71
+ box-shadow: 0 4px 16px 0 use-rgba(n-1, 0.2);
59
72
  }
60
73
  @mixin page-header-shadow() {
61
- box-shadow: 0 1px 4px 0 get-rgba(n-1, 0.1);
74
+ box-shadow: 0 1px 4px 0 use-rgba(n-1, 0.1);
62
75
  }
63
76
  @mixin page-snackbar-shadow() {
64
- box-shadow: 0 -1px 4px 0 get-rgba(n-1, 0.1);
77
+ box-shadow: 0 -1px 4px 0 use-rgba(n-1, 0.1);
65
78
  }
66
79
 
67
80
  @mixin transition($target: all) {
@@ -102,7 +115,7 @@
102
115
  &__icon-container {
103
116
  display: block;
104
117
  position: relative;
105
- color: get-color(n-4);
118
+ color: use-rgb(n-4);
106
119
  }
107
120
 
108
121
  &__clear {
@@ -125,7 +138,7 @@
125
138
  }
126
139
 
127
140
  @mixin input-error() {
128
- border-color: get-color(red) !important;
141
+ border-color: use-rgb(red) !important;
129
142
 
130
143
  &:focus,
131
144
  &.isFocused {
@@ -137,12 +150,12 @@
137
150
  display: inline-flex;
138
151
  justify-content: center;
139
152
  align-items: center;
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);
153
+ width: use-var(icon-size-m);
154
+ height: use-var(icon-size-m);
155
+ font-size: use-var(icon-size-m);
156
+ line-height: use-var(icon-size-m);
157
+ color: use-rgb(primary);
158
+ background-color: use-rgb(p-6);
146
159
  border-radius: 50%;
147
160
  border: none;
148
161
  cursor: pointer;
@@ -150,36 +163,36 @@
150
163
 
151
164
  aui-icon {
152
165
  display: block;
153
- width: get-size(icon-size-m);
154
- height: get-size(icon-size-m);
166
+ width: use-var(icon-size-m);
167
+ height: use-var(icon-size-m);
155
168
  }
156
169
 
157
170
  &:hover {
158
- background-color: get-color(p-7);
171
+ background-color: use-rgb(p-7);
159
172
  }
160
173
 
161
174
  &:active {
162
- background-color: get-color(p-5);
175
+ background-color: use-rgb(p-5);
163
176
  }
164
177
 
165
178
  &.isExpanded {
166
179
  transform: rotate(90deg);
167
- color: get-color(n-10);
168
- background-color: get-color(primary);
180
+ color: use-rgb(n-10);
181
+ background-color: use-rgb(primary);
169
182
 
170
183
  &:hover {
171
- background-color: get-color(p-1);
184
+ background-color: use-rgb(p-1);
172
185
  }
173
186
 
174
187
  &:active {
175
- background-color: get-color(p-0);
188
+ background-color: use-rgb(p-0);
176
189
  }
177
190
  }
178
191
 
179
192
  &[disabled],
180
193
  &.isExpanded[disabled] {
181
- background-color: get-color(n-8);
182
- color: get-color(n-6);
194
+ background-color: use-rgb(n-8);
195
+ color: use-rgb(n-6);
183
196
  cursor: not-allowed;
184
197
  }
185
198
  }
@@ -211,8 +224,8 @@
211
224
  @mixin vertical-dashed-line($width: 1px, $color: 'n-7') {
212
225
  background: linear-gradient(
213
226
  to bottom,
214
- get-color($color),
215
- get-color($color) 8px,
227
+ use-rgb($color),
228
+ use-rgb($color) 8px,
216
229
  transparent 6px,
217
230
  transparent
218
231
  );
@@ -2,26 +2,26 @@
2
2
  @import 'mixin';
3
3
 
4
4
  @mixin shadow-0 {
5
- border-radius: get-size(border-radius-m);
6
- background-color: get-color(n-10);
5
+ border-radius: use-var(border-radius-m);
6
+ background-color: use-rgb(n-10);
7
7
  }
8
8
 
9
9
  @mixin shadow-2 {
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);
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);
13
13
  }
14
14
 
15
15
  @mixin shadow-8 {
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);
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);
19
19
  }
20
20
 
21
21
  @mixin shadow-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);
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);
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: get-color(n-10);
50
- border: solid 1px get-color(n-8);
51
- border-radius: get-size(border-radius-l);
49
+ background-color: use-rgb(n-10);
50
+ border: solid 1px use-rgb(n-8);
51
+ border-radius: use-var(border-radius-l);
52
52
 
53
53
  > aui-icon:first-child {
54
- margin-right: get-size(spacing-m);
54
+ margin-right: use-var(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: 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),
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),
166
166
  ),
167
167
  medium: (
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),
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),
172
172
  ),
173
173
  small: (
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),
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),
178
178
  ),
179
179
  mini: (
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),
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),
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: get-color(n-9);
313
+ $tab-header-type-card-bg-color: use-rgb(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,7 +45,6 @@
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;
49
48
  --aui-color-n-1: 50, 52, 55;
50
49
  --aui-color-n-2: 100, 102, 105;
51
50
  --aui-color-n-3: 124, 126, 129;
@@ -56,6 +55,8 @@
56
55
  --aui-color-n-8: 237, 239, 242;
57
56
  --aui-color-n-9: 247, 249, 252;
58
57
  --aui-color-n-10: 255, 255, 255;
58
+ --aui-color-main-bg: var(--aui-color-n-9);
59
+ --aui-color-popover-bg: var(--aui-color-n-10);
59
60
  }
60
61
 
61
62
  html[aui-color-mode=light] {
@@ -89,7 +90,6 @@ html[aui-color-mode=light] {
89
90
  --aui-color-r-4: 249, 179, 190;
90
91
  --aui-color-r-6: 253, 230, 233;
91
92
  --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,95 +100,99 @@ 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-popover-bg: var(--aui-color-n-10);
103
105
  }
104
106
 
105
107
  @media (prefers-color-scheme: dark) {
106
108
  html[aui-color-mode=auto] {
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;
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-popover-bg: var(--aui-color-n-9);
148
151
  }
149
152
  }
150
153
  html[aui-color-mode=dark] {
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;
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-popover-bg: var(--aui-color-n-9);
192
196
  }
193
197
 
194
198
  :root {