@fox-js/foxui-pad 4.1.5 → 4.1.7

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 (55) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.esm.js +6398 -6297
  3. package/dist/index.umd.js +1 -1
  4. package/dist/style.css +58 -41
  5. package/dist/style.js +1 -1
  6. package/dist/theme/common/base.scss +44 -0
  7. package/dist/theme/common/border.scss +25 -0
  8. package/dist/theme/common/color.scss +143 -0
  9. package/dist/theme/common/fill.scss +38 -0
  10. package/dist/theme/common/shadow.scss +19 -0
  11. package/dist/theme/common/typography.scss +34 -0
  12. package/dist/theme/common/var.scss +7 -0
  13. package/dist/theme/components/actionsheet.scss +58 -0
  14. package/dist/theme/components/buttons-item.scss +18 -0
  15. package/dist/theme/components/calendar.scss +35 -0
  16. package/dist/theme/components/cascader.scss +37 -0
  17. package/dist/theme/components/content.scss +21 -0
  18. package/dist/theme/components/dialog.scss +53 -0
  19. package/dist/theme/components/floating-button.scss +25 -0
  20. package/dist/theme/components/floating-window.scss +36 -0
  21. package/dist/theme/components/footer-bar.scss +24 -0
  22. package/dist/theme/components/group.scss +32 -0
  23. package/dist/theme/components/header-bar.scss +39 -0
  24. package/dist/theme/components/hint-text.scss +24 -0
  25. package/dist/theme/components/index.scss +36 -0
  26. package/dist/theme/components/infiniteloading.scss +16 -0
  27. package/dist/theme/components/input-item.scss +52 -0
  28. package/dist/theme/components/input-number-item.scss +23 -0
  29. package/dist/theme/components/input.scss +20 -0
  30. package/dist/theme/components/link-item.scss +19 -0
  31. package/dist/theme/components/messagebox.scss +68 -0
  32. package/dist/theme/components/numberkeyboard.scss +37 -0
  33. package/dist/theme/components/picker.scss +28 -0
  34. package/dist/theme/components/popover-dialog.scss +28 -0
  35. package/dist/theme/components/popup-wrapper.scss +47 -0
  36. package/dist/theme/components/popup.scss +21 -0
  37. package/dist/theme/components/price.scss +24 -0
  38. package/dist/theme/components/radio.scss +36 -0
  39. package/dist/theme/components/row-item.scss +21 -0
  40. package/dist/theme/components/searchbar.scss +29 -0
  41. package/dist/theme/components/shortpassword.scss +19 -0
  42. package/dist/theme/components/slot-item.scss +17 -0
  43. package/dist/theme/components/steps-bar.scss +59 -0
  44. package/dist/theme/components/switch-item.scss +16 -0
  45. package/dist/theme/components/tabs-bar.scss +111 -0
  46. package/dist/theme/components/tabs-frame.scss +16 -0
  47. package/dist/theme/components/text.scss +38 -0
  48. package/dist/theme/components/toast.scss +22 -0
  49. package/dist/theme/dark/css-vars.scss +31 -0
  50. package/dist/theme/dark/var.scss +10 -0
  51. package/dist/theme/index.scss +162 -0
  52. package/dist/theme/mixins/_css-var.scss +47 -0
  53. package/dist/theme/mixins/index.scss +1 -0
  54. package/dist/theme/readme.md +244 -0
  55. package/package.json +1 -1
