@webitel/styleguide 26.2.19 → 26.2.20
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/package.json +4 -3
- package/src/assets/fonts/text-security-disc/text-security-disc.woff2 +0 -0
- package/src/enums/WtTypography/WtTypography.enum.ts +2 -1
- package/src/lib/primevue/components/chip/colors/dark/index.ts +2 -2
- package/src/lib/primevue/components/chip/colors/light/index.ts +2 -2
- package/src/lib/primevue/components/chip/sizes/index.ts +1 -0
- package/src/lib/primevue/components/datepicker/colors/dark/index.ts +63 -0
- package/src/lib/primevue/components/datepicker/colors/index.ts +9 -0
- package/src/lib/primevue/components/datepicker/colors/light/index.ts +63 -0
- package/src/lib/primevue/components/datepicker/index.ts +9 -0
- package/src/lib/primevue/components/datepicker/sizes/index.ts +89 -0
- package/src/lib/primevue/components/index.ts +22 -14
- package/src/lib/primevue/components/multiselect/colors/dark/index.ts +50 -0
- package/src/lib/primevue/components/multiselect/colors/index.ts +9 -0
- package/src/lib/primevue/components/multiselect/colors/light/index.ts +50 -0
- package/src/lib/primevue/components/multiselect/index.ts +9 -0
- package/src/lib/primevue/components/multiselect/sizes/index.ts +53 -0
- package/src/lib/primevue/components/popover/sizes/index.ts +1 -0
- package/src/lib/primevue/components/single-select/colors/dark/index.ts +53 -0
- package/src/lib/primevue/components/single-select/colors/index.ts +9 -0
- package/src/lib/primevue/components/single-select/colors/light/index.ts +53 -0
- package/src/lib/primevue/components/single-select/index.ts +9 -0
- package/src/lib/primevue/components/single-select/sizes/index.ts +53 -0
- package/src/lib/primevue/components/toast/colors/dark/index.ts +101 -0
- package/src/lib/primevue/components/toast/colors/index.ts +9 -0
- package/src/lib/primevue/components/toast/colors/light/index.ts +101 -0
- package/src/lib/primevue/components/toast/index.ts +9 -0
- package/src/lib/primevue/components/toast/sizes/index.ts +41 -0
- package/src/lib/primevue/semantic/color-scheme/dark-color.ts +14 -4
- package/src/lib/primevue/semantic/color-scheme/light-color.ts +14 -4
- package/src/lib/primevue/semantic/color-scheme/list/dark/index.ts +1 -1
- package/src/lib/primevue/semantic/color-scheme/list/light/index.ts +1 -1
- package/src/lib/primevue/semantic/sizes/list/index.ts +2 -2
- package/src/lib/primevue/semantic/sizes/typography/index.ts +9 -1
- package/src/lib/styleguide/colors/colors.css +11 -0
- package/src/lib/styleguide/fonts/fonts.css +14 -0
- package/src/lib/styleguide/scroll.css +3 -3
- package/src/lib/styleguide/typography/typography.css +11 -1
- package/src/vite-env.d.ts +1 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
const sizes = {
|
|
2
|
+
root: {
|
|
3
|
+
paddingX: '{form.field.padding.x}',
|
|
4
|
+
paddingY: '{form.field.padding.y}',
|
|
5
|
+
borderRadius: '{form.field.border.radius}',
|
|
6
|
+
focusRing: {
|
|
7
|
+
width: '{form.field.focus.ring.width}',
|
|
8
|
+
style: '{form.field.focus.ring.style}',
|
|
9
|
+
offset: '{form.field.focus.ring.offset}',
|
|
10
|
+
},
|
|
11
|
+
transitionDuration: '0s',
|
|
12
|
+
sm: {
|
|
13
|
+
fontSize: '{form.field.sm.font.size}',
|
|
14
|
+
paddingX: '{form.field.sm.padding.x}',
|
|
15
|
+
paddingY: '{form.field.sm.padding.y}',
|
|
16
|
+
},
|
|
17
|
+
lg: {
|
|
18
|
+
fontSize: '{form.field.lg.font.size}',
|
|
19
|
+
paddingX: '{form.field.lg.padding.x}',
|
|
20
|
+
paddingY: '{form.field.lg.padding.y}',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
dropdown: {
|
|
24
|
+
width: '2.5rem',
|
|
25
|
+
},
|
|
26
|
+
overlay: {
|
|
27
|
+
borderRadius: '{overlay.select.border.radius}',
|
|
28
|
+
},
|
|
29
|
+
list: {
|
|
30
|
+
padding: '{list.padding}',
|
|
31
|
+
gap: '{list.gap}',
|
|
32
|
+
header: {
|
|
33
|
+
padding: '{list.header.padding}',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
option: {
|
|
37
|
+
padding: '{list.option.padding}',
|
|
38
|
+
borderRadius: '{list.option.border.radius}',
|
|
39
|
+
},
|
|
40
|
+
optionGroup: {
|
|
41
|
+
fontWeight: '{list.option.group.font.weight}',
|
|
42
|
+
padding: '{list.option.group.padding}',
|
|
43
|
+
},
|
|
44
|
+
checkmark: {
|
|
45
|
+
gutterStart: '-0.375rem',
|
|
46
|
+
gutterEnd: '0.375rem',
|
|
47
|
+
},
|
|
48
|
+
emptyMessage: {
|
|
49
|
+
padding: '{list.option.padding}',
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export default sizes;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
const darkColors = {
|
|
2
|
+
root: {
|
|
3
|
+
blur: '10px',
|
|
4
|
+
},
|
|
5
|
+
info: {
|
|
6
|
+
background: '{info.highlightColor}',
|
|
7
|
+
borderColor: '{info.highlightColor}',
|
|
8
|
+
color: '{info.onHighlightColor}',
|
|
9
|
+
iconColor: '{info.onHighlightColor}',
|
|
10
|
+
detailColor: '{info.onHighlightColor}',
|
|
11
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {info.color}, transparent 96%)',
|
|
12
|
+
closeButton: {
|
|
13
|
+
hoverBackground: '{info.onHighlightColor}',
|
|
14
|
+
focusRing: {
|
|
15
|
+
color: '{info.color}',
|
|
16
|
+
shadow: 'none',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
success: {
|
|
21
|
+
background: '{success.highlightColor}',
|
|
22
|
+
borderColor: '{success.highlightColor}',
|
|
23
|
+
color: '{success.onHighlightColor}',
|
|
24
|
+
iconColor: '{success.onHighlightColor}',
|
|
25
|
+
detailColor: '{success.onHighlightColor}',
|
|
26
|
+
shadow:
|
|
27
|
+
'0px 4px 8px 0px color-mix(in srgb, {success.color}, transparent 96%)',
|
|
28
|
+
closeButton: {
|
|
29
|
+
hoverBackground: '{success.onHighlightColor}',
|
|
30
|
+
focusRing: {
|
|
31
|
+
color: '{success.color}',
|
|
32
|
+
shadow: 'none',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
warn: {
|
|
37
|
+
background: '{warn.highlightColor}',
|
|
38
|
+
borderColor: '{warn.highlightColor}',
|
|
39
|
+
color: '{warn.onHighlightColor}',
|
|
40
|
+
iconColor: '{warn.onHighlightColor}',
|
|
41
|
+
detailColor: '{warn.onHighlightColor}',
|
|
42
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {warn.color}, transparent 96%)',
|
|
43
|
+
closeButton: {
|
|
44
|
+
hoverBackground: '{warn.onHighlightColor}',
|
|
45
|
+
focusRing: {
|
|
46
|
+
color: '{warn.color}',
|
|
47
|
+
shadow: 'none',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
error: {
|
|
52
|
+
background: '{error.highlightColor}',
|
|
53
|
+
borderColor: '{error.highlightColor}',
|
|
54
|
+
color: '{error.onHighlightColor}',
|
|
55
|
+
iconColor: '{error.onHighlightColor}',
|
|
56
|
+
detailColor: '{error.onHighlightColor}',
|
|
57
|
+
shadow:
|
|
58
|
+
'0px 4px 8px 0px color-mix(in srgb, {error.color}, transparent 96%)',
|
|
59
|
+
closeButton: {
|
|
60
|
+
hoverBackground: '{error.onHighlightColor}',
|
|
61
|
+
focusRing: {
|
|
62
|
+
color: '{error.color}',
|
|
63
|
+
shadow: 'none',
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
secondary: {
|
|
68
|
+
background: '{secondary.highlightColor}',
|
|
69
|
+
borderColor: '{secondary.highlightColor}',
|
|
70
|
+
color: '{secondary.onHighlightColor}',
|
|
71
|
+
iconColor: '{secondary.onHighlightColor}',
|
|
72
|
+
detailColor: '{secondary.onHighlightColor}',
|
|
73
|
+
shadow:
|
|
74
|
+
'0px 4px 8px 0px color-mix(in srgb, {secondary.color}, transparent 96%)',
|
|
75
|
+
closeButton: {
|
|
76
|
+
hoverBackground: '{secondary.onHighlightColor}',
|
|
77
|
+
focusRing: {
|
|
78
|
+
color: '{secondary.color}',
|
|
79
|
+
shadow: 'none',
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
contrast: {
|
|
84
|
+
background: '{surface.0}',
|
|
85
|
+
borderColor: '{surface.100}',
|
|
86
|
+
color: '{surface.950}',
|
|
87
|
+
iconColor: '{surface.950}',
|
|
88
|
+
detailColor: '{surface.700}',
|
|
89
|
+
shadow:
|
|
90
|
+
'0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)',
|
|
91
|
+
closeButton: {
|
|
92
|
+
hoverBackground: '{surface.100}',
|
|
93
|
+
focusRing: {
|
|
94
|
+
color: '{surface.950}',
|
|
95
|
+
shadow: 'none',
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export default darkColors;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
const lightColors = {
|
|
2
|
+
root: {
|
|
3
|
+
blur: '1.5px',
|
|
4
|
+
},
|
|
5
|
+
info: {
|
|
6
|
+
background: '{info.highlightColor}',
|
|
7
|
+
borderColor: '{info.highlightColor}',
|
|
8
|
+
color: '{info.onHighlightColor}',
|
|
9
|
+
iconColor: '{info.onHighlightColor}',
|
|
10
|
+
detailColor: '{info.onHighlightColor}',
|
|
11
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {info.color}, transparent 96%)',
|
|
12
|
+
closeButton: {
|
|
13
|
+
hoverBackground: '{info.onHighlightColor}',
|
|
14
|
+
focusRing: {
|
|
15
|
+
color: '{info.color}',
|
|
16
|
+
shadow: 'none',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
success: {
|
|
21
|
+
background: '{success.highlightColor}',
|
|
22
|
+
borderColor: '{success.highlightColor}',
|
|
23
|
+
color: '{success.onHighlightColor}',
|
|
24
|
+
iconColor: '{success.onHighlightColor}',
|
|
25
|
+
detailColor: '{success.onHighlightColor}',
|
|
26
|
+
shadow:
|
|
27
|
+
'0px 4px 8px 0px color-mix(in srgb, {success.color}, transparent 96%)',
|
|
28
|
+
closeButton: {
|
|
29
|
+
hoverBackground: '{success.onHighlightColor}',
|
|
30
|
+
focusRing: {
|
|
31
|
+
color: '{success.color}',
|
|
32
|
+
shadow: 'none',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
warn: {
|
|
37
|
+
background: '{warn.highlightColor}',
|
|
38
|
+
borderColor: '{warn.highlightColor}',
|
|
39
|
+
color: '{warn.onHighlightColor}',
|
|
40
|
+
iconColor: '{warn.onHighlightColor}',
|
|
41
|
+
detailColor: '{warn.onHighlightColor}',
|
|
42
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {warn.color}, transparent 96%)',
|
|
43
|
+
closeButton: {
|
|
44
|
+
hoverBackground: '{warn.onHighlightColor}',
|
|
45
|
+
focusRing: {
|
|
46
|
+
color: '{warn.color}',
|
|
47
|
+
shadow: 'none',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
error: {
|
|
52
|
+
background: '{error.highlightColor}',
|
|
53
|
+
borderColor: '{error.highlightColor}',
|
|
54
|
+
color: '{error.onHighlightColor}',
|
|
55
|
+
iconColor: '{error.onHighlightColor}',
|
|
56
|
+
detailColor: '{error.onHighlightColor}',
|
|
57
|
+
shadow:
|
|
58
|
+
'0px 4px 8px 0px color-mix(in srgb, {error.color}, transparent 96%)',
|
|
59
|
+
closeButton: {
|
|
60
|
+
hoverBackground: '{error.onHighlightColor}',
|
|
61
|
+
focusRing: {
|
|
62
|
+
color: '{error.color}',
|
|
63
|
+
shadow: 'none',
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
secondary: {
|
|
68
|
+
background: '{secondary.highlightColor}',
|
|
69
|
+
borderColor: '{secondary.highlightColor}',
|
|
70
|
+
color: '{secondary.onHighlightColor}',
|
|
71
|
+
iconColor: '{secondary.onHighlightColor}',
|
|
72
|
+
detailColor: '{secondary.onHighlightColor}',
|
|
73
|
+
shadow:
|
|
74
|
+
'0px 4px 8px 0px color-mix(in srgb, {secondary.color}, transparent 96%)',
|
|
75
|
+
closeButton: {
|
|
76
|
+
hoverBackground: '{secondary.onHighlightColor}',
|
|
77
|
+
focusRing: {
|
|
78
|
+
color: '{secondary.color}',
|
|
79
|
+
shadow: 'none',
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
contrast: {
|
|
84
|
+
background: '{surface.850}',
|
|
85
|
+
borderColor: '{surface.950}',
|
|
86
|
+
color: '{surface.50}',
|
|
87
|
+
iconColor: '{surface.50}',
|
|
88
|
+
detailColor: '{surface.100}',
|
|
89
|
+
shadow:
|
|
90
|
+
'0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)',
|
|
91
|
+
closeButton: {
|
|
92
|
+
hoverBackground: '{surface.800}',
|
|
93
|
+
focusRing: {
|
|
94
|
+
color: '{surface.50}',
|
|
95
|
+
shadow: 'none',
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export default lightColors;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const sizes = {
|
|
2
|
+
root: {
|
|
3
|
+
width: '25rem',
|
|
4
|
+
borderRadius: '{content.border.radius}',
|
|
5
|
+
borderWidth: '1px',
|
|
6
|
+
transitionDuration: '{transition.duration}',
|
|
7
|
+
},
|
|
8
|
+
icon: {
|
|
9
|
+
size: '1.5rem',
|
|
10
|
+
},
|
|
11
|
+
content: {
|
|
12
|
+
padding: '{overlay.popover.padding}',
|
|
13
|
+
gap: '0.5rem',
|
|
14
|
+
},
|
|
15
|
+
text: {
|
|
16
|
+
gap: '0',
|
|
17
|
+
},
|
|
18
|
+
summary: {
|
|
19
|
+
fontWeight: '700',
|
|
20
|
+
fontSize: '0.875rem',
|
|
21
|
+
},
|
|
22
|
+
detail: {
|
|
23
|
+
fontWeight: '400',
|
|
24
|
+
fontSize: '0.875rem',
|
|
25
|
+
},
|
|
26
|
+
closeButton: {
|
|
27
|
+
width: '1.75rem',
|
|
28
|
+
height: '1.75rem',
|
|
29
|
+
borderRadius: '50%',
|
|
30
|
+
focusRing: {
|
|
31
|
+
width: '{focus.ring.width}',
|
|
32
|
+
style: '{focus.ring.style}',
|
|
33
|
+
offset: '{focus.ring.offset}',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
closeIcon: {
|
|
37
|
+
size: '1rem',
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export default sizes;
|
|
@@ -6,6 +6,7 @@ const darkColor = {
|
|
|
6
6
|
foreground: '{amber.950}',
|
|
7
7
|
foregroundHover: '{amber.900}',
|
|
8
8
|
highlightColor: '{amber.850}',
|
|
9
|
+
onHighlightColor: '{amber.450}',
|
|
9
10
|
},
|
|
10
11
|
|
|
11
12
|
secondary: {
|
|
@@ -15,6 +16,7 @@ const darkColor = {
|
|
|
15
16
|
foreground: '{gray.350}',
|
|
16
17
|
foregroundHover: '{gray.300}',
|
|
17
18
|
highlightColor: '{gray.850}',
|
|
19
|
+
onHighlightColor: '{gray.300}',
|
|
18
20
|
},
|
|
19
21
|
|
|
20
22
|
success: {
|
|
@@ -24,6 +26,7 @@ const darkColor = {
|
|
|
24
26
|
foreground: '{green.950}',
|
|
25
27
|
foregroundHover: '{green.900}',
|
|
26
28
|
highlightColor: '{green.850}',
|
|
29
|
+
onHighlightColor: '{green.450}',
|
|
27
30
|
},
|
|
28
31
|
|
|
29
32
|
warn: {
|
|
@@ -33,6 +36,7 @@ const darkColor = {
|
|
|
33
36
|
foreground: '{orange.950}',
|
|
34
37
|
foregroundHover: '{orange.900}',
|
|
35
38
|
highlightColor: '{orange.850}',
|
|
39
|
+
onHighlightColor: '{orange.350}',
|
|
36
40
|
},
|
|
37
41
|
|
|
38
42
|
error: {
|
|
@@ -42,6 +46,7 @@ const darkColor = {
|
|
|
42
46
|
foreground: '{red.950}',
|
|
43
47
|
foregroundHover: '{red.900}',
|
|
44
48
|
highlightColor: '{red.850}',
|
|
49
|
+
onHighlightColor: '{red.300}',
|
|
45
50
|
},
|
|
46
51
|
|
|
47
52
|
info: {
|
|
@@ -51,6 +56,7 @@ const darkColor = {
|
|
|
51
56
|
foreground: '{light-blue.950}',
|
|
52
57
|
foregroundHover: '{light-blue.900}',
|
|
53
58
|
highlightColor: '{light-blue.850}',
|
|
59
|
+
onHighlightColor: '{light-blue.350}',
|
|
54
60
|
},
|
|
55
61
|
|
|
56
62
|
task: {
|
|
@@ -60,6 +66,7 @@ const darkColor = {
|
|
|
60
66
|
foreground: '{blue.950}',
|
|
61
67
|
foregroundHover: '{blue.900}',
|
|
62
68
|
highlightColor: '{blue.850}',
|
|
69
|
+
onHighlightColor: '{blue.350}',
|
|
63
70
|
},
|
|
64
71
|
|
|
65
72
|
transfer: {
|
|
@@ -69,6 +76,7 @@ const darkColor = {
|
|
|
69
76
|
foreground: '{indigo.950}',
|
|
70
77
|
foregroundHover: '{indigo.900}',
|
|
71
78
|
highlightColor: '{indigo.850}',
|
|
79
|
+
onHighlightColor: '{indigo.350}',
|
|
72
80
|
},
|
|
73
81
|
|
|
74
82
|
chat: {
|
|
@@ -78,6 +86,7 @@ const darkColor = {
|
|
|
78
86
|
foreground: '{cyan.950}',
|
|
79
87
|
foregroundHover: '{cyan.900}',
|
|
80
88
|
highlightColor: '{cyan.850}',
|
|
89
|
+
onHighlightColor: '{cyan.350}',
|
|
81
90
|
},
|
|
82
91
|
|
|
83
92
|
email: {
|
|
@@ -87,13 +96,14 @@ const darkColor = {
|
|
|
87
96
|
foreground: '{blue.950}',
|
|
88
97
|
foregroundHover: '{blue.900}',
|
|
89
98
|
highlightColor: '{blue.850}',
|
|
99
|
+
onHighlightColor: '{blue.350}',
|
|
90
100
|
},
|
|
91
101
|
|
|
92
102
|
highlight: {
|
|
93
|
-
background: '
|
|
94
|
-
focusBackground: '
|
|
95
|
-
color: '
|
|
96
|
-
focusColor: '
|
|
103
|
+
background: '{amber.800}',
|
|
104
|
+
focusBackground: '{amber.700}',
|
|
105
|
+
color: '{amber.300}',
|
|
106
|
+
focusColor: '{amber.200}',
|
|
97
107
|
},
|
|
98
108
|
mask: {
|
|
99
109
|
background: 'rgba(0,0,0,0.6)',
|
|
@@ -6,6 +6,7 @@ const lightColor = {
|
|
|
6
6
|
foreground: '{amber.900}',
|
|
7
7
|
foregroundHover: '{amber.850}',
|
|
8
8
|
highlightColor: '{amber.100}',
|
|
9
|
+
onHighlightColor: '{amber.750}',
|
|
9
10
|
},
|
|
10
11
|
|
|
11
12
|
secondary: {
|
|
@@ -15,6 +16,7 @@ const lightColor = {
|
|
|
15
16
|
foreground: '{gray.750}',
|
|
16
17
|
foregroundHover: '{gray.700}',
|
|
17
18
|
highlightColor: '{gray.50}',
|
|
19
|
+
onHighlightColor: '{gray.700}',
|
|
18
20
|
},
|
|
19
21
|
|
|
20
22
|
success: {
|
|
@@ -24,6 +26,7 @@ const lightColor = {
|
|
|
24
26
|
foreground: '{green.50}',
|
|
25
27
|
foregroundHover: '{green.100}',
|
|
26
28
|
highlightColor: '{green.100}',
|
|
29
|
+
onHighlightColor: '{green.750}',
|
|
27
30
|
},
|
|
28
31
|
|
|
29
32
|
warn: {
|
|
@@ -33,6 +36,7 @@ const lightColor = {
|
|
|
33
36
|
foreground: '{orange.50}',
|
|
34
37
|
foregroundHover: '{orange.100}',
|
|
35
38
|
highlightColor: '{orange.100}',
|
|
39
|
+
onHighlightColor: '{orange.650}',
|
|
36
40
|
},
|
|
37
41
|
|
|
38
42
|
error: {
|
|
@@ -42,6 +46,7 @@ const lightColor = {
|
|
|
42
46
|
foreground: '{red.50}',
|
|
43
47
|
foregroundHover: '{red.100}',
|
|
44
48
|
highlightColor: '{red.100}',
|
|
49
|
+
onHighlightColor: '{red.600}',
|
|
45
50
|
},
|
|
46
51
|
|
|
47
52
|
info: {
|
|
@@ -51,6 +56,7 @@ const lightColor = {
|
|
|
51
56
|
foreground: '{light-blue.50}',
|
|
52
57
|
foregroundHover: '{light-blue.100}',
|
|
53
58
|
highlightColor: '{light-blue.100}',
|
|
59
|
+
onHighlightColor: '{light-blue.700}',
|
|
54
60
|
},
|
|
55
61
|
|
|
56
62
|
task: {
|
|
@@ -60,6 +66,7 @@ const lightColor = {
|
|
|
60
66
|
foreground: '{blue.50}',
|
|
61
67
|
foregroundHover: '{blue.100}',
|
|
62
68
|
highlightColor: '{blue.100}',
|
|
69
|
+
onHighlightColor: '{blue.700}',
|
|
63
70
|
},
|
|
64
71
|
|
|
65
72
|
transfer: {
|
|
@@ -69,6 +76,7 @@ const lightColor = {
|
|
|
69
76
|
foreground: '{indigo.50}',
|
|
70
77
|
foregroundHover: '{indigo.100}',
|
|
71
78
|
highlightColor: '{indigo.100}',
|
|
79
|
+
onHighlightColor: '{indigo.700}',
|
|
72
80
|
},
|
|
73
81
|
|
|
74
82
|
chat: {
|
|
@@ -78,6 +86,7 @@ const lightColor = {
|
|
|
78
86
|
foreground: '{cyan.50}',
|
|
79
87
|
foregroundHover: '{cyan.100}',
|
|
80
88
|
highlightColor: '{cyan.100}',
|
|
89
|
+
onHighlightColor: '{cyan.700}',
|
|
81
90
|
},
|
|
82
91
|
|
|
83
92
|
email: {
|
|
@@ -87,13 +96,14 @@ const lightColor = {
|
|
|
87
96
|
foreground: '{blue.50}',
|
|
88
97
|
foregroundHover: '{blue.100}',
|
|
89
98
|
highlightColor: '{blue.100}',
|
|
99
|
+
onHighlightColor: '{blue.700}',
|
|
90
100
|
},
|
|
91
101
|
|
|
92
102
|
highlight: {
|
|
93
|
-
background: '{
|
|
94
|
-
focusBackground: '{
|
|
95
|
-
color: '{
|
|
96
|
-
focusColor: '{
|
|
103
|
+
background: '{amber.100}',
|
|
104
|
+
focusBackground: '{amber.200}',
|
|
105
|
+
color: '{amber.700}',
|
|
106
|
+
focusColor: '{amber.800}',
|
|
97
107
|
},
|
|
98
108
|
|
|
99
109
|
mask: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
padding: '0
|
|
2
|
+
padding: '0',
|
|
3
3
|
gap: '2px',
|
|
4
4
|
header: {
|
|
5
5
|
padding: '0.5rem 1rem 0.25rem 1rem',
|
|
6
6
|
},
|
|
7
7
|
option: {
|
|
8
|
-
padding: '0.5rem 0.
|
|
8
|
+
padding: '0.5rem 0.5rem',
|
|
9
9
|
borderRadius: '{border.radius.sm}',
|
|
10
10
|
},
|
|
11
11
|
optionGroup: {
|
|
@@ -68,7 +68,7 @@ export default {
|
|
|
68
68
|
lineHeight: '16px',
|
|
69
69
|
textTransform: 'none',
|
|
70
70
|
},
|
|
71
|
-
[WtTypography.
|
|
71
|
+
[WtTypography.ButtonMD]: {
|
|
72
72
|
font: {
|
|
73
73
|
size: '12px',
|
|
74
74
|
weight: '500',
|
|
@@ -76,6 +76,14 @@ export default {
|
|
|
76
76
|
lineHeight: '24px',
|
|
77
77
|
textTransform: 'uppercase',
|
|
78
78
|
},
|
|
79
|
+
[WtTypography.ButtonSM]: {
|
|
80
|
+
font: {
|
|
81
|
+
size: '10px',
|
|
82
|
+
weight: '500',
|
|
83
|
+
},
|
|
84
|
+
lineHeight: '24px',
|
|
85
|
+
textTransform: 'uppercase',
|
|
86
|
+
},
|
|
79
87
|
[WtTypography.Caption]: {
|
|
80
88
|
font: {
|
|
81
89
|
size: '10px',
|
|
@@ -33,6 +33,13 @@
|
|
|
33
33
|
--content-wrapper-color: var(--p-content-background);
|
|
34
34
|
--content-wrapper-hover-color: var(--p-content-hover-background);
|
|
35
35
|
|
|
36
|
+
/* context menu */
|
|
37
|
+
--context-menu-background-color: var(--content-wrapper-color);
|
|
38
|
+
--context-menu-option-hover-color: var(--p-surface-50);
|
|
39
|
+
--context-menu-option-disabled-color: var(--p-surface-100);
|
|
40
|
+
--context-menu-option-text-color: var(--text-main-color);
|
|
41
|
+
--context-menu-option-text-disabled-color: var(--text-disabled-color);
|
|
42
|
+
|
|
36
43
|
/* success colors */
|
|
37
44
|
--success-color: var(--green-darken-4);
|
|
38
45
|
--success-hover-color: var(--green-darken-3);
|
|
@@ -203,4 +210,8 @@
|
|
|
203
210
|
--text-link-color: var(--info-color);
|
|
204
211
|
/* typography on colors */
|
|
205
212
|
--text-on-brand-color: var(--white);
|
|
213
|
+
|
|
214
|
+
/* context menu */
|
|
215
|
+
--context-menu-option-hover-color: var(--p-surface-900);
|
|
216
|
+
--context-menu-option-disabled-color: var(--p-surface-850);
|
|
206
217
|
}
|
|
@@ -163,3 +163,17 @@
|
|
|
163
163
|
font-style: italic;
|
|
164
164
|
font-display: swap;
|
|
165
165
|
}
|
|
166
|
+
|
|
167
|
+
/*
|
|
168
|
+
This font was added for use in wt-input-text in case we need to hide the input value,like in a password input,
|
|
169
|
+
but without type="password" on input. It was added because not all brawsers are support 'text-security: disc' property,
|
|
170
|
+
So this font changes text to discs in these cases
|
|
171
|
+
*/
|
|
172
|
+
|
|
173
|
+
@font-face {
|
|
174
|
+
font-family: "text-security-disc";
|
|
175
|
+
src: url("../../../assets/fonts/text-security-disc/text-security-disc.woff2")
|
|
176
|
+
format("woff2");
|
|
177
|
+
font-weight: 100;
|
|
178
|
+
font-style: normal;
|
|
179
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--scrollbar-width:
|
|
3
|
-
--scrollbar-height:
|
|
4
|
-
--scrollbar-thumb-width:
|
|
2
|
+
--scrollbar-width: 10px;
|
|
3
|
+
--scrollbar-height: 10px;
|
|
4
|
+
--scrollbar-thumb-width: 10px;
|
|
5
5
|
--scrollbar-bg-color: var(--p-surface-50);
|
|
6
6
|
--scrollbar-thumb-color: var(--p-surface-150);
|
|
7
7
|
--scrollbar-hover-thumb-color: var(--p-surface-250);
|
|
@@ -108,7 +108,7 @@ NOTE: text-transform: none; is set explicitly cause t-t is inherited from pare
|
|
|
108
108
|
/* 0.01em */
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
.typo-button {
|
|
111
|
+
.typo-button--md {
|
|
112
112
|
font-family: "Montserrat", monospace;
|
|
113
113
|
font-size: 12px;
|
|
114
114
|
font-weight: 500;
|
|
@@ -118,6 +118,16 @@ NOTE: text-transform: none; is set explicitly cause t-t is inherited from pare
|
|
|
118
118
|
/* 0.06em */
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
+
.typo-button--sm {
|
|
122
|
+
font-family: "Montserrat", monospace;
|
|
123
|
+
font-size: 10px;
|
|
124
|
+
font-weight: 500;
|
|
125
|
+
line-height: 24px;
|
|
126
|
+
text-transform: uppercase;
|
|
127
|
+
/* letter-spacing: 0.96px; */
|
|
128
|
+
/* 0.06em */
|
|
129
|
+
}
|
|
130
|
+
|
|
121
131
|
.typo-caption {
|
|
122
132
|
font-family: "Montserrat", monospace;
|
|
123
133
|
font-size: 10px;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|