@webitel/styleguide 26.2.2 → 26.2.3
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 +1 -1
- package/src/lib/primevue/components/index.ts +10 -0
- package/src/lib/primevue/components/input-group/colors/dark/index.ts +9 -0
- package/src/lib/primevue/components/input-group/colors/index.ts +9 -0
- package/src/lib/primevue/components/input-group/colors/light/index.ts +9 -0
- package/src/lib/primevue/components/input-group/index.ts +9 -0
- package/src/lib/primevue/components/input-group/sizes/index.ts +9 -0
- package/src/lib/primevue/components/input-number/colors/dark/index.ts +15 -0
- package/src/lib/primevue/components/input-number/colors/index.ts +9 -0
- package/src/lib/primevue/components/input-number/colors/light/index.ts +15 -0
- package/src/lib/primevue/components/input-number/index.ts +9 -0
- package/src/lib/primevue/components/input-number/sizes/index.ts +12 -0
- package/src/lib/primevue/components/input-text/colors/dark/index.ts +24 -0
- package/src/lib/primevue/components/input-text/colors/index.ts +9 -0
- package/src/lib/primevue/components/input-text/colors/light/index.ts +24 -0
- package/src/lib/primevue/components/input-text/index.ts +9 -0
- package/src/lib/primevue/components/input-text/sizes/index.ts +25 -0
- package/src/lib/primevue/components/message/colors/dark/index.ts +142 -0
- package/src/lib/primevue/components/message/colors/index.ts +9 -0
- package/src/lib/primevue/components/message/colors/light/index.ts +142 -0
- package/src/lib/primevue/components/message/index.ts +9 -0
- package/src/lib/primevue/components/message/sizes/index.ts +67 -0
- package/src/lib/primevue/components/password/colors/dark/index.ts +21 -0
- package/src/lib/primevue/components/password/colors/index.ts +9 -0
- package/src/lib/primevue/components/password/colors/light/index.ts +21 -0
- package/src/lib/primevue/components/password/index.ts +9 -0
- package/src/lib/primevue/components/password/sizes/index.ts +15 -0
- package/src/lib/primevue/semantic/color-scheme/form-field/dark/index.ts +5 -5
- package/src/lib/primevue/semantic/color-scheme/form-field/light/index.ts +5 -5
package/package.json
CHANGED
|
@@ -15,6 +15,11 @@ import TableScheme from "./table";
|
|
|
15
15
|
import TextareaScheme from "./textarea";
|
|
16
16
|
import ToolbarScheme from './toolbar';
|
|
17
17
|
import TooltipScheme from './tooltip';
|
|
18
|
+
import InputNumberScheme from "./input-number";
|
|
19
|
+
import InputTextScheme from "./input-text";
|
|
20
|
+
import PasswordScheme from "./password";
|
|
21
|
+
import InputGroupScheme from "./input-group";
|
|
22
|
+
import MessageScheme from "./message";
|
|
18
23
|
|
|
19
24
|
export {
|
|
20
25
|
AvatarScheme,
|
|
@@ -34,4 +39,9 @@ export {
|
|
|
34
39
|
BreadcrumbScheme,
|
|
35
40
|
RadioScheme,
|
|
36
41
|
GalleriaScheme,
|
|
42
|
+
InputNumberScheme,
|
|
43
|
+
InputTextScheme,
|
|
44
|
+
PasswordScheme,
|
|
45
|
+
InputGroupScheme,
|
|
46
|
+
MessageScheme,
|
|
37
47
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const darkColors = {
|
|
2
|
+
button: {
|
|
3
|
+
background: 'transparent',
|
|
4
|
+
hoverBackground: '{surface.700}',
|
|
5
|
+
activeBackground: '{surface.750}',
|
|
6
|
+
borderColor: '{form.field.border.color}',
|
|
7
|
+
hoverBorderColor: '{form.field.hover.border.color}',
|
|
8
|
+
activeBorderColor: '{form.field.border.color}',
|
|
9
|
+
color: '{surface.400}',
|
|
10
|
+
hoverColor: '{surface.300}',
|
|
11
|
+
activeColor: '{surface.200}'
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default darkColors
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const lightColors = {
|
|
2
|
+
button: {
|
|
3
|
+
background: 'transparent',
|
|
4
|
+
hoverBackground: '{surface.50}',
|
|
5
|
+
activeBackground: '{surface.100}',
|
|
6
|
+
borderColor: '{form.field.border.color}',
|
|
7
|
+
hoverBorderColor: '{form.field.hover.border.color}',
|
|
8
|
+
activeBorderColor: '{form.field.border.color}',
|
|
9
|
+
color: '{surface.400}',
|
|
10
|
+
hoverColor: '{surface.500}',
|
|
11
|
+
activeColor: '{surface.600}'
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default lightColors
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const darkColors = {
|
|
2
|
+
root: {
|
|
3
|
+
background: '{form.field.background}',
|
|
4
|
+
disabledBackground: '{form.field.disabled.background}',
|
|
5
|
+
filledBackground: '{form.field.filled.background}',
|
|
6
|
+
filledHoverBackground: '{form.field.filled.hover.background}',
|
|
7
|
+
filledFocusBackground: '{form.field.filled.focus.background}',
|
|
8
|
+
borderColor: '{form.field.border.color}',
|
|
9
|
+
hoverBorderColor: '{form.field.hover.border.color}',
|
|
10
|
+
focusBorderColor: '{form.field.focus.border.color}',
|
|
11
|
+
invalidBorderColor: '{form.field.invalid.border.color}',
|
|
12
|
+
color: '{form.field.color}',
|
|
13
|
+
disabledColor: '{form.field.disabled.color}',
|
|
14
|
+
placeholderColor: '{form.field.placeholder.color}',
|
|
15
|
+
invalidPlaceholderColor: '{form.field.invalid.placeholder.color}',
|
|
16
|
+
shadow: '{form.field.shadow}',
|
|
17
|
+
focusRing: {
|
|
18
|
+
color: '{form.field.focus.ring.color}',
|
|
19
|
+
shadow: '{form.field.focus.ring.shadow}'
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default darkColors
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const lightColors = {
|
|
2
|
+
root: {
|
|
3
|
+
background: '{form.field.background}',
|
|
4
|
+
disabledBackground: '{form.field.disabled.background}',
|
|
5
|
+
filledBackground: '{form.field.filled.background}',
|
|
6
|
+
filledHoverBackground: '{form.field.filled.hover.background}',
|
|
7
|
+
filledFocusBackground: '{form.field.filled.focus.background}',
|
|
8
|
+
borderColor: '{form.field.border.color}',
|
|
9
|
+
hoverBorderColor: '{form.field.hover.border.color}',
|
|
10
|
+
focusBorderColor: '{form.field.focus.border.color}',
|
|
11
|
+
invalidBorderColor: '{form.field.invalid.border.color}',
|
|
12
|
+
color: '{form.field.color}',
|
|
13
|
+
disabledColor: '{form.field.disabled.color}',
|
|
14
|
+
placeholderColor: '{form.field.placeholder.color}',
|
|
15
|
+
invalidPlaceholderColor: '{form.field.invalid.placeholder.color}',
|
|
16
|
+
shadow: '{form.field.shadow}',
|
|
17
|
+
focusRing: {
|
|
18
|
+
color: '{form.field.focus.ring.color}',
|
|
19
|
+
shadow: '{form.field.focus.ring.shadow}'
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default lightColors
|
|
@@ -0,0 +1,25 @@
|
|
|
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: '{form.field.transition.duration}',
|
|
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
|
+
}
|
|
24
|
+
|
|
25
|
+
export default sizes
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
const darkColors = {
|
|
2
|
+
info: {
|
|
3
|
+
background: '{info.highlightColor}',
|
|
4
|
+
borderColor: '{info.color}',
|
|
5
|
+
color: '{info.color}',
|
|
6
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {info.color}, transparent 96%)',
|
|
7
|
+
closeButton: {
|
|
8
|
+
hoverBackground: '{info.foreground}',
|
|
9
|
+
focusRing: {
|
|
10
|
+
color: '{info.color}',
|
|
11
|
+
shadow: 'none'
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
outlined: {
|
|
15
|
+
color: '{info.color}',
|
|
16
|
+
borderColor: '{info.color}',
|
|
17
|
+
closeButton: {
|
|
18
|
+
hoverBackground: '{info.foreground}',
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
simple: {
|
|
22
|
+
color: '{info.color}'
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
success: {
|
|
26
|
+
background: '{success.highlightColor}',
|
|
27
|
+
borderColor: '{success.color}',
|
|
28
|
+
color: '{success.color}',
|
|
29
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {success.color}, transparent 96%)',
|
|
30
|
+
closeButton: {
|
|
31
|
+
hoverBackground: '{success.foreground}',
|
|
32
|
+
focusRing: {
|
|
33
|
+
color: '{success.color}',
|
|
34
|
+
shadow: 'none'
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
outlined: {
|
|
38
|
+
color: '{success.color}',
|
|
39
|
+
borderColor: '{success.color}',
|
|
40
|
+
closeButton: {
|
|
41
|
+
hoverBackground: '{success.foreground}',
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
simple: {
|
|
45
|
+
color: '{success.color}'
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
warn: {
|
|
49
|
+
background: '{warn.highlightColor}',
|
|
50
|
+
borderColor: '{warn.color}',
|
|
51
|
+
color: '{warn.color}',
|
|
52
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {warn.color}, transparent 96%)',
|
|
53
|
+
closeButton: {
|
|
54
|
+
hoverBackground: '{warn.foreground}',
|
|
55
|
+
focusRing: {
|
|
56
|
+
color: '{warn.color}',
|
|
57
|
+
shadow: 'none'
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
outlined: {
|
|
61
|
+
color: '{warn.color}',
|
|
62
|
+
borderColor: '{warn.color}',
|
|
63
|
+
closeButton: {
|
|
64
|
+
hoverBackground: '{warn.foreground}',
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
simple: {
|
|
68
|
+
color: '{warn.color}'
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
error: {
|
|
72
|
+
background: '{error.highlightColor}',
|
|
73
|
+
borderColor: '{error.color}',
|
|
74
|
+
color: '{error.color}',
|
|
75
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {error.color}, transparent 96%)',
|
|
76
|
+
closeButton: {
|
|
77
|
+
hoverBackground: '{error.foreground}',
|
|
78
|
+
focusRing: {
|
|
79
|
+
color: '{error.color}',
|
|
80
|
+
shadow: 'none'
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
outlined: {
|
|
84
|
+
color: '{error.color}',
|
|
85
|
+
borderColor: '{error.color}',
|
|
86
|
+
closeButton: {
|
|
87
|
+
hoverBackground: '{error.foreground}',
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
simple: {
|
|
91
|
+
color: '{error.color}'
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
secondary: {
|
|
95
|
+
background: '{secondary.highlightColor}',
|
|
96
|
+
borderColor: '{secondary.color}',
|
|
97
|
+
color: '{secondary.foreground}',
|
|
98
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {secondary.color}, transparent 96%)',
|
|
99
|
+
closeButton: {
|
|
100
|
+
hoverBackground: '{secondary.color}',
|
|
101
|
+
focusRing: {
|
|
102
|
+
color: '{secondary.color}',
|
|
103
|
+
shadow: 'none'
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
outlined: {
|
|
107
|
+
color: '{secondary.foreground}',
|
|
108
|
+
borderColor: '{secondary.color}',
|
|
109
|
+
closeButton: {
|
|
110
|
+
hoverBackground: '{secondary.highlightColor}',
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
simple: {
|
|
114
|
+
color: '{secondary.foreground}'
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
contrast: {
|
|
118
|
+
background: '{surface.0}',
|
|
119
|
+
borderColor: '{surface.100}',
|
|
120
|
+
color: '{surface.950}',
|
|
121
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)',
|
|
122
|
+
closeButton: {
|
|
123
|
+
hoverBackground: '{surface.100}',
|
|
124
|
+
focusRing: {
|
|
125
|
+
color: '{surface.950}',
|
|
126
|
+
shadow: 'none'
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
outlined: {
|
|
130
|
+
color: '{surface.0}',
|
|
131
|
+
borderColor: '{surface.0}',
|
|
132
|
+
closeButton: {
|
|
133
|
+
hoverBackground: '{surface.850}',
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
simple: {
|
|
137
|
+
color: '{surface.0}'
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
export default darkColors;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
const lightColors = {
|
|
2
|
+
info: {
|
|
3
|
+
background: '{info.highlightColor}',
|
|
4
|
+
borderColor: '{info.color}',
|
|
5
|
+
color: '{info.color}',
|
|
6
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {info.color}, transparent 96%)',
|
|
7
|
+
closeButton: {
|
|
8
|
+
hoverBackground: '{info.foreground}',
|
|
9
|
+
focusRing: {
|
|
10
|
+
color: '{info.color}',
|
|
11
|
+
shadow: 'none'
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
outlined: {
|
|
15
|
+
color: '{info.color}',
|
|
16
|
+
borderColor: '{info.color}',
|
|
17
|
+
closeButton: {
|
|
18
|
+
hoverBackground: '{info.foreground}',
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
simple: {
|
|
22
|
+
color: '{info.color}'
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
success: {
|
|
26
|
+
background: '{success.highlightColor}',
|
|
27
|
+
borderColor: '{success.color}',
|
|
28
|
+
color: '{success.color}',
|
|
29
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {success.color}, transparent 96%)',
|
|
30
|
+
closeButton: {
|
|
31
|
+
hoverBackground: '{success.foreground}',
|
|
32
|
+
focusRing: {
|
|
33
|
+
color: '{success.color}',
|
|
34
|
+
shadow: 'none'
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
outlined: {
|
|
38
|
+
color: '{success.color}',
|
|
39
|
+
borderColor: '{success.color}',
|
|
40
|
+
closeButton: {
|
|
41
|
+
hoverBackground: '{success.foreground}',
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
simple: {
|
|
45
|
+
color: '{success.color}'
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
warn: {
|
|
49
|
+
background: '{warn.highlightColor}',
|
|
50
|
+
borderColor: '{warn.color}',
|
|
51
|
+
color: '{warn.color}',
|
|
52
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {warn.color}, transparent 96%)',
|
|
53
|
+
closeButton: {
|
|
54
|
+
hoverBackground: '{warn.foreground}',
|
|
55
|
+
focusRing: {
|
|
56
|
+
color: '{warn.color}',
|
|
57
|
+
shadow: 'none'
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
outlined: {
|
|
61
|
+
color: '{warn.color}',
|
|
62
|
+
borderColor: '{warn.color}',
|
|
63
|
+
closeButton: {
|
|
64
|
+
hoverBackground: '{warn.foreground}',
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
simple: {
|
|
68
|
+
color: '{warn.color}'
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
error: {
|
|
72
|
+
background: '{error.highlightColor}',
|
|
73
|
+
borderColor: '{error.color}',
|
|
74
|
+
color: '{error.color}',
|
|
75
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {error.color}, transparent 96%)',
|
|
76
|
+
closeButton: {
|
|
77
|
+
hoverBackground: '{error.foreground}',
|
|
78
|
+
focusRing: {
|
|
79
|
+
color: '{error.color}',
|
|
80
|
+
shadow: 'none'
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
outlined: {
|
|
84
|
+
color: '{error.color}',
|
|
85
|
+
borderColor: '{error.color}',
|
|
86
|
+
closeButton: {
|
|
87
|
+
hoverBackground: '{error.foreground}',
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
simple: {
|
|
91
|
+
color: '{error.color}'
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
secondary: {
|
|
95
|
+
background: '{secondary.highlightColor}',
|
|
96
|
+
borderColor: '{secondary.color}',
|
|
97
|
+
color: '{secondary.foreground}',
|
|
98
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {secondary.color}, transparent 96%)',
|
|
99
|
+
closeButton: {
|
|
100
|
+
hoverBackground: '{secondary.color}',
|
|
101
|
+
focusRing: {
|
|
102
|
+
color: '{secondary.color}',
|
|
103
|
+
shadow: 'none'
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
outlined: {
|
|
107
|
+
color: '{secondary.foreground}',
|
|
108
|
+
borderColor: '{secondary.color}',
|
|
109
|
+
closeButton: {
|
|
110
|
+
hoverBackground: '{secondary.highlightColor}',
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
simple: {
|
|
114
|
+
color: '{secondary.foreground}'
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
contrast: {
|
|
118
|
+
background: '{surface.850}',
|
|
119
|
+
borderColor: '{surface.950}',
|
|
120
|
+
color: '{surface.50}',
|
|
121
|
+
shadow: '0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)',
|
|
122
|
+
closeButton: {
|
|
123
|
+
hoverBackground: '{surface.800}',
|
|
124
|
+
focusRing: {
|
|
125
|
+
color: '{surface.50}',
|
|
126
|
+
shadow: 'none'
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
outlined: {
|
|
130
|
+
color: '{surface.950}',
|
|
131
|
+
borderColor: '{surface.950}',
|
|
132
|
+
closeButton: {
|
|
133
|
+
hoverBackground: '{surface.50}',
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
simple: {
|
|
137
|
+
color: '{surface.950}'
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
export default lightColors;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
const sizes = {
|
|
2
|
+
root: {
|
|
3
|
+
borderRadius: '{content.border.radius}',
|
|
4
|
+
borderWidth: '1px',
|
|
5
|
+
transitionDuration: '{transition.duration}'
|
|
6
|
+
},
|
|
7
|
+
content: {
|
|
8
|
+
padding: '0.5rem 0.75rem',
|
|
9
|
+
gap: '0.5rem',
|
|
10
|
+
sm: {
|
|
11
|
+
padding: '0.375rem 0.625rem'
|
|
12
|
+
},
|
|
13
|
+
lg: {
|
|
14
|
+
padding: '0.625rem 0.875rem'
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
text: {
|
|
18
|
+
fontSize: '1rem',
|
|
19
|
+
fontWeight: '500',
|
|
20
|
+
sm: {
|
|
21
|
+
fontSize: '0.75rem'
|
|
22
|
+
},
|
|
23
|
+
lg: {
|
|
24
|
+
fontSize: '1.125rem'
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
icon: {
|
|
28
|
+
size: '1.5rem',
|
|
29
|
+
sm: {
|
|
30
|
+
size: '1rem'
|
|
31
|
+
},
|
|
32
|
+
lg: {
|
|
33
|
+
size: '2rem'
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
closeButton: {
|
|
37
|
+
width: '1.75rem',
|
|
38
|
+
height: '1.75rem',
|
|
39
|
+
borderRadius: '50%',
|
|
40
|
+
focusRing: {
|
|
41
|
+
width: '{focus.ring.width}',
|
|
42
|
+
style: '{focus.ring.style}',
|
|
43
|
+
offset: '{focus.ring.offset}'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
closeIcon: {
|
|
47
|
+
size: '1rem',
|
|
48
|
+
sm: {
|
|
49
|
+
size: '0.875rem'
|
|
50
|
+
},
|
|
51
|
+
lg: {
|
|
52
|
+
size: '1.125rem'
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
outlined: {
|
|
56
|
+
root: {
|
|
57
|
+
borderWidth: '1px'
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
simple: {
|
|
61
|
+
content: {
|
|
62
|
+
padding: '0.25rem 0.5rem',
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export default sizes;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const darkColors = {
|
|
2
|
+
meter: {
|
|
3
|
+
background: '{content.border.color}'
|
|
4
|
+
},
|
|
5
|
+
icon: {
|
|
6
|
+
color: '{form.field.icon.color}'
|
|
7
|
+
},
|
|
8
|
+
overlay: {
|
|
9
|
+
background: '{overlay.popover.background}',
|
|
10
|
+
borderColor: '{overlay.popover.border.color}',
|
|
11
|
+
color: '{overlay.popover.color}',
|
|
12
|
+
shadow: '{overlay.popover.shadow}'
|
|
13
|
+
},
|
|
14
|
+
strength: {
|
|
15
|
+
weakBackground: '{error.color}',
|
|
16
|
+
mediumBackground: '{warn.color}',
|
|
17
|
+
strongBackground: '{success.color}'
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export default darkColors
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const lightColors = {
|
|
2
|
+
meter: {
|
|
3
|
+
background: '{content.border.color}'
|
|
4
|
+
},
|
|
5
|
+
icon: {
|
|
6
|
+
color: '{form.field.icon.color}'
|
|
7
|
+
},
|
|
8
|
+
overlay: {
|
|
9
|
+
background: '{overlay.popover.background}',
|
|
10
|
+
borderColor: '{overlay.popover.border.color}',
|
|
11
|
+
color: '{overlay.popover.color}',
|
|
12
|
+
shadow: '{overlay.popover.shadow}'
|
|
13
|
+
},
|
|
14
|
+
strength: {
|
|
15
|
+
weakBackground: '{error.color}',
|
|
16
|
+
mediumBackground: '{warn.color}',
|
|
17
|
+
strongBackground: '{success.color}'
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export default lightColors
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const sizes = {
|
|
2
|
+
meter: {
|
|
3
|
+
borderRadius: '{content.border.radius}',
|
|
4
|
+
height: '0.75rem'
|
|
5
|
+
},
|
|
6
|
+
overlay: {
|
|
7
|
+
borderRadius: '{overlay.popover.border.radius}',
|
|
8
|
+
padding: '{overlay.popover.padding}'
|
|
9
|
+
},
|
|
10
|
+
content: {
|
|
11
|
+
gap: '0.5rem'
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default sizes
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
formField: {
|
|
3
|
-
background: '{
|
|
3
|
+
background: '{transparent}',
|
|
4
4
|
disabledBackground: '{surface.750}',
|
|
5
5
|
filledBackground: '{surface.800}',
|
|
6
6
|
filledHoverBackground: '{surface.800}',
|
|
7
7
|
filledFocusBackground: '{surface.800}',
|
|
8
|
-
borderColor: '{surface.
|
|
9
|
-
hoverBorderColor: '{surface.
|
|
8
|
+
borderColor: '{surface.450}',
|
|
9
|
+
hoverBorderColor: '{surface.250}',
|
|
10
10
|
focusBorderColor: '{primary.color}',
|
|
11
11
|
invalidBorderColor: '{error.color}',
|
|
12
12
|
color: '{surface.0}',
|
|
13
13
|
disabledColor: '{surface.400}',
|
|
14
14
|
placeholderColor: '{surface.400}',
|
|
15
|
-
invalidPlaceholderColor: '{
|
|
15
|
+
invalidPlaceholderColor: '{red.400}',
|
|
16
16
|
floatLabelColor: '{surface.400}',
|
|
17
17
|
floatLabelFocusColor: '{primary.color}',
|
|
18
18
|
floatLabelActiveColor: '{surface.400}',
|
|
19
19
|
floatLabelInvalidColor: '{form.field.invalid.placeholder.color}',
|
|
20
|
-
iconColor: '{
|
|
20
|
+
iconColor: '{surface.400}',
|
|
21
21
|
shadow: '0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)'
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
formField: {
|
|
3
|
-
background: '{
|
|
3
|
+
background: '{transparent}',
|
|
4
4
|
disabledBackground: '{surface.100}',
|
|
5
5
|
filledBackground: '{surface.50}',
|
|
6
6
|
filledHoverBackground: '{surface.50}',
|
|
7
7
|
filledFocusBackground: '{surface.50}',
|
|
8
|
-
borderColor: '{surface.
|
|
9
|
-
hoverBorderColor: '{surface.
|
|
8
|
+
borderColor: '{surface.550}',
|
|
9
|
+
hoverBorderColor: '{surface.750}',
|
|
10
10
|
focusBorderColor: '{primary.color}',
|
|
11
11
|
invalidBorderColor: '{error.color}',
|
|
12
12
|
color: '{surface.700}',
|
|
13
13
|
disabledColor: '{surface.500}',
|
|
14
14
|
placeholderColor: '{surface.500}',
|
|
15
|
-
invalidPlaceholderColor: '{
|
|
15
|
+
invalidPlaceholderColor: '{red.600}',
|
|
16
16
|
floatLabelColor: '{surface.500}',
|
|
17
17
|
floatLabelFocusColor: '{primary.600}',
|
|
18
18
|
floatLabelActiveColor: '{surface.500}',
|
|
19
19
|
floatLabelInvalidColor: '{form.field.invalid.placeholder.color}',
|
|
20
|
-
iconColor: '{
|
|
20
|
+
iconColor: '{surface.400}',
|
|
21
21
|
shadow: '0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)'
|
|
22
22
|
}
|
|
23
23
|
}
|