@@ -0,0 +1,58 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 动作面板 组件 Design Token
10
+ $actionsheet: () !default;
11
+ $actionsheet: map.deep-merge(
12
+ (
13
+ 'width': 40%,
14
+ 'height': null,
15
+ 'padding': 0px 16px,
16
+ 'row-gap': 10px,
17
+ 'header-height': 60px,
18
+ 'header-title-font-size': $font-size-large,
19
+ 'header-title-font-weight': 500,
20
+ 'header-title-color': $title-color,
21
+ 'header-title-align': center,
22
+ 'header-icon-color': $text-color-secondary,
23
+ 'header-icon-size': $font-size-base,
24
+ 'searchbar-height': 40px,
25
+ 'searchbar-box-shadow': none,
26
+ 'searchbar-border-radius': 12px,
27
+ 'searchbar-background': $fill-color-base,
28
+ 'tagbar-gap': 8px,
29
+ 'tag-padding': 2px 6px,
30
+ 'tag-color': $color-primary,
31
+ 'tag-background-color': $color-primary-light-9,
32
+ 'tag-border': 1px solid $color-primary-light-8,
33
+ 'tag-border-radius': 4px,
34
+ 'tag-font-size': $font-size-small,
35
+ 'list-height': 380px,
36
+ 'list-inner-height': 100%,
37
+ 'list-item-height': auto,
38
+ 'list-item-gutter': 28px,
39
+ 'list-item-label-padding': 0 10px 0 0,
40
+ 'list-item-text-font-size': $font-size-medium,
41
+ 'list-item-text-font-weight': 400,
42
+ 'list-item-text-line-height': 24px,
43
+ 'list-item-text-color': $title-color,
44
+ 'list-item-text-margin': 0,
45
+ 'list-item-subtext-margin': 8px 0 0 0,
46
+ 'list-item-subtext-font-size': $font-size-small,
47
+ 'list-item-subtext-font-weight': 400,
48
+ 'list-item-subtext-color': $text-color-secondary,
49
+ 'list-item-icon-color': $disabled-color,
50
+ 'list-item-icon-color-active': $color-primary,
51
+ 'list-item-icon-color-disable': $disabled-color,
52
+ 'list-item-icon-size': $font-size-medium,
53
+ 'footer-height': 60px,
54
+ 'footer-button-min-width': 100%,
55
+ 'footer-button-height': 36px
56
+ ),
57
+ $actionsheet
58
+ );
@@ -0,0 +1,18 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 按钮组 组件 Design Token
10
+ $buttons-item: () !default;
11
+ $buttons-item: map.deep-merge(
12
+ (
13
+ 'dropdown-link-icon-size': $font-size-medium,
14
+ 'dropdown-link-icon-color': null,
15
+ 'dropdown-link-text-font-size': $font-size-small
16
+ ),
17
+ $buttons-item
18
+ );
@@ -0,0 +1,35 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 日历 组件 Design Token
10
+ $calendar: () !default;
11
+ $calendar: map.deep-merge(
12
+ (
13
+ 'width': 40%,
14
+ 'primary-color': $color-primary,
15
+ 'choose-color': $color-primary,
16
+ 'choose-font-color': $color-primary,
17
+ 'base-color': $title-color,
18
+ 'disable-color': $disabled-color,
19
+ 'base-font': $font-size-medium,
20
+ 'title-font': $font-size-large,
21
+ 'title-font-weight': 500,
22
+ 'sub-title-font': $font-size-base,
23
+ 'text-font': $font-size-small,
24
+ 'day-font': $font-size-medium,
25
+ 'day-active-border-radius': 0px,
26
+ 'day-font-weight': 500,
27
+ 'day67-font-color': $color-primary,
28
+ 'month-title-font-size': inherit,
29
+ 'popup-height': 85vh,
30
+ 'footer-button-min-width': 100%,
31
+ 'footer-button-height': 44px,
32
+ 'footer-button-background-color': $color-primary
33
+ ),
34
+ $calendar
35
+ );
@@ -0,0 +1,37 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 级联选择器 组件 Design Token
10
+ $cascader: () !default;
11
+ $cascader: map.deep-merge(
12
+ (
13
+ 'width': 40%,
14
+ 'font-size': $font-size-base,
15
+ 'line-height': 22px,
16
+ 'tabs-titles-background-color': $white,
17
+ 'tabs-titles-item-padding': 0 10px,
18
+ 'bar-padding': 24px 20px 12px 20px,
19
+ 'bar-title-align': center,
20
+ 'bar-title-color': $title-color,
21
+ 'bar-title-font-weight': bold,
22
+ 'bar-title-font-size': $font-size-large,
23
+ 'bar-title-line-height': 1.5,
24
+ 'bar-title-icon-color': $text-color-secondary,
25
+ 'bar-title-icon-size': $font-size-base,
26
+ 'bar-searchbar-box-shadow': none,
27
+ 'bar-searchbar-border-radius': 12px,
28
+ 'bar-searchbar-background': $fill-color-base,
29
+ 'bar-searchbar-icon-size': 16px,
30
+ 'bar-searchbar-icon-color': $text-color-secondary,
31
+ 'item-padding': 10px 20px,
32
+ 'item-color': $title-color,
33
+ 'item-font-size': $font-size-base,
34
+ 'item-active-color': $color-primary
35
+ ),
36
+ $cascader
37
+ );
@@ -0,0 +1,21 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 页面内容区 组件 Design Token
10
+ $content: () !default;
11
+ $content: map.deep-merge(
12
+ (
13
+ 'background': $white,
14
+ 'height-inner': 100%,
15
+ 'padding-top': null,
16
+ 'padding-right': null,
17
+ 'padding-bottom': null,
18
+ 'padding-left': null,
19
+ ),
20
+ $content
21
+ );
@@ -0,0 +1,53 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 对话框 组件 Design Token
10
+ $dialog: () !default;
11
+ $dialog: map.deep-merge(
12
+ (
13
+ 'popup-width': 80%,
14
+ 'popup-height': auto,
15
+ 'popup-border-radius': 20px,
16
+ 'background': transparent,
17
+ 'min-height': 156px,
18
+ 'padding': 28px 24px 16px 24px,
19
+ 'header-height': 20px,
20
+ 'header-background': transparent,
21
+ 'header-padding': 0px,
22
+ 'header-layout': row nowrap,
23
+ 'header-justify-content': center,
24
+ 'header-align-items': center,
25
+ 'header-font-size': $font-size-medium,
26
+ 'header-font-weight': normal,
27
+ 'header-color': $title-color,
28
+ 'header-close-icon-color': $text-color-secondary,
29
+ 'header-close-icon-size': $font-size-medium,
30
+ 'body-background': transparent,
31
+ 'body-margin': 20px 0px,
32
+ 'body-padding': 0px,
33
+ 'content-padding': 0px,
34
+ 'content-text-align': center,
35
+ 'content-font-size': $font-size-small,
36
+ 'content-line-height': 16px,
37
+ 'content-color': $text-color-regular,
38
+ 'footer-border-top': 1px solid $border-color-lighter,
39
+ 'footer-height': auto,
40
+ 'footer-background': transparent,
41
+ 'footer-padding': 0px,
42
+ 'footer-layout': row nowrap,
43
+ 'footer-justify-content': space-around,
44
+ 'footer-align-items': center,
45
+ 'footer-button-padding': 10px,
46
+ 'footer-button-font-size': $font-size-medium,
47
+ 'footer-button-color': $title-color-secondary,
48
+ 'footer-button-color-primary': $color-danger,
49
+ 'footer-button-font-weight': 400,
50
+ 'footer-button-border-left': 1px solid $border-color-lighter
51
+ ),
52
+ $dialog
53
+ );
@@ -0,0 +1,25 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 悬浮按钮 组件 Design Token
10
+ $floating-button: () !default;
11
+ $floating-button: map.deep-merge(
12
+ (
13
+ 'position': absolute,
14
+ 'z-index': 3600,
15
+ 'width': 52px,
16
+ 'height': 52px,
17
+ 'opacity': 1,
18
+ 'color': $white,
19
+ 'border-radius': 50%,
20
+ 'background': $color-primary,
21
+ 'box-shadow': $box-shadow-light,
22
+ 'icon-size': $font-size-extra-large
23
+ ),
24
+ $floating-button
25
+ );
@@ -0,0 +1,36 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 悬浮窗 组件 Design Token
10
+ $floating-window: () !default;
11
+ $floating-window: map.deep-merge(
12
+ (
13
+ 'header-height': 40px,
14
+ 'header-background': $fill-color-base,
15
+ 'header-padding': 0 25px,
16
+ 'border-radius': 4px,
17
+ 'width': 50dvw,
18
+ 'top': 15dvh,
19
+ 'left': 25dvw,
20
+ 'background': $background-color,
21
+ 'box-shadow': $box-shadow,
22
+ 'title-font-size': $font-size-medium,
23
+ 'content-font-size': $font-size-base,
24
+ 'z-index': 2001,
25
+ 'collapse-color': $color-primary,
26
+ 'collapse-font-size': $font-size-base,
27
+ 'close-color': inherit,
28
+ 'close-hover-color': $color-primary,
29
+ 'fixednav-z-index': 2000,
30
+ 'fixednav-bg': $color-primary,
31
+ 'fixednav-color': $white,
32
+ 'fixednav-width': 80px,
33
+ 'fixednav-height': 50px
34
+ ),
35
+ $floating-window
36
+ );
@@ -0,0 +1,24 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 页面底部导航 组件 Design Token
10
+ $footer-bar: () !default;
11
+ $footer-bar: map.deep-merge(
12
+ (
13
+ 'fixed': absolute,
14
+ 'min-height': 50px,
15
+ 'padding': 7px 0,
16
+ 'box-sizing': content-box,
17
+ 'z-index': 10,
18
+ 'background-color': $white,
19
+ 'border-top': 1px solid $border-color-lighter,
20
+ 'border-bottom': 1px solid $border-color-lighter,
21
+ 'box-shadow': none,
22
+ ),
23
+ $footer-bar
24
+ );
@@ -0,0 +1,32 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 组布局 组件 Design Token
10
+ $group: () !default;
11
+ $group: map.deep-merge(
12
+ (
13
+ 'padding': 0,
14
+ 'header-padding': 0,
15
+ 'header-margin': 0 0 10px 0,
16
+ 'header-color': $title-color,
17
+ 'header-font-size': $font-size-base,
18
+ 'header-font-weight': 400,
19
+ 'header-line-height': 1,
20
+ 'header-mark-color': $color-primary,
21
+ 'header-mark-width': 3px,
22
+ 'header-mark-height': 15px,
23
+ 'header-collapse-font-size': $font-size-base,
24
+ 'header-collapse-color': $color-primary,
25
+ 'header-collapse-gutter': 2px,
26
+ 'header-collapse-icon-size': $font-size-small,
27
+ 'background-color': inherit,
28
+ 'flow-padding': 0,
29
+ 'grid-padding': 0,
30
+ ),
31
+ $group
32
+ );
@@ -0,0 +1,39 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 页面头部导航 组件 Design Token
10
+ $header-bar: () !default;
11
+ $header-bar: map.deep-merge(
12
+ (
13
+ 'fixed': absolute,
14
+ 'min-height': auto,
15
+ 'z-index': 10,
16
+ 'box-sizing': content-box,
17
+ 'color': $title-color,
18
+ 'background-color': $white,
19
+ 'border-top': 0px solid $border-color-lighter,
20
+ 'border-bottom': 1px solid $border-color-lighter,
21
+ 'box-shadow': 0px 1px 7px 0px $border-color-lighter,
22
+ 'left-font-size': $font-size-medium,
23
+ 'left-icon-size': $font-size-large,
24
+ 'left-padding': 0 16px,
25
+ 'right-font-size': $font-size-medium,
26
+ 'right-padding': 0 16px,
27
+ 'right-icon-size': $font-size-large,
28
+ 'title-font-size': $font-size-medium,
29
+ 'title-icon-size': $font-size-large,
30
+ 'inner-height': 44px,
31
+ 'inner-background-color': unset,
32
+ 'inner-padding': 0px,
33
+ 'inner-box-sizing': content-box,
34
+ 'bottom-height': auto,
35
+ 'bottom-padding': 0px,
36
+ 'bottom-box-sizing': border-box,
37
+ ),
38
+ $header-bar
39
+ );
@@ -0,0 +1,24 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 提示文本 组件 Design Token
10
+ $hint-text: () !default;
11
+ $hint-text: map.deep-merge(
12
+ (
13
+ 'font-size': $font-size-base,
14
+ 'font-size-small': $font-size-small,
15
+ 'font-size-large': $font-size-large,
16
+ 'padding': 6px 8px,
17
+ 'box-shadow': $box-shadow,
18
+ 'color': $white,
19
+ 'background-color': $overlay-text-bg-color,
20
+ 'z-index': 3000,
21
+ 'arrow-size': 6px
22
+ ),
23
+ $hint-text
24
+ );
@@ -0,0 +1,36 @@
1
+ // 组件 Design Token 统一导出
2
+ @forward 'actionsheet';
3
+ @forward 'buttons-item';
4
+ @forward 'calendar';
5
+ @forward 'cascader';
6
+ @forward 'content';
7
+ @forward 'dialog';
8
+ @forward 'floating-button';
9
+ @forward 'floating-window';
10
+ @forward 'footer-bar';
11
+ @forward 'group';
12
+ @forward 'header-bar';
13
+ @forward 'hint-text';
14
+ @forward 'infiniteloading';
15
+ @forward 'input';
16
+ @forward 'input-item';
17
+ @forward 'input-number-item';
18
+ @forward 'link-item';
19
+ @forward 'messagebox';
20
+ @forward 'numberkeyboard';
21
+ @forward 'picker';
22
+ @forward 'popover-dialog';
23
+ @forward 'popup';
24
+ @forward 'popup-wrapper';
25
+ @forward 'price';
26
+ @forward 'radio';
27
+ @forward 'row-item';
28
+ @forward 'searchbar';
29
+ @forward 'shortpassword';
30
+ @forward 'slot-item';
31
+ @forward 'steps-bar';
32
+ @forward 'switch-item';
33
+ @forward 'tabs-bar';
34
+ @forward 'tabs-frame';
35
+ @forward 'text';
36
+ @forward 'toast';
@@ -0,0 +1,16 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 无限加载 组件 Design Token
10
+ $infiniteloading: () !default;
11
+ $infiniteloading: map.deep-merge(
12
+ (
13
+ 'bottom-color': $disabled-color
14
+ ),
15
+ $infiniteloading
16
+ );
@@ -0,0 +1,52 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 输入框 组件 Design Token
10
+ $input-item: () !default;
11
+ $input-item: map.deep-merge(
12
+ (
13
+ 'width': null,
14
+ 'min-width': 0,
15
+ 'max-width': null,
16
+ 'padding': null,
17
+ 'margin': null,
18
+ 'text-align': right,
19
+ 'label-width': 30%,
20
+ 'label-font-size': $font-size-base,
21
+ 'label-font-weight': 400,
22
+ 'label-line-height': auto,
23
+ 'label-color': $black,
24
+ 'label-padding-top': 0,
25
+ 'label-padding-left': 0 10px 0 0,
26
+ 'label-padding-right': 0 10px 0 0,
27
+ 'append-width': 30px,
28
+ 'append-font-size': $font-size-base,
29
+ 'append-action-icon-size': $font-size-base,
30
+ 'append-action-icon-color': $disabled-color,
31
+ 'color': $black,
32
+ 'background-color': null,
33
+ 'border-bottom': 0px solid $border-color-light,
34
+ 'disabled-color': $disabled-color,
35
+ 'readonly-color': $black,
36
+ 'placeholder-color': $disabled-color,
37
+ 'require-color': $required-color,
38
+ 'font-size': $font-size-base,
39
+ 'height': 24px,
40
+ 'tip-icon-margin': 0 4px 0 0,
41
+ 'tip-icon-size': $font-size-extra-small,
42
+ 'tip-font-size': $font-size-small,
43
+ 'tip-height': 16px,
44
+ 'tip-info-color': $color-info,
45
+ 'tip-warn-color': $color-warning,
46
+ 'tip-error-color': $color-danger,
47
+ 'error-line-color': $color-danger,
48
+ 'unit-color': $black,
49
+ 'unit-font-size': $font-size-base
50
+ ),
51
+ $input-item
52
+ );
@@ -0,0 +1,23 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 数字输入框 组件 Design Token
10
+ $input-number-item: () !default;
11
+ $input-number-item: map.deep-merge(
12
+ (
13
+ 'padding': 0 29px 0 0,
14
+ 'input-width': 40px,
15
+ 'input-color': $black,
16
+ 'input-background': $fill-color-base,
17
+ 'left-color': $black,
18
+ 'left-background': $fill-color-base,
19
+ 'right-color': $white,
20
+ 'right-background': $color-primary
21
+ ),
22
+ $input-number-item
23
+ );
@@ -0,0 +1,20 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 输入框 组件 Design Token
10
+ $input: () !default;
11
+ $input: map.deep-merge(
12
+ (
13
+ 'border-bottom': $border-color-light,
14
+ 'color': $text-color-regular,
15
+ 'disabled-color': $disabled-color,
16
+ 'required-color': $required-color,
17
+ 'font-size': $font-size-base
18
+ ),
19
+ $input
20
+ );
@@ -0,0 +1,19 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 链接 组件 Design Token
10
+ $link-item: () !default;
11
+ $link-item: map.deep-merge(
12
+ (
13
+ 'padding': 0 5px 0 0,
14
+ 'margin': 0,
15
+ 'sub-font-size': $font-size-small,
16
+ 'sub-color': $text-color-secondary
17
+ ),
18
+ $link-item
19
+ );
@@ -0,0 +1,68 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/shadow' as *;
7
+ @use '../common/base' as *;
8
+
9
+ // 消息框 组件 Design Token
10
+ $messagebox: () !default;
11
+ $messagebox: map.deep-merge(
12
+ (
13
+ 'z-index': 3000,
14
+ 'width': 80%,
15
+ 'height': auto,
16
+ 'font-size': $font-size-base,
17
+ 'font-weight': $font-weight-bold,
18
+ 'line-height': 24px,
19
+ 'color': $title-color,
20
+ 'text-align': center,
21
+ 'background': $white,
22
+ 'background-info': linear-gradient(180deg, $color-info-light-9 0%, $white 100%),
23
+ 'background-success': linear-gradient(180deg, $color-success-light-9 0%, $white 100%),
24
+ 'background-warning': linear-gradient(180deg, $color-warning-light-9 0%, $white 100%),
25
+ 'background-error': linear-gradient(180deg, $color-danger-light-9 0%, $white 100%),
26
+ 'border-radius': 8px,
27
+ 'box-shadow': $box-shadow-light,
28
+ 'padding-top': 24px,
29
+ 'padding-right': 16px,
30
+ 'padding-bottom': 0px,
31
+ 'padding-left': 16px,
32
+ 'header-title-padding': 10px 0,
33
+ 'header-title-font-size': $font-size-medium,
34
+ 'header-title-font-weight': 600,
35
+ 'header-title-color': $title-color,
36
+ 'header-icon-color': $text-color-secondary,
37
+ 'header-icon-size': 110px,
38
+ 'header-close-icon-color': $text-color-secondary,
39
+ 'header-close-icon-size': $font-size-medium,
40
+ 'body-box-sizing': border-box,
41
+ 'body-max-height': 60vh,
42
+ 'group-title-padding': 10px 16px 10px 16px,
43
+ 'group-title-font-size': $font-size-small,
44
+ 'group-title-font-weight': 400,
45
+ 'group-title-line-height': 1.5,
46
+ 'group-title-color': $title-color-secondary,
47
+ 'group-title-text-align': left,
48
+ 'groups-rows-background-info': $color-info-light-9,
49
+ 'groups-rows-background-success': $color-success-light-9,
50
+ 'groups-rows-background-warning': $color-warning-light-9,
51
+ 'groups-rows-background-error': $color-danger-light-9,
52
+ 'group-row-padding': 10px 0,
53
+ 'group-row-font-size': $font-size-base,
54
+ 'group-row-font-weight': 400,
55
+ 'group-row-line-height': 1.6,
56
+ 'group-row-color': $title-color,
57
+ 'group-row-text-align': left,
58
+ 'footer-margin': 16px 0 0 0,
59
+ 'footer-border-top': 1px solid $border-color-lighter,
60
+ 'footer-width': 100%,
61
+ 'footer-height': auto,
62
+ 'footer-button-padding': 10px,
63
+ 'footer-button-font-size': $font-size-medium,
64
+ 'footer-button-font-weight': $font-weight-bold,
65
+ 'footer-button-border-left': 1px solid $border-color-lighter
66
+ ),
67
+ $messagebox
68
+ );