@alauda/ui 6.5.4-beta.21 → 6.5.4-beta.22
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/accordion/accordion-item/accordion-item.component.mjs +3 -3
- package/esm2020/autocomplete/suggestion/suggestion.component.mjs +2 -2
- package/esm2020/autocomplete/suggestion-group/suggestion-group.component.mjs +2 -2
- package/esm2020/back-top/back-top.component.mjs +2 -2
- package/esm2020/breadcrumb/breadcrumb.component.mjs +2 -2
- package/esm2020/button/button.component.mjs +2 -2
- package/esm2020/card/card.component.mjs +2 -2
- package/esm2020/card/section.component.mjs +2 -2
- package/esm2020/checkbox/checkbox.component.mjs +2 -2
- package/esm2020/color-picker/color-picker.component.mjs +2 -2
- package/esm2020/date-picker/calendar/date-picker-panel/component.mjs +2 -2
- package/esm2020/date-picker/calendar/header/component.mjs +2 -2
- package/esm2020/date-picker/calendar/panel/picker-panel.mjs +2 -2
- package/esm2020/date-picker/calendar/range-picker-panel/component.mjs +2 -2
- package/esm2020/date-picker/trigger/trigger.component.mjs +2 -2
- package/esm2020/dialog/confirm-dialog/confirm-dialog.component.mjs +2 -2
- package/esm2020/dialog/dialog.component.mjs +3 -3
- package/esm2020/drawer/component/drawer.component.mjs +2 -2
- package/esm2020/form/form-item/form-item.component.mjs +2 -2
- package/esm2020/inline-alert/inline-alert.component.mjs +2 -2
- package/esm2020/input/input-group/input-group.component.mjs +2 -2
- package/esm2020/input/input.component.mjs +2 -2
- package/esm2020/input/number-input/number-input.component.mjs +2 -2
- package/esm2020/input/tags-input/tags-input.component.mjs +2 -2
- package/esm2020/message/message.component.mjs +3 -3
- package/esm2020/notification/notification.component.mjs +3 -3
- package/esm2020/paginator/paginator.component.mjs +2 -2
- package/esm2020/radio/radio-button/radio-button.component.mjs +2 -2
- package/esm2020/radio/radio.component.mjs +2 -2
- package/esm2020/select/multi-select/multi-select.component.mjs +2 -2
- package/esm2020/select/option/option.component.mjs +2 -2
- package/esm2020/select/option-group/option-group.component.mjs +2 -2
- package/esm2020/steps/steps.component.mjs +2 -2
- package/esm2020/table/table.component.mjs +2 -2
- package/esm2020/tabs/tab-header.component.mjs +2 -2
- package/esm2020/tag/check-tag/check-tag.component.mjs +2 -2
- package/esm2020/tag/tag.component.mjs +2 -2
- package/esm2020/time-picker/panel/panel.component.mjs +2 -2
- package/esm2020/tooltip/tooltip.component.mjs +2 -2
- package/esm2020/tree-select/tree-select.component.mjs +3 -3
- package/fesm2015/alauda-ui.mjs +80 -80
- package/fesm2015/alauda-ui.mjs.map +1 -1
- package/fesm2020/alauda-ui.mjs +80 -80
- package/fesm2020/alauda-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/theme/_mixin.scss +2 -1
- package/theme/_theme-preset.scss +3 -0
- package/theme/style.css +10 -1
package/package.json
CHANGED
package/theme/_mixin.scss
CHANGED
|
@@ -39,9 +39,10 @@
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
@mixin text-set($size: m, $color: none) {
|
|
42
|
+
@mixin text-set($size: m, $color: none, $weight: normal) {
|
|
43
43
|
font-size: use-var(font-size-#{$size});
|
|
44
44
|
line-height: use-var(line-height-#{$size});
|
|
45
|
+
font-weight: use-var(font-weight-#{$weight});
|
|
45
46
|
@if $color != none {
|
|
46
47
|
color: use-text-color($color);
|
|
47
48
|
}
|
package/theme/_theme-preset.scss
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
--aui-spacing-s: 4px;
|
|
21
21
|
--aui-spacing-xs: 2px;
|
|
22
22
|
--aui-font-weight-bold: 500;
|
|
23
|
+
--aui-font-weight-bolder: 600;
|
|
23
24
|
--aui-font-weight-normal: 400;
|
|
24
25
|
--aui-font-size-xxl: 20px;
|
|
25
26
|
--aui-font-size-xl: 18px;
|
|
@@ -50,6 +51,7 @@
|
|
|
50
51
|
|
|
51
52
|
@mixin light-mode {
|
|
52
53
|
color-scheme: light;
|
|
54
|
+
|
|
53
55
|
--aui-color-blue: #{rgb-string(#007af5)};
|
|
54
56
|
--aui-color-b-0: #{rgb-string(#0067d0)};
|
|
55
57
|
--aui-color-b-1: #{rgb-string(#268df6)};
|
|
@@ -114,6 +116,7 @@
|
|
|
114
116
|
|
|
115
117
|
@mixin dark-mode {
|
|
116
118
|
color-scheme: dark;
|
|
119
|
+
|
|
117
120
|
--aui-color-blue: #{rgb-string(#3d8eff)};
|
|
118
121
|
--aui-color-b-0: #{rgb-string(#3674cc)};
|
|
119
122
|
--aui-color-b-1: #{rgb-string(#6daaff)};
|
package/theme/style.css
CHANGED
|
@@ -276,6 +276,7 @@ html[aui-theme-mode=dark] {
|
|
|
276
276
|
--aui-spacing-s: 4px;
|
|
277
277
|
--aui-spacing-xs: 2px;
|
|
278
278
|
--aui-font-weight-bold: 500;
|
|
279
|
+
--aui-font-weight-bolder: 600;
|
|
279
280
|
--aui-font-weight-normal: 400;
|
|
280
281
|
--aui-font-size-xxl: 20px;
|
|
281
282
|
--aui-font-size-xl: 18px;
|
|
@@ -301,12 +302,20 @@ html[aui-theme-mode=dark] {
|
|
|
301
302
|
}
|
|
302
303
|
|
|
303
304
|
body {
|
|
304
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "
|
|
305
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", Arial, "Microsoft YaHei", sans-serif;
|
|
305
306
|
font-size: 14px;
|
|
306
307
|
font-weight: 400;
|
|
307
308
|
line-height: 1.43;
|
|
308
309
|
}
|
|
309
310
|
|
|
311
|
+
input,
|
|
312
|
+
textarea,
|
|
313
|
+
button {
|
|
314
|
+
font-size: var(--aui-font-size-m);
|
|
315
|
+
line-height: var(--aui-line-height-m);
|
|
316
|
+
font-weight: var(--aui-font-weight-normal);
|
|
317
|
+
}
|
|
318
|
+
|
|
310
319
|
a {
|
|
311
320
|
color: rgb(var(--aui-color-primary));
|
|
312
321
|
text-decoration: none;
|