@fox-js/foxui 4.0.1-94 → 4.0.1-95
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/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +5840 -6186
- package/dist/index.umd.js +2 -2
- package/dist/locale/index.d.ts +0 -90
- package/dist/locale/index.esm.js +0 -78
- package/dist/locale/index.umd.js +1 -1
- package/dist/style.css +481 -772
- package/dist/style.js +1 -1
- package/dist/theme/common/base.scss +39 -0
- package/dist/theme/common/border.scss +16 -0
- package/dist/theme/common/color.scss +126 -0
- package/dist/theme/common/fill.scss +25 -0
- package/dist/theme/common/shadow.scss +28 -0
- package/dist/theme/common/typography.scss +38 -0
- package/dist/theme/common/var.scss +6 -0
- package/dist/theme/components/actionsheet.scss +49 -0
- package/dist/theme/components/avatar.scss +15 -0
- package/dist/theme/components/backtop.scss +10 -0
- package/dist/theme/components/badge.scss +23 -0
- package/dist/theme/components/button.scss +97 -0
- package/dist/theme/components/buttons-item.scss +12 -0
- package/dist/theme/components/calendar.scss +31 -0
- package/dist/theme/components/card.scss +16 -0
- package/dist/theme/components/cascader.scss +23 -0
- package/dist/theme/components/cell.scss +44 -0
- package/dist/theme/components/checkbox.scss +35 -0
- package/dist/theme/components/circleprogress.scss +16 -0
- package/dist/theme/components/collapse.scss +24 -0
- package/dist/theme/components/content.scss +10 -0
- package/dist/theme/components/countdown.scss +11 -0
- package/dist/theme/components/dialog.scss +48 -0
- package/dist/theme/components/divider.scss +22 -0
- package/dist/theme/components/elevator.scss +49 -0
- package/dist/theme/components/ellipsis.scss +10 -0
- package/dist/theme/components/empty.scss +18 -0
- package/dist/theme/components/fixednav.scss +14 -0
- package/dist/theme/components/floating-button.scss +23 -0
- package/dist/theme/components/footer-bar.scss +16 -0
- package/dist/theme/components/footer.scss +11 -0
- package/dist/theme/components/form.scss +24 -0
- package/dist/theme/components/grid.scss +18 -0
- package/dist/theme/components/group.scss +28 -0
- package/dist/theme/components/header-bar.scss +36 -0
- package/dist/theme/components/hint-text.scss +22 -0
- package/dist/theme/components/icon.scss +11 -0
- package/dist/theme/components/index.scss +75 -0
- package/dist/theme/components/indicator.scss +18 -0
- package/dist/theme/components/infiniteloading.scss +12 -0
- package/dist/theme/components/input-number.scss +38 -0
- package/dist/theme/components/input.scss +61 -0
- package/dist/theme/components/link-item.scss +15 -0
- package/dist/theme/components/list.scss +9 -0
- package/dist/theme/components/menu.scss +31 -0
- package/dist/theme/components/messagebox.scss +55 -0
- package/dist/theme/components/navbar.scss +24 -0
- package/dist/theme/components/noticebar.scss +20 -0
- package/dist/theme/components/notify.scss +21 -0
- package/dist/theme/components/numberkeyboard.scss +30 -0
- package/dist/theme/components/pagination.scss +22 -0
- package/dist/theme/components/picker.scss +24 -0
- package/dist/theme/components/popover-dialog.scss +23 -0
- package/dist/theme/components/popover.scss +20 -0
- package/dist/theme/components/popup-wrapper.scss +40 -0
- package/dist/theme/components/popup.scss +13 -0
- package/dist/theme/components/price.scss +19 -0
- package/dist/theme/components/progress.scss +32 -0
- package/dist/theme/components/radio.scss +33 -0
- package/dist/theme/components/range.scss +18 -0
- package/dist/theme/components/rate.scss +13 -0
- package/dist/theme/components/row-item.scss +14 -0
- package/dist/theme/components/searchbar.scss +28 -0
- package/dist/theme/components/shortpassword.scss +17 -0
- package/dist/theme/components/sidenavbar.scss +27 -0
- package/dist/theme/components/skeleton.scss +10 -0
- package/dist/theme/components/slot-item.scss +10 -0
- package/dist/theme/components/steps-bar.scss +55 -0
- package/dist/theme/components/steps.scss +36 -0
- package/dist/theme/components/swiper.scss +12 -0
- package/dist/theme/components/switch-item.scss +9 -0
- package/dist/theme/components/switch.scss +20 -0
- package/dist/theme/components/tabbar.scss +21 -0
- package/dist/theme/components/table.scss +15 -0
- package/dist/theme/components/tabs-bar.scss +110 -0
- package/dist/theme/components/tabs-frame.scss +9 -0
- package/dist/theme/components/tag.scss +41 -0
- package/dist/theme/components/text.scss +36 -0
- package/dist/theme/components/textarea.scss +18 -0
- package/dist/theme/components/toast.scss +18 -0
- package/dist/theme/components/trendarrow.scss +12 -0
- package/dist/theme/components/uploader.scss +12 -0
- package/dist/theme/components/watermark.scss +9 -0
- package/dist/theme/dark/css-vars.scss +27 -0
- package/dist/theme/dark/var.scss +77 -0
- package/dist/theme/index.scss +248 -0
- package/dist/theme/mixins/_css-var.scss +39 -0
- package/dist/theme/mixins/index.scss +1 -0
- package/dist/theme/readme.md +359 -0
- package/dist/types/index.d.ts +146 -114
- package/package.json +3 -1
package/dist/style.js
CHANGED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'color' as *;
|
|
3
|
+
@use 'typography' as *;
|
|
4
|
+
@use 'border' as *;
|
|
5
|
+
@use 'fill' as *;
|
|
6
|
+
@use 'shadow' as *;
|
|
7
|
+
|
|
8
|
+
$overlay-bg-color: rgba(0, 0, 0, 0.7) !default;
|
|
9
|
+
$overlay-text-bg-color: rgba(0, 0, 0, 0.8) !default;
|
|
10
|
+
|
|
11
|
+
$dark-background: #131313 !default;
|
|
12
|
+
$dark-background-2: #1b1b1b !default;
|
|
13
|
+
$dark-background-3: #141414 !default;
|
|
14
|
+
$dark-background-4: #323233 !default;
|
|
15
|
+
$dark-background-5: #646566 !default;
|
|
16
|
+
$dark-color: $white !default;
|
|
17
|
+
$dark-color-2: #f2270c !default;
|
|
18
|
+
$dark-color-gray: $text-color-regular !default;
|
|
19
|
+
$dark-calendar-choose-color: rgba(227, 227, 227, 0.2) !default;
|
|
20
|
+
|
|
21
|
+
$font-size-extra-small: 10px !default;
|
|
22
|
+
$font-size-small: 12px !default;
|
|
23
|
+
$font-size-base: 14px !default;
|
|
24
|
+
$font-size-medium: 16px !default;
|
|
25
|
+
$font-size-large: 18px !default;
|
|
26
|
+
$font-size-extra-large: 20px !default;
|
|
27
|
+
$font-weight-bold: 400 !default;
|
|
28
|
+
$line-height-base: 1.5 !default;
|
|
29
|
+
|
|
30
|
+
$animation-duration: 0.25s !default;
|
|
31
|
+
$animation-timing-fun: cubic-bezier(0.55, 0.085, 0.68, 0.53) !default;
|
|
32
|
+
|
|
33
|
+
$font-family:
|
|
34
|
+
PingFang SC,
|
|
35
|
+
Microsoft YaHei,
|
|
36
|
+
Helvetica,
|
|
37
|
+
Hiragino Sans GB,
|
|
38
|
+
SimSun,
|
|
39
|
+
sans-serif !default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
$border-color: () !default;
|
|
4
|
+
$border-color: map.deep-merge(
|
|
5
|
+
(
|
|
6
|
+
'base': #dcdfe6,
|
|
7
|
+
'light': #e4e7ed,
|
|
8
|
+
'lighter': #ebeef5,
|
|
9
|
+
'extra-light': #f2f6fc,
|
|
10
|
+
),
|
|
11
|
+
$border-color
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
$border-color-base: map.get($border-color, 'base') !default;
|
|
15
|
+
$border-color-light: map.get($border-color, 'light') !default;
|
|
16
|
+
$border-color-lighter: map.get($border-color, 'lighter') !default;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:math';
|
|
3
|
+
@use 'sass:color';
|
|
4
|
+
@use 'sass:meta';
|
|
5
|
+
@use '../mixins/css-var';
|
|
6
|
+
|
|
7
|
+
$colors: () !default;
|
|
8
|
+
|
|
9
|
+
$colors: map.deep-merge(
|
|
10
|
+
(
|
|
11
|
+
'white': #ffffff,
|
|
12
|
+
'black': #000000,
|
|
13
|
+
'primary': (
|
|
14
|
+
'base': #fa2c19
|
|
15
|
+
),
|
|
16
|
+
'success': (
|
|
17
|
+
'base': #67c23a
|
|
18
|
+
),
|
|
19
|
+
'warning': (
|
|
20
|
+
'base': #ffaa08
|
|
21
|
+
),
|
|
22
|
+
'danger': (
|
|
23
|
+
'base': #dd412c
|
|
24
|
+
),
|
|
25
|
+
'info': (
|
|
26
|
+
'base': #666666
|
|
27
|
+
)
|
|
28
|
+
),
|
|
29
|
+
$colors
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
$color-types: primary, success, warning, danger, info;
|
|
33
|
+
|
|
34
|
+
@function mix-color($color, $mix-color, $weight) {
|
|
35
|
+
@return color.mix($mix-color, $color, $weight);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@each $type in $color-types {
|
|
39
|
+
$base-color: map.get(map.get($colors, $type), 'base');
|
|
40
|
+
|
|
41
|
+
@for $i from 1 through 9 {
|
|
42
|
+
$weight: $i * 10%;
|
|
43
|
+
$light-color: mix-color($base-color, white, $weight);
|
|
44
|
+
$colors: map.deep-merge(
|
|
45
|
+
$colors,
|
|
46
|
+
(
|
|
47
|
+
$type: (
|
|
48
|
+
'light-#{$i}': $light-color
|
|
49
|
+
)
|
|
50
|
+
)
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
$dark-color: mix-color($base-color, black, 20%);
|
|
55
|
+
$colors: map.deep-merge(
|
|
56
|
+
$colors,
|
|
57
|
+
(
|
|
58
|
+
$type: (
|
|
59
|
+
'dark-2': $dark-color
|
|
60
|
+
)
|
|
61
|
+
)
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
$color-primary: map.get(map.get($colors, 'primary'), 'base') !default;
|
|
66
|
+
$color-primary-light-1: map.get(map.get($colors, 'primary'), 'light-1') !default;
|
|
67
|
+
$color-primary-light-2: map.get(map.get($colors, 'primary'), 'light-2') !default;
|
|
68
|
+
$color-primary-light-3: map.get(map.get($colors, 'primary'), 'light-3') !default;
|
|
69
|
+
$color-primary-light-4: map.get(map.get($colors, 'primary'), 'light-4') !default;
|
|
70
|
+
$color-primary-light-5: map.get(map.get($colors, 'primary'), 'light-5') !default;
|
|
71
|
+
$color-primary-light-6: map.get(map.get($colors, 'primary'), 'light-6') !default;
|
|
72
|
+
$color-primary-light-7: map.get(map.get($colors, 'primary'), 'light-7') !default;
|
|
73
|
+
$color-primary-light-8: map.get(map.get($colors, 'primary'), 'light-8') !default;
|
|
74
|
+
$color-primary-light-9: map.get(map.get($colors, 'primary'), 'light-9') !default;
|
|
75
|
+
$color-primary-dark-2: map.get(map.get($colors, 'primary'), 'dark-2') !default;
|
|
76
|
+
|
|
77
|
+
$color-success: map.get(map.get($colors, 'success'), 'base') !default;
|
|
78
|
+
$color-success-light-1: map.get(map.get($colors, 'success'), 'light-1') !default;
|
|
79
|
+
$color-success-light-2: map.get(map.get($colors, 'success'), 'light-2') !default;
|
|
80
|
+
$color-success-light-3: map.get(map.get($colors, 'success'), 'light-3') !default;
|
|
81
|
+
$color-success-light-4: map.get(map.get($colors, 'success'), 'light-4') !default;
|
|
82
|
+
$color-success-light-5: map.get(map.get($colors, 'success'), 'light-5') !default;
|
|
83
|
+
$color-success-light-6: map.get(map.get($colors, 'success'), 'light-6') !default;
|
|
84
|
+
$color-success-light-7: map.get(map.get($colors, 'success'), 'light-7') !default;
|
|
85
|
+
$color-success-light-8: map.get(map.get($colors, 'success'), 'light-8') !default;
|
|
86
|
+
$color-success-light-9: map.get(map.get($colors, 'success'), 'light-9') !default;
|
|
87
|
+
$color-success-dark-2: map.get(map.get($colors, 'success'), 'dark-2') !default;
|
|
88
|
+
|
|
89
|
+
$color-warning: map.get(map.get($colors, 'warning'), 'base') !default;
|
|
90
|
+
$color-warning-light-1: map.get(map.get($colors, 'warning'), 'light-1') !default;
|
|
91
|
+
$color-warning-light-2: map.get(map.get($colors, 'warning'), 'light-2') !default;
|
|
92
|
+
$color-warning-light-3: map.get(map.get($colors, 'warning'), 'light-3') !default;
|
|
93
|
+
$color-warning-light-4: map.get(map.get($colors, 'warning'), 'light-4') !default;
|
|
94
|
+
$color-warning-light-5: map.get(map.get($colors, 'warning'), 'light-5') !default;
|
|
95
|
+
$color-warning-light-6: map.get(map.get($colors, 'warning'), 'light-6') !default;
|
|
96
|
+
$color-warning-light-7: map.get(map.get($colors, 'warning'), 'light-7') !default;
|
|
97
|
+
$color-warning-light-8: map.get(map.get($colors, 'warning'), 'light-8') !default;
|
|
98
|
+
$color-warning-light-9: map.get(map.get($colors, 'warning'), 'light-9') !default;
|
|
99
|
+
$color-warning-dark-2: map.get(map.get($colors, 'warning'), 'dark-2') !default;
|
|
100
|
+
|
|
101
|
+
$color-danger: map.get(map.get($colors, 'danger'), 'base') !default;
|
|
102
|
+
$color-danger-light-1: map.get(map.get($colors, 'danger'), 'light-1') !default;
|
|
103
|
+
$color-danger-light-2: map.get(map.get($colors, 'danger'), 'light-2') !default;
|
|
104
|
+
$color-danger-light-3: map.get(map.get($colors, 'danger'), 'light-3') !default;
|
|
105
|
+
$color-danger-light-4: map.get(map.get($colors, 'danger'), 'light-4') !default;
|
|
106
|
+
$color-danger-light-5: map.get(map.get($colors, 'danger'), 'light-5') !default;
|
|
107
|
+
$color-danger-light-6: map.get(map.get($colors, 'danger'), 'light-6') !default;
|
|
108
|
+
$color-danger-light-7: map.get(map.get($colors, 'danger'), 'light-7') !default;
|
|
109
|
+
$color-danger-light-8: map.get(map.get($colors, 'danger'), 'light-8') !default;
|
|
110
|
+
$color-danger-light-9: map.get(map.get($colors, 'danger'), 'light-9') !default;
|
|
111
|
+
$color-danger-dark-2: map.get(map.get($colors, 'danger'), 'dark-2') !default;
|
|
112
|
+
|
|
113
|
+
$color-info: map.get(map.get($colors, 'info'), 'base') !default;
|
|
114
|
+
$color-info-light-1: map.get(map.get($colors, 'info'), 'light-1') !default;
|
|
115
|
+
$color-info-light-2: map.get(map.get($colors, 'info'), 'light-2') !default;
|
|
116
|
+
$color-info-light-3: map.get(map.get($colors, 'info'), 'light-3') !default;
|
|
117
|
+
$color-info-light-4: map.get(map.get($colors, 'info'), 'light-4') !default;
|
|
118
|
+
$color-info-light-5: map.get(map.get($colors, 'info'), 'light-5') !default;
|
|
119
|
+
$color-info-light-6: map.get(map.get($colors, 'info'), 'light-6') !default;
|
|
120
|
+
$color-info-light-7: map.get(map.get($colors, 'info'), 'light-7') !default;
|
|
121
|
+
$color-info-light-8: map.get(map.get($colors, 'info'), 'light-8') !default;
|
|
122
|
+
$color-info-light-9: map.get(map.get($colors, 'info'), 'light-9') !default;
|
|
123
|
+
$color-info-dark-2: map.get(map.get($colors, 'info'), 'dark-2') !default;
|
|
124
|
+
|
|
125
|
+
$white: map.get($colors, 'white') !default;
|
|
126
|
+
$black: map.get($colors, 'black') !default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
$fill-color: () !default;
|
|
4
|
+
$fill-color: map.deep-merge(
|
|
5
|
+
(
|
|
6
|
+
'base': #f5f5f5,
|
|
7
|
+
'light': #fafafa,
|
|
8
|
+
'lighter': #fafcff,
|
|
9
|
+
'extra-light': #f0f2f5,
|
|
10
|
+
'dark': #131313,
|
|
11
|
+
'darker': #646566,
|
|
12
|
+
'blank': #ffffff
|
|
13
|
+
),
|
|
14
|
+
$fill-color
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
$fill-color-base: map.get($fill-color, 'base') !default;
|
|
18
|
+
$fill-color-light: map.get($fill-color, 'light') !default;
|
|
19
|
+
$fill-color-lighter: map.get($fill-color, 'lighter') !default;
|
|
20
|
+
$fill-color-extra-light: map.get($fill-color, 'extra-light') !default;
|
|
21
|
+
$fill-color-dark: map.get($fill-color, 'dark') !default;
|
|
22
|
+
$fill-color-darker: map.get($fill-color, 'daker') !default;
|
|
23
|
+
$fill-color-blank: map.get($fill-color, 'blank') !default;
|
|
24
|
+
|
|
25
|
+
$background-color: map.get($fill-color, 'light') !default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
$shadow: () !default;
|
|
4
|
+
$shadow: map.deep-merge(
|
|
5
|
+
(
|
|
6
|
+
'base': (
|
|
7
|
+
0px 12px 32px 4px rgba(0, 0, 0, 0.04),
|
|
8
|
+
0px 8px 20px rgba(0, 0, 0, 0.08)
|
|
9
|
+
),
|
|
10
|
+
'light': (
|
|
11
|
+
0px 0px 12px rgba(0, 0, 0, 0.12)
|
|
12
|
+
),
|
|
13
|
+
'lighter': (
|
|
14
|
+
0px 0px 8px rgba(0, 0, 0, 0.04)
|
|
15
|
+
),
|
|
16
|
+
'dark': (
|
|
17
|
+
0px 16px 48px 16px rgba(0, 0, 0, 0.08),
|
|
18
|
+
0px 12px 32px rgba(0, 0, 0, 0.12),
|
|
19
|
+
0px 8px 16px -8px rgba(0, 0, 0, 0.16)
|
|
20
|
+
)
|
|
21
|
+
),
|
|
22
|
+
$shadow
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
$box-shadow: var(--fox-box-shadow, map.get($shadow, 'base')) !default;
|
|
26
|
+
$box-shadow-light: var(--fox-box-shadow-light, map.get($shadow, 'light')) !default;
|
|
27
|
+
$box-shadow-lighter: var(--fox-box-shadow-lighter, map.get($shadow, 'lighter')) !default;
|
|
28
|
+
$box-shadow-dark: var(--fox-box-shadow-dark, map.get($shadow, 'dark')) !default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
// text color
|
|
4
|
+
$text-color: () !default;
|
|
5
|
+
$text-color: map.deep-merge(
|
|
6
|
+
(
|
|
7
|
+
// 标题
|
|
8
|
+
'primary': #1a1a1a,
|
|
9
|
+
// 二级标题
|
|
10
|
+
'title-secondary': #666666,
|
|
11
|
+
// 正文
|
|
12
|
+
'regular': #808080,
|
|
13
|
+
// 次级文字
|
|
14
|
+
'secondary': #909399,
|
|
15
|
+
// 占位符
|
|
16
|
+
'placeholder': #c0c4cc,
|
|
17
|
+
// 禁用
|
|
18
|
+
'disabled': #cccccc,
|
|
19
|
+
// 只读
|
|
20
|
+
'readonly': #808080,
|
|
21
|
+
// 必填标识
|
|
22
|
+
'required': #fa2c19
|
|
23
|
+
),
|
|
24
|
+
$text-color
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
// 快捷变量
|
|
28
|
+
$title-color: map.get($text-color, 'primary') !default;
|
|
29
|
+
$title-color-secondary: map.get($text-color, 'title-secondary') !default;
|
|
30
|
+
|
|
31
|
+
$text-color-regular: map.get($text-color, 'regular') !default;
|
|
32
|
+
$text-color-secondary: map.get($text-color, 'secondary') !default;
|
|
33
|
+
$text-color-placeholder: map.get($text-color, 'placeholder') !default;
|
|
34
|
+
|
|
35
|
+
$disabled-color: map.get($text-color, 'disabled') !default;
|
|
36
|
+
$readonly-color: map.get($text-color, 'readonly') !default;
|
|
37
|
+
|
|
38
|
+
$required-color: map.get($text-color, 'required') !default;
|
|
@@ -0,0 +1,49 @@
|
|
|
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/base' as *;
|
|
7
|
+
|
|
8
|
+
$actionsheet: () !default;
|
|
9
|
+
$actionsheet: map.deep-merge(
|
|
10
|
+
(
|
|
11
|
+
'footer-button-height': 36px,
|
|
12
|
+
'footer-button-min-width': 100%,
|
|
13
|
+
'footer-height': 76px,
|
|
14
|
+
'header-height': 60px,
|
|
15
|
+
'header-icon-color': $text-color-secondary,
|
|
16
|
+
'header-icon-size': $font-size-medium,
|
|
17
|
+
'header-title-color': $title-color,
|
|
18
|
+
'header-title-font-size': $font-size-medium,
|
|
19
|
+
'header-title-font-weight': 600,
|
|
20
|
+
'header-title-padding': 10px 0,
|
|
21
|
+
'item-border-bottom': none,
|
|
22
|
+
'item-font-color': $title-color,
|
|
23
|
+
'item-font-size': $font-size-base,
|
|
24
|
+
'item-line-height': 24px,
|
|
25
|
+
'item-subdesc-font-size': $font-size-small,
|
|
26
|
+
'light-color': $fill-color-base,
|
|
27
|
+
'list-height': 380px,
|
|
28
|
+
'list-inner-height': 100%,
|
|
29
|
+
'list-item-gutter': 28px,
|
|
30
|
+
'list-item-height': auto,
|
|
31
|
+
'list-item-icon-color': var(--fox-radio-icon-unchecked-color),
|
|
32
|
+
'list-item-icon-size': $font-size-medium,
|
|
33
|
+
'list-item-label-padding': 0 10px 0 0,
|
|
34
|
+
'list-item-subtext-color': $text-color-secondary,
|
|
35
|
+
'list-item-subtext-fox-size': $font-size-small,
|
|
36
|
+
'list-item-subtext-fox-wieight': 400,
|
|
37
|
+
'list-item-subtext-margin': 8px 0 0 0,
|
|
38
|
+
'list-item-text-color': $title-color,
|
|
39
|
+
'list-item-text-font-size': $font-size-medium,
|
|
40
|
+
'list-item-text-font-weight': $font-weight-bold,
|
|
41
|
+
'list-item-text-line-height': 24px,
|
|
42
|
+
'list-item-text-margin': 0,
|
|
43
|
+
'padding': 0px 16px,
|
|
44
|
+
'searchbar-background': $fill-color-base,
|
|
45
|
+
'searchbar-border': 1px solid $border-color-lighter,
|
|
46
|
+
'searchbar-height': 40px
|
|
47
|
+
),
|
|
48
|
+
$actionsheet
|
|
49
|
+
);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
$avatar: () !default;
|
|
4
|
+
$avatar: map.deep-merge(
|
|
5
|
+
(
|
|
6
|
+
'large-height': 60px,
|
|
7
|
+
'large-width': 60px,
|
|
8
|
+
'normal-height': 40px,
|
|
9
|
+
'normal-width': 40px,
|
|
10
|
+
'small-height': 32px,
|
|
11
|
+
'small-width': 32px,
|
|
12
|
+
'square': 5px,
|
|
13
|
+
),
|
|
14
|
+
$avatar
|
|
15
|
+
);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/base' as *;
|
|
5
|
+
|
|
6
|
+
$badge: () !default;
|
|
7
|
+
$badge: map.deep-merge(
|
|
8
|
+
(
|
|
9
|
+
'background-color': $color-primary,
|
|
10
|
+
'border-radius': 14px,
|
|
11
|
+
'color': $white,
|
|
12
|
+
'content-transform': translate(50%, -50%),
|
|
13
|
+
'dot-border-radius': 7px,
|
|
14
|
+
'dot-height': 7px,
|
|
15
|
+
'dot-padding': 0px,
|
|
16
|
+
'dot-width': 7px,
|
|
17
|
+
'font-size': $font-size-small,
|
|
18
|
+
'icon-padding': 4px,
|
|
19
|
+
'padding': 0 5px,
|
|
20
|
+
'z-index': 1,
|
|
21
|
+
),
|
|
22
|
+
$badge
|
|
23
|
+
);
|
|
@@ -0,0 +1,97 @@
|
|
|
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/base' as *;
|
|
7
|
+
|
|
8
|
+
$button: () !default;
|
|
9
|
+
$button: map.deep-merge(
|
|
10
|
+
(
|
|
11
|
+
'border-radius': 25px,
|
|
12
|
+
'border-width': 1px,
|
|
13
|
+
'disabled-opacity': 0.68,
|
|
14
|
+
'default': (
|
|
15
|
+
'height': 38px,
|
|
16
|
+
'color': rgba(102, 102, 102, 1),
|
|
17
|
+
'bg-color': $white,
|
|
18
|
+
'border-color': rgba(204, 204, 204, 1),
|
|
19
|
+
'font-size': $font-size-base,
|
|
20
|
+
'padding': 0 18px,
|
|
21
|
+
'line-height': 36px
|
|
22
|
+
|
|
23
|
+
),
|
|
24
|
+
'primary': (
|
|
25
|
+
'color': $white,
|
|
26
|
+
'border-color': $color-primary,
|
|
27
|
+
'bg-color': linear-gradient(135deg, $color-primary 0%, $color-primary 100%),
|
|
28
|
+
'background-color': $color-primary
|
|
29
|
+
),
|
|
30
|
+
'info': (
|
|
31
|
+
'color': $white,
|
|
32
|
+
'border-color': rgba(73, 106, 242, 1),
|
|
33
|
+
'bg-color': linear-gradient(315deg, rgba(73, 143, 242, 1) 0%, rgba(73, 101, 242, 1) 100%),
|
|
34
|
+
'background-color': $color-info
|
|
35
|
+
),
|
|
36
|
+
'success': (
|
|
37
|
+
'color': $white,
|
|
38
|
+
'border-color': rgba(38, 191, 38, 1),
|
|
39
|
+
'bg-color': linear-gradient(
|
|
40
|
+
135deg,
|
|
41
|
+
rgba(38, 191, 38, 1) 0%,
|
|
42
|
+
rgba(39, 197, 48, 1) 45%,
|
|
43
|
+
rgba(40, 207, 63, 1) 83%,
|
|
44
|
+
rgba(41, 212, 70, 1) 100%
|
|
45
|
+
),
|
|
46
|
+
'background-color': $color-success
|
|
47
|
+
),
|
|
48
|
+
'danger': (
|
|
49
|
+
'color': $white,
|
|
50
|
+
'border-color': rgba(250, 44, 25, 1),
|
|
51
|
+
'bg-color': rgba(250, 44, 25, 1),
|
|
52
|
+
'background-color': $color-danger
|
|
53
|
+
),
|
|
54
|
+
'warning': (
|
|
55
|
+
'color': $white,
|
|
56
|
+
'border-color': rgba(255, 158, 13, 1),
|
|
57
|
+
'bg-color': linear-gradient(
|
|
58
|
+
135deg,
|
|
59
|
+
rgba(255, 158, 13, 1) 0%,
|
|
60
|
+
rgba(255, 167, 13, 1) 45%,
|
|
61
|
+
rgba(255, 182, 13, 1) 83%,
|
|
62
|
+
rgba(255, 190, 13, 1) 100%
|
|
63
|
+
),
|
|
64
|
+
'background-color': $color-warning
|
|
65
|
+
),
|
|
66
|
+
'plain': (
|
|
67
|
+
'bg-color': $white,
|
|
68
|
+
'background-color': $white
|
|
69
|
+
),
|
|
70
|
+
'large': (
|
|
71
|
+
'height': 48px,
|
|
72
|
+
'line-height': 46px,
|
|
73
|
+
'font-size': $font-size-base
|
|
74
|
+
|
|
75
|
+
),
|
|
76
|
+
'small': (
|
|
77
|
+
'height': 28px,
|
|
78
|
+
'line-height': 26px,
|
|
79
|
+
'padding': 0 12px,
|
|
80
|
+
'font-size': $font-size-small,
|
|
81
|
+
'round-border-radius': 25px
|
|
82
|
+
),
|
|
83
|
+
'mini': (
|
|
84
|
+
'height': 24px,
|
|
85
|
+
'line-height': 1.2,
|
|
86
|
+
'padding': 0 12px,
|
|
87
|
+
'font-size': $font-size-small
|
|
88
|
+
|
|
89
|
+
),
|
|
90
|
+
'block': (
|
|
91
|
+
'height': 48px,
|
|
92
|
+
'line-height': 46px
|
|
93
|
+
|
|
94
|
+
)
|
|
95
|
+
),
|
|
96
|
+
$button
|
|
97
|
+
);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/typography' as *;
|
|
3
|
+
@use '../common/base' as *;
|
|
4
|
+
|
|
5
|
+
$buttons-item: () !default;
|
|
6
|
+
$buttons-item: map.deep-merge(
|
|
7
|
+
(
|
|
8
|
+
'dropdown-link-icon-color': null,
|
|
9
|
+
'dropdown-link-icon-size': $font-size-medium,
|
|
10
|
+
),
|
|
11
|
+
$buttons-item
|
|
12
|
+
);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/base' as *;
|
|
5
|
+
|
|
6
|
+
$calendar: () !default;
|
|
7
|
+
$calendar: map.deep-merge(
|
|
8
|
+
(
|
|
9
|
+
'base-color': $title-color,
|
|
10
|
+
'base-font': $font-size-medium,
|
|
11
|
+
'choose-color': $color-primary,
|
|
12
|
+
'choose-font-color': $color-primary,
|
|
13
|
+
'day-active-border-radius': 0px,
|
|
14
|
+
'day-font': $font-size-medium,
|
|
15
|
+
'day-font-weight': 500,
|
|
16
|
+
'day67-font-color': $color-primary,
|
|
17
|
+
'disable-color': $disabled-color,
|
|
18
|
+
'footer-button-min-width': 100%,
|
|
19
|
+
'footer-button-height': 44px,
|
|
20
|
+
'footer-button-background-color': $color-primary,
|
|
21
|
+
'month-title-font-size': inherit,
|
|
22
|
+
'popup-height': 85vh,
|
|
23
|
+
'primary-color': $color-primary,
|
|
24
|
+
'sub-title-font': $font-size-base,
|
|
25
|
+
'text-font': $font-size-small,
|
|
26
|
+
'title-font': $font-size-large,
|
|
27
|
+
'title-font-weight': 500,
|
|
28
|
+
'width': 100%
|
|
29
|
+
),
|
|
30
|
+
$calendar
|
|
31
|
+
);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/typography' as *;
|
|
3
|
+
@use '../common/base' as *;
|
|
4
|
+
|
|
5
|
+
$card: () !default;
|
|
6
|
+
$card: map.deep-merge(
|
|
7
|
+
(
|
|
8
|
+
'font-size-0': $font-size-extra-small,
|
|
9
|
+
'font-size-1': $font-size-small,
|
|
10
|
+
'font-size-2': $font-size-base,
|
|
11
|
+
'font-size-3': $font-size-medium,
|
|
12
|
+
'left-background-color': inherit,
|
|
13
|
+
'left-border-radius': 0,
|
|
14
|
+
),
|
|
15
|
+
$card
|
|
16
|
+
);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/base' as *;
|
|
5
|
+
|
|
6
|
+
$cascader: () !default;
|
|
7
|
+
$cascader: map.deep-merge(
|
|
8
|
+
(
|
|
9
|
+
'bar-color': $title-color,
|
|
10
|
+
'bar-font-size': $font-size-large,
|
|
11
|
+
'bar-line-height': 20px,
|
|
12
|
+
'bar-padding': 24px 20px 17px,
|
|
13
|
+
'font-size': $font-size-base,
|
|
14
|
+
'item-active-color': $color-primary,
|
|
15
|
+
'item-color': $title-color,
|
|
16
|
+
'item-font-size': $font-size-base,
|
|
17
|
+
'item-padding': 10px 20px,
|
|
18
|
+
'line-height': 22px,
|
|
19
|
+
'tabs-titles-background-color': $white,
|
|
20
|
+
'tabs-titles-item-padding': 0 10px,
|
|
21
|
+
),
|
|
22
|
+
$cascader
|
|
23
|
+
);
|
|
@@ -0,0 +1,44 @@
|
|
|
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/base' as *;
|
|
7
|
+
|
|
8
|
+
$cell: () !default;
|
|
9
|
+
$cell: map.deep-merge(
|
|
10
|
+
(
|
|
11
|
+
'color': $title-color-secondary,
|
|
12
|
+
'title-font': $font-size-base,
|
|
13
|
+
'title-desc-font': $font-size-small,
|
|
14
|
+
'desc-font': $font-size-base,
|
|
15
|
+
'desc-color': $disabled-color,
|
|
16
|
+
'border-radius': 6px,
|
|
17
|
+
'padding': 13px 16px,
|
|
18
|
+
'line-height': 20px,
|
|
19
|
+
'after-right': 16px,
|
|
20
|
+
'after-border-bottom': 1px solid $border-color-lighter,
|
|
21
|
+
'default-icon-margin': 0 4px 0 0px,
|
|
22
|
+
'large-title-font': $font-size-large,
|
|
23
|
+
'large-title-desc-font': $font-size-base,
|
|
24
|
+
'large-padding': 15px 16px,
|
|
25
|
+
'background': $white
|
|
26
|
+
),
|
|
27
|
+
$cell
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
$cell-group: () !default;
|
|
31
|
+
$cell-group: map.deep-merge(
|
|
32
|
+
(
|
|
33
|
+
'title-padding': 0 10px,
|
|
34
|
+
'title-color': $text-color-secondary,
|
|
35
|
+
'title-font-size': $font-size-base,
|
|
36
|
+
'title-line-height': 20px,
|
|
37
|
+
'desc-padding': 0 10px,
|
|
38
|
+
'desc-color': $text-color-secondary,
|
|
39
|
+
'desc-font-size': $font-size-small,
|
|
40
|
+
'desc-line-height': 16px,
|
|
41
|
+
'background-color': $white
|
|
42
|
+
),
|
|
43
|
+
$cell-group
|
|
44
|
+
);
|
|
@@ -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/base' as *;
|
|
6
|
+
|
|
7
|
+
$checkbox: () !default;
|
|
8
|
+
$checkbox: map.deep-merge(
|
|
9
|
+
(
|
|
10
|
+
'button-background': $white,
|
|
11
|
+
'button-background-active': $color-primary-light-9,
|
|
12
|
+
'button-border-color': $border-color-base,
|
|
13
|
+
'button-border-color-active': $color-primary,
|
|
14
|
+
'button-border-radius': 4px,
|
|
15
|
+
'button-font-color-active': $color-primary,
|
|
16
|
+
'button-font-size': $font-size-small,
|
|
17
|
+
'button-min-width': 100px,
|
|
18
|
+
'button-padding': 5px 18px,
|
|
19
|
+
'icon-color': $color-primary,
|
|
20
|
+
'icon-disable-color': $disabled-color,
|
|
21
|
+
'icon-font-size': $font-size-large,
|
|
22
|
+
'icon-readonly-color': $readonly-color,
|
|
23
|
+
'icon-unchecked-color': $disabled-color,
|
|
24
|
+
'label-active-color': $color-primary,
|
|
25
|
+
'label-color': $title-color,
|
|
26
|
+
'label-disable-color': $disabled-color,
|
|
27
|
+
'label-font-size': $font-size-base,
|
|
28
|
+
'label-margin-left': 15px,
|
|
29
|
+
'label-readonly-color': $readonly-color,
|
|
30
|
+
'margin-horizontal': 0 8px 8px 0,
|
|
31
|
+
'margin-vertical': 0 0 8px 0,
|
|
32
|
+
'min-width': 0px
|
|
33
|
+
),
|
|
34
|
+
$checkbox
|
|
35
|
+
);
|
|
@@ -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/base' as *;
|
|
6
|
+
|
|
7
|
+
$circleprogress: () !default;
|
|
8
|
+
$circleprogress: map.deep-merge(
|
|
9
|
+
(
|
|
10
|
+
'path-color': $border-color-light,
|
|
11
|
+
'primary-color': $color-primary,
|
|
12
|
+
'text-color': $black,
|
|
13
|
+
'text-size': $font-size-medium,
|
|
14
|
+
),
|
|
15
|
+
$circleprogress
|
|
16
|
+
);
|