@alauda/ui 6.3.1-beta → 6.3.1-beta.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/esm2020/date-picker/trigger/trigger.component.mjs +2 -2
- package/esm2020/input/input.component.mjs +2 -2
- package/esm2020/input/tags-input/tags-input.component.mjs +2 -2
- package/esm2020/select/multi-select/multi-select.component.mjs +2 -2
- package/esm2020/select/select.component.mjs +2 -2
- package/esm2020/tabs/tab-header.component.mjs +2 -2
- package/esm2020/time-picker/component.mjs +2 -2
- package/esm2020/tree-select/tree-select.component.mjs +3 -3
- package/fesm2015/alauda-ui.mjs +16 -16
- package/fesm2015/alauda-ui.mjs.map +1 -1
- package/fesm2020/alauda-ui.mjs +16 -16
- package/fesm2020/alauda-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/theme/_mixin.scss +15 -8
- package/theme/_var.scss +0 -1
package/package.json
CHANGED
package/theme/_mixin.scss
CHANGED
|
@@ -1,31 +1,37 @@
|
|
|
1
1
|
@import 'base-var';
|
|
2
2
|
@import 'var';
|
|
3
3
|
|
|
4
|
-
@
|
|
5
|
-
$
|
|
4
|
+
@function theme-selector($host) {
|
|
5
|
+
$scope: &;
|
|
6
|
+
|
|
7
|
+
@if ($scope) {
|
|
8
|
+
@return selector-nest($host, $scope);
|
|
9
|
+
} @else {
|
|
10
|
+
@return $host;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
6
13
|
|
|
14
|
+
@mixin theme-light {
|
|
7
15
|
@at-root {
|
|
8
|
-
:root
|
|
16
|
+
#{theme-selector(':root')} {
|
|
9
17
|
@content;
|
|
10
18
|
}
|
|
11
19
|
|
|
12
|
-
html[aui-theme-mode=
|
|
20
|
+
#{theme-selector('html[aui-theme-mode=light]')} {
|
|
13
21
|
@content;
|
|
14
22
|
}
|
|
15
23
|
}
|
|
16
24
|
}
|
|
17
25
|
|
|
18
26
|
@mixin theme-dark {
|
|
19
|
-
$host: &;
|
|
20
|
-
|
|
21
27
|
@at-root {
|
|
22
28
|
@media (prefers-color-scheme: dark) {
|
|
23
|
-
html[aui-theme-mode=
|
|
29
|
+
#{theme-selector('html[aui-theme-mode=system]')} {
|
|
24
30
|
@content;
|
|
25
31
|
}
|
|
26
32
|
}
|
|
27
33
|
|
|
28
|
-
html[aui-theme-mode=
|
|
34
|
+
#{theme-selector('html[aui-theme-mode=dark]')} {
|
|
29
35
|
@content;
|
|
30
36
|
}
|
|
31
37
|
}
|
|
@@ -103,6 +109,7 @@
|
|
|
103
109
|
width: 4px;
|
|
104
110
|
height: 4px;
|
|
105
111
|
}
|
|
112
|
+
|
|
106
113
|
&::-webkit-scrollbar-thumb {
|
|
107
114
|
background-color: $color;
|
|
108
115
|
}
|
package/theme/_var.scss
CHANGED
|
@@ -313,7 +313,6 @@ $tab-label-font-size-medium: $font-size-large;
|
|
|
313
313
|
$tab-label-font-size-small: $font-size-regular;
|
|
314
314
|
$tab-border: $border-width $border-style #ededed;
|
|
315
315
|
$tab-header-type-card-bg-color: use-rgb(n-9);
|
|
316
|
-
$tab-header-indicator-color: $color-primary;
|
|
317
316
|
$tab-scroll-transition: all 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
318
317
|
$tab-pagination-button-z-index: 3;
|
|
319
318
|
$tab-label-z-index: 2;
|