igniteui-theming 4.1.0 → 4.3.0
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/sass/color/_functions.scss +8 -4
- package/sass/themes/schemas/components/dark/_action-strip.scss +3 -3
- package/sass/themes/schemas/components/dark/_avatar.scss +3 -3
- package/sass/themes/schemas/components/dark/_badge.scss +3 -3
- package/sass/themes/schemas/components/dark/_banner.scss +3 -3
- package/sass/themes/schemas/components/dark/_bottom-nav.scss +8 -17
- package/sass/themes/schemas/components/dark/_button-group.scss +3 -3
- package/sass/themes/schemas/components/dark/_button.scss +4 -7
- package/sass/themes/schemas/components/dark/_calendar.scss +4 -4
- package/sass/themes/schemas/components/dark/_card.scss +4 -4
- package/sass/themes/schemas/components/dark/_carousel.scss +3 -3
- package/sass/themes/schemas/components/dark/_checkbox.scss +3 -3
- package/sass/themes/schemas/components/dark/_chip.scss +6 -6
- package/sass/themes/schemas/components/dark/_column-actions.scss +6 -6
- package/sass/themes/schemas/components/dark/_combo.scss +3 -3
- package/sass/themes/schemas/components/dark/_date-range-picker.scss +3 -3
- package/sass/themes/schemas/components/dark/_dialog.scss +3 -3
- package/sass/themes/schemas/components/dark/_divider.scss +3 -3
- package/sass/themes/schemas/components/dark/_dock-manager.scss +6 -0
- package/sass/themes/schemas/components/dark/_drop-down.scss +3 -3
- package/sass/themes/schemas/components/dark/_expansion-panel.scss +3 -3
- package/sass/themes/schemas/components/dark/_grid-filtering.scss +3 -3
- package/sass/themes/schemas/components/dark/_grid-summary.scss +3 -3
- package/sass/themes/schemas/components/dark/_grid-toolbar.scss +5 -5
- package/sass/themes/schemas/components/dark/_grid.scss +4 -20
- package/sass/themes/schemas/components/dark/_highlight.scss +6 -0
- package/sass/themes/schemas/components/dark/_icon-button.scss +1 -1
- package/sass/themes/schemas/components/dark/_icon.scss +6 -6
- package/sass/themes/schemas/components/dark/_index.scss +53 -53
- package/sass/themes/schemas/components/dark/_input-group.scss +9 -15
- package/sass/themes/schemas/components/dark/_label.scss +3 -3
- package/sass/themes/schemas/components/dark/_list.scss +8 -9
- package/sass/themes/schemas/components/dark/_navbar.scss +3 -3
- package/sass/themes/schemas/components/dark/_navdrawer.scss +6 -3
- package/sass/themes/schemas/components/dark/_overlay.scss +3 -3
- package/sass/themes/schemas/components/dark/_pagination.scss +6 -6
- package/sass/themes/schemas/components/dark/_pivot-data-selector.scss +6 -5
- package/sass/themes/schemas/components/dark/_progress.scss +14 -10
- package/sass/themes/schemas/components/dark/_query-builder.scss +7 -7
- package/sass/themes/schemas/components/dark/_radio.scss +26 -36
- package/sass/themes/schemas/components/dark/_rating.scss +3 -3
- package/sass/themes/schemas/components/dark/_ripple.scss +3 -3
- package/sass/themes/schemas/components/dark/_scrollbar.scss +4 -5
- package/sass/themes/schemas/components/dark/_select.scss +3 -3
- package/sass/themes/schemas/components/dark/_slider.scss +3 -3
- package/sass/themes/schemas/components/dark/_snackbar.scss +3 -3
- package/sass/themes/schemas/components/dark/_splitter.scss +2 -2
- package/sass/themes/schemas/components/dark/_stepper.scss +4 -4
- package/sass/themes/schemas/components/dark/_switch.scss +5 -14
- package/sass/themes/schemas/components/dark/_tabs.scss +5 -5
- package/sass/themes/schemas/components/dark/_time-picker.scss +3 -3
- package/sass/themes/schemas/components/dark/_toast.scss +6 -4
- package/sass/themes/schemas/components/dark/_tooltip.scss +3 -4
- package/sass/themes/schemas/components/dark/_tree.scss +6 -33
- package/sass/themes/schemas/components/dark/_watermark.scss +16 -26
- package/sass/themes/schemas/components/elevation/_button.scss +2 -2
- package/sass/themes/schemas/components/light/_action-strip.scss +9 -0
- package/sass/themes/schemas/components/light/_avatar.scss +5 -3
- package/sass/themes/schemas/components/light/_badge.scss +5 -0
- package/sass/themes/schemas/components/light/_banner.scss +5 -0
- package/sass/themes/schemas/components/light/_bottom-nav.scss +5 -0
- package/sass/themes/schemas/components/light/_button-group.scss +52 -49
- package/sass/themes/schemas/components/light/_button.scss +164 -104
- package/sass/themes/schemas/components/light/_calendar.scss +66 -56
- package/sass/themes/schemas/components/light/_card.scss +18 -33
- package/sass/themes/schemas/components/light/_carousel.scss +7 -0
- package/sass/themes/schemas/components/light/_checkbox.scss +37 -53
- package/sass/themes/schemas/components/light/_chip.scss +63 -77
- package/sass/themes/schemas/components/light/_column-actions.scss +5 -0
- package/sass/themes/schemas/components/light/_combo.scss +31 -36
- package/sass/themes/schemas/components/light/_date-range-picker.scss +5 -0
- package/sass/themes/schemas/components/light/_dialog.scss +5 -0
- package/sass/themes/schemas/components/light/_divider.scss +5 -0
- package/sass/themes/schemas/components/light/_dock-manager.scss +68 -97
- package/sass/themes/schemas/components/light/_drop-down.scss +68 -89
- package/sass/themes/schemas/components/light/_expansion-panel.scss +5 -0
- package/sass/themes/schemas/components/light/_grid-filtering.scss +6 -9
- package/sass/themes/schemas/components/light/_grid-summary.scss +5 -0
- package/sass/themes/schemas/components/light/_grid-toolbar.scss +5 -0
- package/sass/themes/schemas/components/light/_grid.scss +98 -171
- package/sass/themes/schemas/components/light/_highlight.scss +5 -0
- package/sass/themes/schemas/components/light/_icon-button.scss +1 -1
- package/sass/themes/schemas/components/light/_icon.scss +5 -0
- package/sass/themes/schemas/components/light/_index.scss +53 -53
- package/sass/themes/schemas/components/light/_input-group.scss +35 -116
- package/sass/themes/schemas/components/light/_label.scss +9 -11
- package/sass/themes/schemas/components/light/_list.scss +6 -1
- package/sass/themes/schemas/components/light/_navbar.scss +24 -1
- package/sass/themes/schemas/components/light/_navdrawer.scss +18 -2
- package/sass/themes/schemas/components/light/_overlay.scss +6 -1
- package/sass/themes/schemas/components/light/_pagination.scss +7 -2
- package/sass/themes/schemas/components/light/_pivot-data-selector.scss +6 -1
- package/sass/themes/schemas/components/light/_progress.scss +14 -42
- package/sass/themes/schemas/components/light/_query-builder.scss +10 -11
- package/sass/themes/schemas/components/light/_radio.scss +57 -67
- package/sass/themes/schemas/components/light/_rating.scss +22 -42
- package/sass/themes/schemas/components/light/_ripple.scss +6 -1
- package/sass/themes/schemas/components/light/_scrollbar.scss +6 -12
- package/sass/themes/schemas/components/light/_select.scss +20 -18
- package/sass/themes/schemas/components/light/_slider.scss +65 -68
- package/sass/themes/schemas/components/light/_snackbar.scss +6 -6
- package/sass/themes/schemas/components/light/_splitter.scss +6 -2
- package/sass/themes/schemas/components/light/_stepper.scss +74 -141
- package/sass/themes/schemas/components/light/_switch.scss +101 -141
- package/sass/themes/schemas/components/light/_tabs.scss +19 -36
- package/sass/themes/schemas/components/light/_time-picker.scss +11 -4
- package/sass/themes/schemas/components/light/_toast.scss +6 -1
- package/sass/themes/schemas/components/light/_tooltip.scss +6 -1
- package/sass/themes/schemas/components/light/_tree.scss +49 -73
- package/sass/themes/schemas/components/light/_watermark.scss +6 -1
- package/sass/utils/_map.scss +40 -0
|
@@ -10,65 +10,71 @@
|
|
|
10
10
|
|
|
11
11
|
/* stylelint-disable max-line-length */
|
|
12
12
|
|
|
13
|
-
/// Generates a light switch schema.
|
|
13
|
+
/// Generates a base light switch schema.
|
|
14
14
|
/// @type {Map}
|
|
15
|
-
/// @prop {Map} thumb-on-color [color: ('
|
|
16
|
-
/// @prop {Map} track-on-color [color: ('
|
|
17
|
-
/// @prop {
|
|
18
|
-
/// @prop {Map} track-off-color [color: ('gray', 500)] - The color of the track when the switch is off.
|
|
19
|
-
/// @prop {Map} thumb-disabled-color [color: ('gray', 200)] - The color of the thumb when the switch is disabled.
|
|
15
|
+
/// @prop {Map} thumb-on-color [color: ('gray', 50)] - The color of the thumb when the switch is on.
|
|
16
|
+
/// @prop {Map} track-on-color [color: ('primary', 500)] - The color of the track when the switch is on.
|
|
17
|
+
/// @prop {Color} track-off-color [transparent] - The color of the track when the switch is off.
|
|
20
18
|
/// @prop {Map} thumb-on-disabled-color [color: ('secondary', 100)] - The color of the thumb when the switch is on and disabled.
|
|
21
|
-
/// @prop {
|
|
22
|
-
/// @prop {Map} track-on-disabled-color [color: ('secondary', 50)] - The color of the track when the switch is on and disabled.
|
|
19
|
+
/// @prop {Color} track-disabled-color [transparent] - The color of the track when the switch is disabled.
|
|
23
20
|
/// @prop {Map} label-color [color: ('gray', 900)] - The color of the switch label
|
|
24
21
|
/// @prop {Map} label-disabled-color [color: ('gray', 500)] - The color of the switch label when the switch is disabled
|
|
25
22
|
/// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
|
|
26
23
|
/// @prop {Number} hover-elevation [3] - The elevation level, between 0-24, to be used for the hover state.
|
|
27
24
|
/// @prop {Number} disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state.
|
|
28
|
-
/// @prop {List} border-radius-track [(rem(7px), rem(0), rem(7px))] - The border radius used for switch track.
|
|
29
25
|
/// @prop {List} border-radius-thumb [(rem(10px), rem(0), rem(10px))] - The border radius used for switch thumb.
|
|
30
26
|
/// @prop {List} border-radius-ripple [(rem(24px), rem(0), rem(24px))] - The border radius used for switch ripple.
|
|
31
|
-
/// @prop {
|
|
32
|
-
/// @prop {Color} border-hover-color [transparent] - The border color of the switch on hover.
|
|
33
|
-
/// @prop {Color} border-disabled-color [transparent] - The border color of the disabled switch.
|
|
34
|
-
/// @prop {Color} border-on-color [transparent] - The border color of the on-switch.
|
|
35
|
-
/// @prop {Color} border-on-hover-color [transparent] - The border color of the on-switch.
|
|
27
|
+
/// @prop {Map} border-on-color [color('primary', 500)] - The border color of the on-switch.
|
|
36
28
|
/// @prop {Map} label-invalid-color [color: ('gray', 900)] - The color of the switch label in invalid state.
|
|
29
|
+
/// @prop {Map} track-on-disabled-color [color: ('secondary', 50)] - The color of the track when the switch is on and disabled.
|
|
37
30
|
/// @prop {Map} track-error-color [color: ('gray', 500)] - The color of the track in invalid state when the switch is off.
|
|
38
|
-
/// @prop {Map} thumb-on-error-color [color: ('
|
|
39
|
-
/// @prop {Map} error-color [color: ('gray', 50)] - The color of the thumb in invalid state.
|
|
40
|
-
/// @prop {Map} error-color-hover [color: ('gray', 500)] - The border color in invalid state on hover.
|
|
31
|
+
/// @prop {Map} thumb-on-error-color [color: ('gray', 50)] - The color of the thumb when the switch is on and invalid.
|
|
41
32
|
/// @requires {Map} $default-elevation-switch
|
|
42
33
|
$light-switch: extend(
|
|
43
34
|
$default-elevation-switch,
|
|
44
35
|
(
|
|
45
|
-
border-color:
|
|
46
|
-
border-hover-color: transparent,
|
|
47
|
-
border-disabled-color: transparent,
|
|
48
|
-
border-on-color: transparent,
|
|
49
|
-
border-on-hover-color: transparent,
|
|
50
|
-
thumb-on-color: (
|
|
36
|
+
border-on-color: (
|
|
51
37
|
color: (
|
|
52
|
-
'
|
|
38
|
+
'primary',
|
|
53
39
|
500,
|
|
54
40
|
),
|
|
55
41
|
),
|
|
56
42
|
track-on-color: (
|
|
57
43
|
color: (
|
|
58
|
-
'
|
|
59
|
-
|
|
44
|
+
'primary',
|
|
45
|
+
500,
|
|
60
46
|
),
|
|
61
47
|
),
|
|
62
|
-
|
|
48
|
+
track-disabled-color: transparent,
|
|
49
|
+
track-off-color: transparent,
|
|
50
|
+
thumb-on-color: (
|
|
63
51
|
color: (
|
|
64
52
|
'gray',
|
|
65
53
|
50,
|
|
66
54
|
),
|
|
67
55
|
),
|
|
68
|
-
|
|
56
|
+
thumb-on-disabled-color: (
|
|
57
|
+
color: (
|
|
58
|
+
'secondary',
|
|
59
|
+
100,
|
|
60
|
+
),
|
|
61
|
+
),
|
|
62
|
+
label-color: (
|
|
69
63
|
color: (
|
|
70
64
|
'gray',
|
|
71
|
-
|
|
65
|
+
900,
|
|
66
|
+
),
|
|
67
|
+
),
|
|
68
|
+
label-disabled-color: (
|
|
69
|
+
color: (
|
|
70
|
+
'gray',
|
|
71
|
+
500,
|
|
72
|
+
),
|
|
73
|
+
),
|
|
74
|
+
label-invalid-color: (
|
|
75
|
+
color: (
|
|
76
|
+
'gray',
|
|
77
|
+
900,
|
|
72
78
|
),
|
|
73
79
|
),
|
|
74
80
|
track-on-disabled-color: (
|
|
@@ -77,52 +83,103 @@ $light-switch: extend(
|
|
|
77
83
|
50,
|
|
78
84
|
),
|
|
79
85
|
),
|
|
80
|
-
track-
|
|
86
|
+
track-error-color: (
|
|
81
87
|
color: (
|
|
82
88
|
'gray',
|
|
83
89
|
500,
|
|
84
90
|
),
|
|
85
91
|
),
|
|
86
|
-
thumb-
|
|
92
|
+
thumb-on-error-color: (
|
|
87
93
|
color: (
|
|
88
94
|
'gray',
|
|
89
|
-
|
|
95
|
+
50,
|
|
90
96
|
),
|
|
91
97
|
),
|
|
92
|
-
|
|
98
|
+
border-radius-thumb: (
|
|
99
|
+
border-radius: (
|
|
100
|
+
rem(10px),
|
|
101
|
+
rem(0),
|
|
102
|
+
rem(10px),
|
|
103
|
+
),
|
|
104
|
+
),
|
|
105
|
+
border-radius-ripple: (
|
|
106
|
+
border-radius: (
|
|
107
|
+
rem(24px),
|
|
108
|
+
rem(0),
|
|
109
|
+
rem(24px),
|
|
110
|
+
),
|
|
111
|
+
),
|
|
112
|
+
)
|
|
113
|
+
);
|
|
114
|
+
|
|
115
|
+
/// Generates a material switch schema.
|
|
116
|
+
/// @type {Map}
|
|
117
|
+
/// @prop {Color} focus-outline-color [transparent] - The focus outlined color.
|
|
118
|
+
/// @prop {Color} border-color [transparent] - The border color of the switch.
|
|
119
|
+
/// @prop {Color} border-hover-color [transparent] - The border color of the switch on hover.
|
|
120
|
+
/// @prop {Color} border-on-color [transparent] - The border color of the on-switch.
|
|
121
|
+
/// @prop {Color} border-on-hover-color [transparent] - The border color of the on-switch.
|
|
122
|
+
/// @prop {Color} border-disabled-color [transparent] - The border color of the disabled switch.
|
|
123
|
+
/// @prop {Map} thumb-on-color [color: ('secondary', 500)] - The color of the thumb when the switch is on.
|
|
124
|
+
/// @prop {Map} thumb-off-color [color: ('gray', 50)] - The color of the thumb when the switch is off.
|
|
125
|
+
/// @prop {Map} thumb-disabled-color [color: ('gray', 200)] - The color of the thumb when the switch is disabled.
|
|
126
|
+
/// @prop {Map} thumb-on-error-color [color: ('secondary', 500)] - The color of the thumb when the switch is on and invalid.
|
|
127
|
+
/// @prop {Map} track-off-color [color: ('gray', 500)] - The color of the track when the switch is off.
|
|
128
|
+
/// @prop {Map} track-on-color [color: ('secondary', 200)] - The color of the track when the switch is on.
|
|
129
|
+
/// @prop {Map} track-disabled-color [color: ('gray', 300)] - The color of the track when the switch is disabled.
|
|
130
|
+
/// @prop {Map} error-color [color: ('gray', 50)] - The color of the thumb in invalid state.
|
|
131
|
+
/// @prop {Map} error-color-hover [color: ('gray', 500)] - The border color in invalid state on hover.
|
|
132
|
+
/// @prop {List} border-radius-track [(rem(7px), rem(0), rem(7px))] - The border radius used for switch track.
|
|
133
|
+
/// @requires {Map} $light-switch
|
|
134
|
+
$material-switch: extend(
|
|
135
|
+
$light-switch,
|
|
136
|
+
(
|
|
137
|
+
focus-outline-color: transparent,
|
|
138
|
+
border-color: transparent,
|
|
139
|
+
border-hover-color: transparent,
|
|
140
|
+
border-on-color: transparent,
|
|
141
|
+
border-on-hover-color: transparent,
|
|
142
|
+
border-disabled-color: transparent,
|
|
143
|
+
thumb-on-color: (
|
|
93
144
|
color: (
|
|
94
145
|
'secondary',
|
|
95
|
-
|
|
146
|
+
500,
|
|
96
147
|
),
|
|
97
148
|
),
|
|
98
|
-
|
|
149
|
+
thumb-off-color: (
|
|
99
150
|
color: (
|
|
100
151
|
'gray',
|
|
101
|
-
|
|
152
|
+
50,
|
|
102
153
|
),
|
|
103
154
|
),
|
|
104
|
-
|
|
155
|
+
thumb-disabled-color: (
|
|
105
156
|
color: (
|
|
106
157
|
'gray',
|
|
107
|
-
|
|
158
|
+
200,
|
|
108
159
|
),
|
|
109
160
|
),
|
|
110
|
-
|
|
161
|
+
thumb-on-error-color: (
|
|
111
162
|
color: (
|
|
112
|
-
'
|
|
113
|
-
|
|
163
|
+
'secondary',
|
|
164
|
+
500,
|
|
114
165
|
),
|
|
115
166
|
),
|
|
116
|
-
track-
|
|
167
|
+
track-off-color: (
|
|
117
168
|
color: (
|
|
118
169
|
'gray',
|
|
119
170
|
500,
|
|
120
171
|
),
|
|
121
172
|
),
|
|
122
|
-
|
|
173
|
+
track-on-color: (
|
|
123
174
|
color: (
|
|
124
175
|
'secondary',
|
|
125
|
-
|
|
176
|
+
200,
|
|
177
|
+
),
|
|
178
|
+
),
|
|
179
|
+
track-disabled-color: (
|
|
180
|
+
color: (
|
|
181
|
+
'gray',
|
|
182
|
+
300,
|
|
126
183
|
),
|
|
127
184
|
),
|
|
128
185
|
error-color: (
|
|
@@ -144,49 +201,24 @@ $light-switch: extend(
|
|
|
144
201
|
rem(7px),
|
|
145
202
|
),
|
|
146
203
|
),
|
|
147
|
-
border-radius-thumb: (
|
|
148
|
-
border-radius: (
|
|
149
|
-
rem(10px),
|
|
150
|
-
rem(0),
|
|
151
|
-
rem(10px),
|
|
152
|
-
),
|
|
153
|
-
),
|
|
154
|
-
border-radius-ripple: (
|
|
155
|
-
border-radius: (
|
|
156
|
-
rem(24px),
|
|
157
|
-
rem(0),
|
|
158
|
-
rem(24px),
|
|
159
|
-
),
|
|
160
|
-
),
|
|
161
204
|
)
|
|
162
205
|
);
|
|
163
206
|
|
|
164
207
|
/// Generates a fluent switch schema.
|
|
165
208
|
/// @type {Map}
|
|
166
|
-
///
|
|
167
209
|
/// @prop {Map} border-color [color('gray', 700)] - The border color of the switch.
|
|
168
210
|
/// @prop {Map} border-hover-color [color('gray', 800)] - The border color of the switch on hover.
|
|
169
211
|
/// @prop {Map} border-disabled-color [color('gray', 400)] - The border color of the disabled switch.
|
|
170
|
-
/// @prop {Map} border-on-color [color('primary', 500)] - The border color of the on-switch.
|
|
171
212
|
/// @prop {Map} border-on-hover-color [color('primary', 800)] - The border color of the on-switch.
|
|
172
|
-
///
|
|
173
|
-
/// @prop {Map} thumb-on-color [color: ('gray', 50)] - The color of the thumb when the switch is on.
|
|
174
213
|
/// @prop {Map} thumb-off-color [color: ('gray', 700)] - The color of the thumb when the switch is off.
|
|
175
|
-
/// @prop {Map} track-on-color [color: ('primary', 500)] - The color of the track when the switch is on.
|
|
176
|
-
/// @prop {Color} track-off-color [transparent] - The color of the track when the switch is off.
|
|
177
214
|
/// @prop {Map} track-on-hover-color [color: ('primary', 800)] - The color of the track when the switch is on and hovered.
|
|
178
215
|
/// @prop {Map} track-on-disabled-color [color: ('gray', 400)] - The color of the track when the switch is on and disabled.
|
|
179
|
-
/// @prop {Color} track-disabled-color [transparent] - The color of the track when the switch is disabled.
|
|
180
216
|
/// @prop {Map} thumb-disabled-color [color: ('gray', 400)] - The color of the thumb when the switch is disabled.
|
|
181
217
|
/// @prop {Map} thumb-on-disabled-color [color: ('gray', 100)] - The color of the thumb when the switch is on and disabled.
|
|
182
218
|
/// @prop {Map} focus-outline-color [color: ('gray', 700)] - The focus outlined color.
|
|
183
219
|
/// @prop {Map} error-color [color: ('gray', 700)] - The border and thumb color in invalid state.
|
|
184
220
|
/// @prop {Map} error-color-hover [color: ('gray', 800)] - The border and thumb color in invalid state on hover.
|
|
185
|
-
/// @prop {Map} thumb-on-error-color [color: ('gray', 50)] - The color of the thumb when the switch is on and invalid.
|
|
186
|
-
///
|
|
187
221
|
/// @prop {List} border-radius-track [(rem(10px), rem(0), rem(10px))] - The border radius used for switch track.
|
|
188
|
-
///
|
|
189
|
-
///
|
|
190
222
|
/// @requires {Map} $light-switch
|
|
191
223
|
$fluent-switch: extend(
|
|
192
224
|
$light-switch,
|
|
@@ -209,25 +241,12 @@ $fluent-switch: extend(
|
|
|
209
241
|
700,
|
|
210
242
|
),
|
|
211
243
|
),
|
|
212
|
-
track-off-color: transparent,
|
|
213
244
|
border-hover-color: (
|
|
214
245
|
color: (
|
|
215
246
|
'gray',
|
|
216
247
|
800,
|
|
217
248
|
),
|
|
218
249
|
),
|
|
219
|
-
track-on-color: (
|
|
220
|
-
color: (
|
|
221
|
-
'primary',
|
|
222
|
-
500,
|
|
223
|
-
),
|
|
224
|
-
),
|
|
225
|
-
border-on-color: (
|
|
226
|
-
color: (
|
|
227
|
-
'primary',
|
|
228
|
-
500,
|
|
229
|
-
),
|
|
230
|
-
),
|
|
231
250
|
track-on-hover-color: (
|
|
232
251
|
color: (
|
|
233
252
|
'primary',
|
|
@@ -240,12 +259,6 @@ $fluent-switch: extend(
|
|
|
240
259
|
800,
|
|
241
260
|
),
|
|
242
261
|
),
|
|
243
|
-
thumb-on-color: (
|
|
244
|
-
color: (
|
|
245
|
-
'gray',
|
|
246
|
-
50,
|
|
247
|
-
),
|
|
248
|
-
),
|
|
249
262
|
track-on-disabled-color: (
|
|
250
263
|
color: (
|
|
251
264
|
'gray',
|
|
@@ -270,12 +283,6 @@ $fluent-switch: extend(
|
|
|
270
283
|
400,
|
|
271
284
|
),
|
|
272
285
|
),
|
|
273
|
-
thumb-on-error-color: (
|
|
274
|
-
color: (
|
|
275
|
-
'gray',
|
|
276
|
-
50,
|
|
277
|
-
),
|
|
278
|
-
),
|
|
279
286
|
error-color: (
|
|
280
287
|
color: (
|
|
281
288
|
'gray',
|
|
@@ -288,7 +295,6 @@ $fluent-switch: extend(
|
|
|
288
295
|
800,
|
|
289
296
|
),
|
|
290
297
|
),
|
|
291
|
-
track-disabled-color: transparent,
|
|
292
298
|
border-radius-track: (
|
|
293
299
|
border-radius: (
|
|
294
300
|
rem(10px),
|
|
@@ -307,16 +313,12 @@ $fluent-switch: extend(
|
|
|
307
313
|
/// @prop {Map} border-disabled-color [color: ('gray', 300)] - The border color of the disabled switch.
|
|
308
314
|
/// @prop {Map} thumb-off-color [color: ('gray', 400)] - The color of the thumb when the switch is off.
|
|
309
315
|
/// @prop {Map} thumb-disabled-color [color: ('gray', 300)] - The color of the thumb when the switch is disabled.
|
|
310
|
-
/// @prop {Map} track-on-color [color: ('primary', 500)] - The color of the track when the switch is on.
|
|
311
316
|
/// @prop {Map} track-on-disabled-color [color: ('primary', 200)] - The color of the track when the switch is on and disabled.
|
|
312
317
|
/// @prop {Map} thumb-on-disabled-color [color: ('gray', 50)] - The color of the thumb when the switch is on and disabled.
|
|
313
|
-
/// @prop {Color} track-disabled-color [transparent] - The color of the track when the switch is disabled.
|
|
314
318
|
/// @prop {Map} error-color [color: ('gray', 400)] - The border and thumb color in invalid state.
|
|
315
319
|
/// @prop {Map} error-color-hover [color: ('primary', 200)] - The border and thumb color in invalid state on hover.
|
|
316
320
|
/// @prop {List} border-radius-track [(rem(32px), rem(0), rem(32px))] - The border radius used for switch track.
|
|
317
321
|
/// @prop {List} border-radius-thumb [(rem(32px), rem(0), rem(32px))] - The border radius used for switch thumb.
|
|
318
|
-
///
|
|
319
|
-
///
|
|
320
322
|
/// @requires {Map} $fluent-switch
|
|
321
323
|
$bootstrap-switch: extend(
|
|
322
324
|
$fluent-switch,
|
|
@@ -363,12 +365,6 @@ $bootstrap-switch: extend(
|
|
|
363
365
|
50,
|
|
364
366
|
),
|
|
365
367
|
),
|
|
366
|
-
track-on-color: (
|
|
367
|
-
color: (
|
|
368
|
-
'primary',
|
|
369
|
-
500,
|
|
370
|
-
),
|
|
371
|
-
),
|
|
372
368
|
track-on-disabled-color: (
|
|
373
369
|
color: (
|
|
374
370
|
'primary',
|
|
@@ -406,28 +402,18 @@ $bootstrap-switch: extend(
|
|
|
406
402
|
|
|
407
403
|
/// Generates an indigo switch schema.
|
|
408
404
|
/// @type {Map}
|
|
409
|
-
///
|
|
410
|
-
/// @prop {Map} thumb-on-color [color: ('gray', 50)] - The color of the thumb when the switch is on.
|
|
411
|
-
/// @prop {Map} track-on-color [color: ('primary', 500)] - The color of the track when the switch is on.
|
|
412
405
|
/// @prop {Map} thumb-off-color [color: ('gray', 600)] - The color of the thumb when the switch is off.
|
|
413
|
-
/// @prop {Color} track-off-color [transparent] - The color of the track when the switch is off.
|
|
414
406
|
/// @prop {Map} thumb-disabled-color [color: ('gray', 300)] - The color of the thumb when the switch is disabled.
|
|
415
|
-
/// @prop {Color} track-disabled-color [transparent] - The color of the track when the switch is disabled.
|
|
416
|
-
///
|
|
417
407
|
/// @prop {Map} border-color [color: ('gray', 600)] - The border color of the switch.
|
|
418
408
|
/// @prop {Map} border-hover-color [color: ('gray', 600)] - The border color of the switch on hover.
|
|
419
409
|
/// @prop {Map} border-disabled-color [color: ('gray', 300)] - The border color of the disabled switch.
|
|
420
|
-
/// @prop {Map} border-on-color [color: ('primary', 500)] - The border color of the on-switch.
|
|
421
410
|
/// @prop {Map} border-on-hover-color [color: ('primary', 500)] - The border color of the on-switch.
|
|
422
411
|
/// @prop {Map} label-disabled-color [color: ('gray', 300)] - The color of the switch label when the switch is disabled
|
|
423
|
-
/// @prop {Map} thumb-on-error-color [color: ('gray', 50)] - The color of the thumb when the switch is on and invalid.
|
|
424
412
|
/// @prop {Map} error-color [color: ('gray', 500)] - The border and thumb color in invalid state.
|
|
425
413
|
/// @prop {Map} error-color-hover [color: ('gray', 300)] - The border and thumb color in invalid state on hover.
|
|
426
414
|
/// @prop {List} border-radius-track [(rem(8px), rem(0), rem(8px))] - The border radius used for switch track.
|
|
427
415
|
/// @prop {Map} focus-outline-color [color: ('gray', 300)] - The focus outlined color.
|
|
428
416
|
/// @prop {Map} focus-outline-color-focused [color: ('primary', 200)] - The focus outlined color for focused state.
|
|
429
|
-
///
|
|
430
|
-
///
|
|
431
417
|
/// @requires $light-switch
|
|
432
418
|
$indigo-switch: extend(
|
|
433
419
|
$light-switch,
|
|
@@ -462,42 +448,18 @@ $indigo-switch: extend(
|
|
|
462
448
|
300,
|
|
463
449
|
),
|
|
464
450
|
),
|
|
465
|
-
border-on-color: (
|
|
466
|
-
color: (
|
|
467
|
-
'primary',
|
|
468
|
-
500,
|
|
469
|
-
),
|
|
470
|
-
),
|
|
471
451
|
border-on-hover-color: (
|
|
472
452
|
color: (
|
|
473
453
|
'primary',
|
|
474
454
|
500,
|
|
475
455
|
),
|
|
476
456
|
),
|
|
477
|
-
thumb-on-color: (
|
|
478
|
-
color: (
|
|
479
|
-
'gray',
|
|
480
|
-
50,
|
|
481
|
-
),
|
|
482
|
-
),
|
|
483
457
|
thumb-off-color: (
|
|
484
458
|
color: (
|
|
485
459
|
'gray',
|
|
486
460
|
600,
|
|
487
461
|
),
|
|
488
462
|
),
|
|
489
|
-
track-on-color: (
|
|
490
|
-
color: (
|
|
491
|
-
'primary',
|
|
492
|
-
500,
|
|
493
|
-
),
|
|
494
|
-
),
|
|
495
|
-
thumb-on-error-color: (
|
|
496
|
-
color: (
|
|
497
|
-
'gray',
|
|
498
|
-
50,
|
|
499
|
-
),
|
|
500
|
-
),
|
|
501
463
|
error-color: (
|
|
502
464
|
color: (
|
|
503
465
|
'gray',
|
|
@@ -510,8 +472,6 @@ $indigo-switch: extend(
|
|
|
510
472
|
300,
|
|
511
473
|
),
|
|
512
474
|
),
|
|
513
|
-
track-off-color: transparent,
|
|
514
|
-
track-disabled-color: transparent,
|
|
515
475
|
thumb-disabled-color: (
|
|
516
476
|
color: (
|
|
517
477
|
'gray',
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
|
|
10
10
|
/* stylelint-disable max-line-length */
|
|
11
11
|
|
|
12
|
-
/// Generates a light tabs schema.
|
|
12
|
+
/// Generates a base light tabs schema.
|
|
13
13
|
/// @type {Map}
|
|
14
14
|
/// @prop {Map} item-text-color [color: ('gray', 700)] - The color used for the tab text color.
|
|
15
15
|
/// @prop {Color} item-background [color: ('surface')] - The background color used for the tabs header.
|
|
16
16
|
/// @prop {Map} item-hover-background [color: ('gray', 200)] - The background used for the tabs on hover.
|
|
17
|
-
/// @prop {Map} item-hover-color [color: ('gray',
|
|
17
|
+
/// @prop {Map} item-hover-color [color: ('gray', 900)] - The text color used for the tabs on hover.
|
|
18
18
|
/// @prop {Map} item-icon-color [color: ('gray', 700)] - The color used for the tab icon.
|
|
19
19
|
/// @prop {Map} item-active-icon-color [color: ('primary', 500)] - The color used for the active tab icon.
|
|
20
20
|
/// @prop {Map} item-hover-icon-color [color: ('gray', 700)] - The color used for the tab icon on hover.
|
|
@@ -54,7 +54,7 @@ $light-tabs: (
|
|
|
54
54
|
item-hover-color: (
|
|
55
55
|
color: (
|
|
56
56
|
'gray',
|
|
57
|
-
|
|
57
|
+
900,
|
|
58
58
|
),
|
|
59
59
|
),
|
|
60
60
|
item-active-color: (
|
|
@@ -157,10 +157,25 @@ $light-tabs: (
|
|
|
157
157
|
),
|
|
158
158
|
);
|
|
159
159
|
|
|
160
|
+
/// Generates a material tabs schema.
|
|
161
|
+
/// @type {Map}
|
|
162
|
+
/// @prop {Map} item-hover-color [color: ('gray', 700)] - The text color used for the tabs on hover.
|
|
163
|
+
/// @requires {Map} $light-tabs
|
|
164
|
+
$material-tabs: extend(
|
|
165
|
+
$light-tabs,
|
|
166
|
+
(
|
|
167
|
+
item-hover-color: (
|
|
168
|
+
color: (
|
|
169
|
+
'gray',
|
|
170
|
+
700,
|
|
171
|
+
),
|
|
172
|
+
),
|
|
173
|
+
)
|
|
174
|
+
);
|
|
175
|
+
|
|
160
176
|
/// Generates a fluent tabs schema.
|
|
161
177
|
/// @type {Map}
|
|
162
178
|
/// @prop {Map} item-text-color [color: ('gray', 900)] - The color used for the tab text color.
|
|
163
|
-
/// @prop {Map} item-hover-color [color: ('gray', 900)] - The text color used for the tabs on hover.
|
|
164
179
|
/// @prop {Map} item-disabled-color [color: ('gray', 400)] - The color used for the disabled tabs text.
|
|
165
180
|
/// @prop {Map} item-disabled-icon-color [color: ('gray', 400)] - The color used for the disabled tab icon.
|
|
166
181
|
/// @prop {Map} button-color [color: ('gray', 500)] - The color used for the button icon/text color.
|
|
@@ -176,12 +191,6 @@ $fluent-tabs: extend(
|
|
|
176
191
|
900,
|
|
177
192
|
),
|
|
178
193
|
),
|
|
179
|
-
item-hover-color: (
|
|
180
|
-
color: (
|
|
181
|
-
'gray',
|
|
182
|
-
900,
|
|
183
|
-
),
|
|
184
|
-
),
|
|
185
194
|
item-disabled-color: (
|
|
186
195
|
color: (
|
|
187
196
|
'gray',
|
|
@@ -225,8 +234,6 @@ $fluent-tabs: extend(
|
|
|
225
234
|
/// @prop {map} item-active-icon-color [color: ('gray', 800)] - The color used for the active tabs icon.
|
|
226
235
|
/// @prop {Map} item-disabled-color [color: ('primary', 500, .5)] - The color used for the disabled tabs text.
|
|
227
236
|
/// @prop {Map} item-disabled-icon-color [color: ('primary', 500, .5)] - The color used for the disabled tab icon.
|
|
228
|
-
/// @prop {map} item-background [color: ('surface')] - The background color used for the tabs header.
|
|
229
|
-
/// @prop {map} button-background [color: ('surface')] - The color used for the button background.
|
|
230
237
|
/// @prop {Map} button-color [color: ('gray', 500)] - The color used for the button icon/text color.
|
|
231
238
|
/// @prop {Map} button-hover-color [color: ('gray', 600)] - The color used for the button icon/text color on hover.
|
|
232
239
|
/// @prop {Map} button-disabled-color [color: ('primary', 500, .5)] - The color used for the disabled button icon/text.
|
|
@@ -239,16 +246,6 @@ $fluent-tabs: extend(
|
|
|
239
246
|
$bootstrap-tabs: extend(
|
|
240
247
|
$light-tabs,
|
|
241
248
|
(
|
|
242
|
-
item-background: (
|
|
243
|
-
color: (
|
|
244
|
-
'surface',
|
|
245
|
-
),
|
|
246
|
-
),
|
|
247
|
-
button-background: (
|
|
248
|
-
color: (
|
|
249
|
-
'surface',
|
|
250
|
-
),
|
|
251
|
-
),
|
|
252
249
|
button-color: (
|
|
253
250
|
color: (
|
|
254
251
|
'gray',
|
|
@@ -355,12 +352,10 @@ $bootstrap-tabs: extend(
|
|
|
355
352
|
/// @prop {Color} item-background [transparent] - The background color used for the tabs header.
|
|
356
353
|
/// @prop {Color} item-hover-background [transparent] - The background used for the tabs on hover.
|
|
357
354
|
/// @prop {Color} item-active-background [transparent] - The color used for the active/focused tab background.
|
|
358
|
-
/// @prop {Map} item-hover-color [color: ('gray', 900)] - The text color used for the tabs on hover.
|
|
359
355
|
/// @prop {Map} item-hover-icon-color [color: ('gray', 900)] - The color used for the tab icon on hover.
|
|
360
356
|
/// @prop {Map} item-active-color [color: ('gray', 900)] - The color used for the active tabs text.
|
|
361
357
|
/// @prop {Map} item-active-icon-color [color: ('primary', 400)] - The color used for the active tabs icon.
|
|
362
358
|
/// @prop {Map} indicator-color [color: ('primary', 400)] - The color used for the tabs borders.
|
|
363
|
-
/// @prop {Map} button-disabled-color [color: ('gray', 500)] - The color used for the disabled button icon/text.
|
|
364
359
|
/// @prop {Color} button-background [transparent] - The color used for the button background.
|
|
365
360
|
/// @prop {Color} button-hover-background [transparent] - The color used for the button background on hover.
|
|
366
361
|
/// @requires {Map} $light-tabs
|
|
@@ -370,12 +365,6 @@ $indigo-tabs: extend(
|
|
|
370
365
|
item-background: transparent,
|
|
371
366
|
item-hover-background: transparent,
|
|
372
367
|
item-active-background: transparent,
|
|
373
|
-
item-hover-color: (
|
|
374
|
-
color: (
|
|
375
|
-
'gray',
|
|
376
|
-
900,
|
|
377
|
-
),
|
|
378
|
-
),
|
|
379
368
|
item-hover-icon-color: (
|
|
380
369
|
color: (
|
|
381
370
|
'gray',
|
|
@@ -400,12 +389,6 @@ $indigo-tabs: extend(
|
|
|
400
389
|
400,
|
|
401
390
|
),
|
|
402
391
|
),
|
|
403
|
-
button-disabled-color: (
|
|
404
|
-
color: (
|
|
405
|
-
'gray',
|
|
406
|
-
500,
|
|
407
|
-
),
|
|
408
|
-
),
|
|
409
392
|
button-background: transparent,
|
|
410
393
|
button-hover-background: transparent,
|
|
411
394
|
)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/// @access public
|
|
9
9
|
////
|
|
10
10
|
|
|
11
|
-
/// Generates a light time-picker schema.
|
|
11
|
+
/// Generates a base light time-picker schema.
|
|
12
12
|
/// @type {Map}
|
|
13
13
|
/// @prop {Map} text-color [color: ('gray', 500)] - The text color of an open time picker.
|
|
14
14
|
/// @prop {Map} hover-text-color [color: ('secondary', 500)] - The hover text color of an open time picker.
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
/// @prop {Number} modal-elevation [24] - The elevation level, between 0-24, to be used for the time picker in modal mode.
|
|
24
24
|
/// @prop {Number} dropdown-elevation [8] - The elevation level, between 0-24, to be used for the time picker in dropdown mode.
|
|
25
25
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
|
|
26
|
-
/// @prop {List} active-item-border-radius [(rem(15px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
|
|
27
26
|
/// @requires {Map} $default-elevation-time-picker
|
|
28
27
|
$light-time-picker: extend(
|
|
29
28
|
$default-elevation-time-picker,
|
|
@@ -97,6 +96,16 @@ $light-time-picker: extend(
|
|
|
97
96
|
rem(20px),
|
|
98
97
|
),
|
|
99
98
|
),
|
|
99
|
+
)
|
|
100
|
+
);
|
|
101
|
+
|
|
102
|
+
/// Generates a light material time-picker schema.
|
|
103
|
+
/// @type {Map}
|
|
104
|
+
/// @prop {List} active-item-border-radius [(rem(15px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
|
|
105
|
+
/// @requires {Map} $light-time-picker
|
|
106
|
+
$material-time-picker: extend(
|
|
107
|
+
$light-time-picker,
|
|
108
|
+
(
|
|
100
109
|
active-item-border-radius: (
|
|
101
110
|
border-radius: (
|
|
102
111
|
rem(15px),
|
|
@@ -111,7 +120,6 @@ $light-time-picker: extend(
|
|
|
111
120
|
/// @type {Map}
|
|
112
121
|
/// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
|
|
113
122
|
/// @prop {List} active-item-border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
|
|
114
|
-
///
|
|
115
123
|
/// @requires $light-time-picker
|
|
116
124
|
$fluent-time-picker: extend(
|
|
117
125
|
$light-time-picker,
|
|
@@ -139,7 +147,6 @@ $fluent-time-picker: extend(
|
|
|
139
147
|
/// @prop {Map} hover-text-color [color: ('primary', 600)] - The hover text color of an open time picker.
|
|
140
148
|
/// @prop {Map} header-background [color: ('primary', 500)] - The header background color of a time picker.
|
|
141
149
|
/// @prop {List} active-item-border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
|
|
142
|
-
///
|
|
143
150
|
/// @requires $light-time-picker
|
|
144
151
|
$bootstrap-time-picker: extend(
|
|
145
152
|
$light-time-picker,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/// @access public
|
|
9
9
|
////
|
|
10
10
|
|
|
11
|
-
/// Generates a light toast schema.
|
|
11
|
+
/// Generates a base light toast schema.
|
|
12
12
|
/// @type {Map}
|
|
13
13
|
/// @prop {Map} background [color: ('gray', 700, .9)] - The background color used for the toast.
|
|
14
14
|
/// @prop {Map} border-color [color: ('gray', 700, .9)] - The border color used for the toast.
|
|
@@ -51,6 +51,11 @@ $light-toast: extend(
|
|
|
51
51
|
)
|
|
52
52
|
);
|
|
53
53
|
|
|
54
|
+
/// Generates a light material toast schema.
|
|
55
|
+
/// @type {Map}
|
|
56
|
+
/// @requires {Map} $light-toast
|
|
57
|
+
$material-toast: $light-toast;
|
|
58
|
+
|
|
54
59
|
/// Generates a fluent toast schema.
|
|
55
60
|
/// @type {Map}
|
|
56
61
|
/// @prop {List} border-radius [(rem(2px), rem(0), rem(26px))] - The border radius used for toast.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
/// @access public
|
|
8
8
|
////
|
|
9
9
|
|
|
10
|
-
/// Generates a light tooltip schema.
|
|
10
|
+
/// Generates a base light tooltip schema.
|
|
11
11
|
/// @type {Map}
|
|
12
12
|
/// @prop {Map} background [color: ('gray', 700, .9),] - The background color of the tooltip.
|
|
13
13
|
/// @prop {Map} text-color [contrast-color: ('gray', 700)] - The text color of the tooltip.
|
|
@@ -37,6 +37,11 @@ $light-tooltip: (
|
|
|
37
37
|
),
|
|
38
38
|
);
|
|
39
39
|
|
|
40
|
+
/// Generates a light material tooltip schema.
|
|
41
|
+
/// @type {Map}
|
|
42
|
+
/// @requires {Map} $light-tooltip
|
|
43
|
+
$material-tooltip: $light-tooltip;
|
|
44
|
+
|
|
40
45
|
/// Generates a light fluent tooltip schema.
|
|
41
46
|
/// @type {Map}
|
|
42
47
|
/// @prop {Map} background [color: ('gray', 900, .8)] - The background color of the tooltip.
|