igniteui-theming 1.4.2 → 1.4.3-beta.2
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/index.js +3 -0
- package/json/colors/meta/multipliers.json +1 -1
- package/package.json +21 -14
- package/sass/animations/_easings.scss +23 -23
- package/sass/animations/entrances/_bounce.scss +3 -3
- package/sass/animations/entrances/_flicker.scss +10 -26
- package/sass/animations/exits/_bounce.scss +6 -6
- package/sass/animations/exits/_flicker.scss +12 -28
- package/sass/animations/exits/_flip.scss +8 -8
- package/sass/animations/exits/_puff.scss +11 -11
- package/sass/animations/exits/_roll.scss +4 -4
- package/sass/animations/exits/_rotate.scss +25 -25
- package/sass/animations/exits/_scale.scss +15 -15
- package/sass/animations/exits/_slide.scss +34 -34
- package/sass/animations/exits/_slit.scss +4 -4
- package/sass/animations/exits/_swing.scss +8 -8
- package/sass/animations/exits/_swirl.scss +18 -18
- package/sass/animations/generic/_flip.scss +4 -4
- package/sass/animations/generic/_rotate.scss +5 -5
- package/sass/animations/generic/_scale.scss +31 -31
- package/sass/animations/generic/_shadows.scss +12 -68
- package/sass/bem/_index.scss +9 -3
- package/sass/color/_charts.scss +1 -1
- package/sass/color/_functions.scss +22 -56
- package/sass/color/_multipliers.scss +14 -14
- package/sass/color/_types.scss +6 -1
- package/sass/color/presets/dark/_bootstrap.scss +1 -1
- package/sass/color/presets/dark/_fluent.scss +3 -3
- package/sass/color/presets/dark/_indigo.scss +1 -1
- package/sass/color/presets/dark/_material.scss +1 -1
- package/sass/color/presets/light/_bootstrap.scss +1 -1
- package/sass/color/presets/light/_extra.scss +2 -2
- package/sass/color/presets/light/_fluent.scss +3 -3
- package/sass/color/presets/light/_indigo.scss +1 -1
- package/sass/color/presets/light/_material.scss +1 -1
- package/sass/elevations/presets/_index.scss +1 -5
- package/sass/elevations/presets/_material.scss +1 -1
- package/sass/themes/_functions.scss +2 -12
- package/sass/themes/_index.scss +1 -0
- package/sass/themes/_mixins.scss +4 -5
- package/sass/themes/charts/_category-chart-theme.scss +15 -11
- package/sass/themes/charts/_data-chart-theme.scss +4 -7
- package/sass/themes/charts/_doughnut-chart-theme.scss +2 -2
- package/sass/themes/charts/_financial-chart-theme.scss +15 -11
- package/sass/themes/charts/_funnel-chart-theme.scss +22 -18
- package/sass/themes/charts/_gauge-theme.scss +8 -16
- package/sass/themes/charts/_geo-map-theme.scss +10 -11
- package/sass/themes/charts/_graph-theme.scss +3 -3
- package/sass/themes/charts/_pie-chart-theme.scss +21 -20
- package/sass/themes/charts/_shape-chart-theme.scss +15 -11
- package/sass/themes/charts/_sparkline-theme.scss +2 -2
- package/sass/themes/schemas/_index.scss +10 -33
- package/sass/themes/schemas/charts/light/_category-chart.scss +68 -24
- package/sass/themes/schemas/charts/light/_data-chart.scss +12 -3
- package/sass/themes/schemas/charts/light/_financial-chart.scss +1 -1
- package/sass/themes/schemas/charts/light/_gauge.scss +14 -5
- package/sass/themes/schemas/charts/light/_geo-map.scss +2 -2
- package/sass/themes/schemas/charts/light/_graph.scss +20 -5
- package/sass/themes/schemas/charts/light/_pie-chart.scss +4 -1
- package/sass/themes/schemas/charts/light/_shape-chart.scss +8 -2
- package/sass/themes/schemas/charts/light/_sparkline.scss +4 -1
- package/sass/themes/schemas/components/_index.scss +2 -0
- package/sass/themes/schemas/components/dark/_avatar.scss +46 -0
- package/sass/themes/schemas/components/dark/_button.scss +491 -0
- package/sass/themes/schemas/components/dark/_checkbox.scss +88 -0
- package/sass/themes/schemas/components/dark/_combo.scss +56 -0
- package/sass/themes/schemas/components/dark/_drop-down.scss +86 -0
- package/sass/themes/schemas/components/dark/_icon.scss +39 -0
- package/sass/themes/schemas/components/dark/_index.scss +120 -0
- package/sass/themes/schemas/components/dark/_input-group.scss +170 -0
- package/sass/themes/schemas/components/dark/_navbar.scss +27 -0
- package/sass/themes/schemas/components/dark/_radio.scss +144 -0
- package/sass/themes/schemas/components/dark/_rating.scss +29 -0
- package/sass/themes/schemas/components/dark/_select.scss +56 -0
- package/sass/themes/schemas/components/dark/_slider.scss +136 -0
- package/sass/themes/schemas/components/dark/_switch.scss +216 -0
- package/sass/themes/schemas/components/dark/_tabs.scss +65 -0
- package/sass/themes/schemas/components/dark/_tree.scss +132 -0
- package/sass/themes/schemas/components/elevation/_button.scss +63 -0
- package/sass/themes/schemas/components/elevation/_drop-down.scss +29 -0
- package/sass/themes/schemas/components/elevation/_input-group.scss +37 -0
- package/sass/themes/schemas/components/elevation/_navbar.scss +23 -0
- package/sass/themes/schemas/components/elevation/_switch.scss +15 -0
- package/sass/themes/schemas/components/light/_avatar.scss +69 -0
- package/sass/themes/schemas/components/light/_button.scss +1700 -0
- package/sass/themes/schemas/components/light/_checkbox.scss +285 -0
- package/sass/themes/schemas/components/light/_combo.scss +317 -0
- package/sass/themes/schemas/components/light/_drop-down.scss +376 -0
- package/sass/themes/schemas/components/light/_icon.scss +55 -0
- package/sass/themes/schemas/components/light/_index.scss +121 -0
- package/sass/themes/schemas/components/light/_input-group.scss +794 -0
- package/sass/themes/schemas/components/light/_navbar.scss +116 -0
- package/sass/themes/schemas/components/light/_radio.scss +279 -0
- package/sass/themes/schemas/components/light/_rating.scss +129 -0
- package/sass/themes/schemas/components/light/_select.scss +176 -0
- package/sass/themes/schemas/components/light/_slider.scss +362 -0
- package/sass/themes/schemas/components/light/_switch.scss +473 -0
- package/sass/themes/schemas/components/light/_tabs.scss +402 -0
- package/sass/themes/schemas/components/light/_tree.scss +288 -0
- package/sass/typography/_functions.scss +7 -5
- package/sass/typography/_mixins.scss +1 -3
- package/sass/typography/_types.scss +2 -16
- package/sass/typography/presets/_bootstrap.scss +24 -24
- package/sass/typography/presets/_fluent.scss +23 -23
- package/sass/typography/presets/_indigo.scss +24 -24
- package/sass/typography/presets/_material.scss +23 -23
- package/sass/utils/_css.scss +6 -1
- package/sass/utils/_map.scss +4 -8
- package/sass/utils/_string.scss +14 -6
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../../../../typography/functions' as *;
|
|
3
|
+
@use '../elevation/navbar' as *;
|
|
4
|
+
|
|
5
|
+
////
|
|
6
|
+
/// @package theming
|
|
7
|
+
/// @group schemas
|
|
8
|
+
/// @access public
|
|
9
|
+
////
|
|
10
|
+
|
|
11
|
+
/// Generates a light navbar schema.
|
|
12
|
+
/// @type {Map}
|
|
13
|
+
/// @prop {Map} background [color: ('primary', 500)] - The navbar background color.
|
|
14
|
+
/// @prop {Map} text-color [contrast-color: ('primary', 500)] - The navbar text color.
|
|
15
|
+
/// @prop {Map} idle-icon-color [contrast-color: ('primary', 500)] - The navbar idle icon color.
|
|
16
|
+
/// @prop {Map} hover-icon-color [contrast-color: ('primary', 500)] - The navbar hover icon color.
|
|
17
|
+
/// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used for the navbar.
|
|
18
|
+
/// @requires {Map} $default-elevation-navbar
|
|
19
|
+
$light-navbar: extend(
|
|
20
|
+
$default-elevation-navbar,
|
|
21
|
+
(
|
|
22
|
+
background: (
|
|
23
|
+
color: (
|
|
24
|
+
'primary',
|
|
25
|
+
500,
|
|
26
|
+
),
|
|
27
|
+
),
|
|
28
|
+
text-color: (
|
|
29
|
+
contrast-color: (
|
|
30
|
+
'primary',
|
|
31
|
+
500,
|
|
32
|
+
),
|
|
33
|
+
),
|
|
34
|
+
idle-icon-color: (
|
|
35
|
+
contrast-color: (
|
|
36
|
+
'primary',
|
|
37
|
+
500,
|
|
38
|
+
),
|
|
39
|
+
),
|
|
40
|
+
hover-icon-color: (
|
|
41
|
+
contrast-color: (
|
|
42
|
+
'primary',
|
|
43
|
+
500,
|
|
44
|
+
),
|
|
45
|
+
),
|
|
46
|
+
)
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
/// Generates a fluent navbar schema.
|
|
50
|
+
/// @type {Map}
|
|
51
|
+
/// @prop {Map} background [color: 'surface'] - The navbar background color.
|
|
52
|
+
/// @prop {Map} text-color [color: ('gray', 900)] - The navbar text color.
|
|
53
|
+
/// @prop {Map} idle-icon-color [color: ('primary', 500)] - The navbar idle icon color.
|
|
54
|
+
/// @prop {Map} hover-icon-color [color: ('primary', 500)] - The navbar hover icon color.
|
|
55
|
+
/// @requires {Map} $light-navbar
|
|
56
|
+
$fluent-navbar: extend(
|
|
57
|
+
$light-navbar,
|
|
58
|
+
(
|
|
59
|
+
background: (
|
|
60
|
+
color: 'surface',
|
|
61
|
+
),
|
|
62
|
+
text-color: (
|
|
63
|
+
color: (
|
|
64
|
+
'gray',
|
|
65
|
+
900,
|
|
66
|
+
),
|
|
67
|
+
),
|
|
68
|
+
idle-icon-color: (
|
|
69
|
+
color: (
|
|
70
|
+
'primary',
|
|
71
|
+
500,
|
|
72
|
+
),
|
|
73
|
+
),
|
|
74
|
+
hover-icon-color: (
|
|
75
|
+
color: (
|
|
76
|
+
'primary',
|
|
77
|
+
500,
|
|
78
|
+
),
|
|
79
|
+
),
|
|
80
|
+
)
|
|
81
|
+
);
|
|
82
|
+
|
|
83
|
+
/// Generates a bootstrap navbar schema.
|
|
84
|
+
/// @type {Map}
|
|
85
|
+
/// @prop {Map} background [color: 'surface'] - The navbar background color.
|
|
86
|
+
/// @prop {Map} text-color [contrast-color: 'surface'] - The navbar text color.
|
|
87
|
+
/// @prop {Map} idle-icon-color [contrast-color: 'surface'] - The navbar idle icon color.
|
|
88
|
+
/// @prop {Map} hover-icon-color [contrast-color: 'surface'] - The navbar hover icon color.
|
|
89
|
+
/// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the navbar.
|
|
90
|
+
/// @requires {Map} $light-navbar
|
|
91
|
+
/// @requires {Map} $bootstrap-elevation-navbar
|
|
92
|
+
$bootstrap-navbar: extend(
|
|
93
|
+
$light-navbar,
|
|
94
|
+
$bootstrap-elevation-navbar,
|
|
95
|
+
(
|
|
96
|
+
background: (
|
|
97
|
+
color: 'surface',
|
|
98
|
+
),
|
|
99
|
+
text-color: (
|
|
100
|
+
contrast-color: 'surface',
|
|
101
|
+
),
|
|
102
|
+
idle-icon-color: (
|
|
103
|
+
contrast-color: 'surface',
|
|
104
|
+
),
|
|
105
|
+
hover-icon-color: (
|
|
106
|
+
contrast-color: 'surface',
|
|
107
|
+
),
|
|
108
|
+
)
|
|
109
|
+
);
|
|
110
|
+
|
|
111
|
+
/// Generates an indigo navbar schema.
|
|
112
|
+
/// @type {Map}
|
|
113
|
+
/// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the navbar.
|
|
114
|
+
/// @requires {Map} $light-navbar
|
|
115
|
+
/// @requires {Map} $indigo-elevation-navbar
|
|
116
|
+
$indigo-navbar: extend($light-navbar, $indigo-elevation-navbar);
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../../../../typography/functions' as *;
|
|
3
|
+
|
|
4
|
+
////
|
|
5
|
+
/// @package theming
|
|
6
|
+
/// @group schemas
|
|
7
|
+
/// @access public
|
|
8
|
+
////
|
|
9
|
+
|
|
10
|
+
/// Generates a light radio schema.
|
|
11
|
+
/// @type {Map}
|
|
12
|
+
/// @prop {Color} hover-color [transparent] - The text color used for the label text.
|
|
13
|
+
/// @prop {Map} fill-hover-border-color [color: ('secondary', 500)] - The text color used for the label text.
|
|
14
|
+
/// @prop {Map} label-color [color: ('gray', 900)] - The text color used for the label text.
|
|
15
|
+
/// @prop {Map} empty-color [color: ('gray', 600)] - The unchecked border color.
|
|
16
|
+
/// @prop {Map} fill-color [color: ('secondary', 500)] - The checked border and dot colors.
|
|
17
|
+
/// @prop {Map} fill-color-hover [color: ('secondary', 500)] - The checked border and dot colors on hover.
|
|
18
|
+
/// @prop {Map} disabled-color [color: ('gray', 400)] - The disabled border and dot colors.
|
|
19
|
+
/// @prop {Map} disabled-label-color [color: ('gray', 400)] - The disabled label color.
|
|
20
|
+
/// @prop {Map} error-color [color: ('error', 500)] - The label, border and dot color in invalid state.
|
|
21
|
+
/// @prop {Map} error-color-hover [color: ('error', 500)] - The border and dot color in invalid state on hover.
|
|
22
|
+
$light-radio: (
|
|
23
|
+
hover-color: transparent,
|
|
24
|
+
fill-hover-border-color: (
|
|
25
|
+
color: (
|
|
26
|
+
'secondary',
|
|
27
|
+
500,
|
|
28
|
+
),
|
|
29
|
+
),
|
|
30
|
+
label-color: (
|
|
31
|
+
color: (
|
|
32
|
+
'gray',
|
|
33
|
+
900,
|
|
34
|
+
),
|
|
35
|
+
),
|
|
36
|
+
empty-color: (
|
|
37
|
+
color: (
|
|
38
|
+
'gray',
|
|
39
|
+
600,
|
|
40
|
+
),
|
|
41
|
+
),
|
|
42
|
+
fill-color: (
|
|
43
|
+
color: (
|
|
44
|
+
'secondary',
|
|
45
|
+
500,
|
|
46
|
+
),
|
|
47
|
+
),
|
|
48
|
+
fill-color-hover: (
|
|
49
|
+
color: (
|
|
50
|
+
'secondary',
|
|
51
|
+
500,
|
|
52
|
+
),
|
|
53
|
+
),
|
|
54
|
+
disabled-color: (
|
|
55
|
+
color: (
|
|
56
|
+
'gray',
|
|
57
|
+
400,
|
|
58
|
+
),
|
|
59
|
+
),
|
|
60
|
+
disabled-label-color: (
|
|
61
|
+
color: (
|
|
62
|
+
'gray',
|
|
63
|
+
400,
|
|
64
|
+
),
|
|
65
|
+
),
|
|
66
|
+
error-color: (
|
|
67
|
+
color: (
|
|
68
|
+
'error',
|
|
69
|
+
500,
|
|
70
|
+
),
|
|
71
|
+
),
|
|
72
|
+
error-color-hover: (
|
|
73
|
+
color: (
|
|
74
|
+
'error',
|
|
75
|
+
500,
|
|
76
|
+
),
|
|
77
|
+
),
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
/// Generates a fluent radio schema.
|
|
81
|
+
/// @type {Map}
|
|
82
|
+
/// @prop {Map} hover-color [color: ('gray', 700)] - The border and dot colors on hover.
|
|
83
|
+
/// @prop {Map} fill-hover-border-color [color: ('primary', 800)] - The checked dot border color on hover.
|
|
84
|
+
/// @prop {Map} empty-color [color: ('gray', 900)] - The unchecked border color.
|
|
85
|
+
/// @prop {Map} fill-color [color: ('primary', 500)] - The checked border and dot colors.
|
|
86
|
+
/// @prop {Map} fill-color-hover [color: ('primary', 800)] - The checked border and dot colors on hover.
|
|
87
|
+
/// @prop {Map} focus-outline-color [color: ('gray', 700)] - The focus outlined color.
|
|
88
|
+
/// @prop {Map} error-color-hover [color: ('error', 700)] - The border and dot color in invalid state on hover.
|
|
89
|
+
/// @prop {Map} disabled-label-color [color: ('gray', 500)] - The disabled label color.
|
|
90
|
+
/// @requires {Map} $light-radio
|
|
91
|
+
$fluent-radio: extend(
|
|
92
|
+
$light-radio,
|
|
93
|
+
(
|
|
94
|
+
focus-outline-color: (
|
|
95
|
+
color: (
|
|
96
|
+
'gray',
|
|
97
|
+
700,
|
|
98
|
+
),
|
|
99
|
+
),
|
|
100
|
+
hover-color: (
|
|
101
|
+
color: (
|
|
102
|
+
'gray',
|
|
103
|
+
700,
|
|
104
|
+
),
|
|
105
|
+
),
|
|
106
|
+
fill-hover-border-color: (
|
|
107
|
+
color: (
|
|
108
|
+
'primary',
|
|
109
|
+
800,
|
|
110
|
+
),
|
|
111
|
+
),
|
|
112
|
+
empty-color: (
|
|
113
|
+
color: (
|
|
114
|
+
'gray',
|
|
115
|
+
900,
|
|
116
|
+
),
|
|
117
|
+
),
|
|
118
|
+
fill-color: (
|
|
119
|
+
color: (
|
|
120
|
+
'primary',
|
|
121
|
+
500,
|
|
122
|
+
),
|
|
123
|
+
),
|
|
124
|
+
fill-color-hover: (
|
|
125
|
+
color: (
|
|
126
|
+
'primary',
|
|
127
|
+
800,
|
|
128
|
+
),
|
|
129
|
+
),
|
|
130
|
+
error-color-hover: (
|
|
131
|
+
color: (
|
|
132
|
+
'error',
|
|
133
|
+
700,
|
|
134
|
+
),
|
|
135
|
+
),
|
|
136
|
+
disabled-label-color: (
|
|
137
|
+
color: (
|
|
138
|
+
'gray',
|
|
139
|
+
500,
|
|
140
|
+
),
|
|
141
|
+
),
|
|
142
|
+
)
|
|
143
|
+
);
|
|
144
|
+
|
|
145
|
+
/// Generates a bootstrap radio schema.
|
|
146
|
+
/// @type {Map}
|
|
147
|
+
/// @prop {Map} fill-hover-border-color [color: ('gray', 50)] - The checked dot border color on hover.
|
|
148
|
+
/// @prop {Map} empty-color [color: ('gray', 500)] - The unchecked border color.
|
|
149
|
+
/// @prop {Map} fill-color [color: ('primary', 500)] - The checked border and dot colors.
|
|
150
|
+
/// @prop {Map} disabled-color [color: ('primary', 200)] - The disabled border and dot colors.
|
|
151
|
+
/// @prop {Map} fill-color-hover [color: ('gray', 50)] - The checked border and dot colors on hover.
|
|
152
|
+
/// @prop {Map} focus-outline-color [color: ('primary', 200)] - The focus outlined color.
|
|
153
|
+
/// @prop {Map} error-color-hover [color: ('error', 100)] - The focus outlined color in invalid state.
|
|
154
|
+
/// @requires {Map} $light-radio
|
|
155
|
+
$bootstrap-radio: extend(
|
|
156
|
+
$light-radio,
|
|
157
|
+
(
|
|
158
|
+
focus-outline-color: (
|
|
159
|
+
color: (
|
|
160
|
+
'primary',
|
|
161
|
+
200,
|
|
162
|
+
),
|
|
163
|
+
),
|
|
164
|
+
fill-hover-border-color: (
|
|
165
|
+
color: (
|
|
166
|
+
'gray',
|
|
167
|
+
50,
|
|
168
|
+
),
|
|
169
|
+
),
|
|
170
|
+
disabled-color: (
|
|
171
|
+
color: (
|
|
172
|
+
'primary',
|
|
173
|
+
200,
|
|
174
|
+
),
|
|
175
|
+
),
|
|
176
|
+
empty-color: (
|
|
177
|
+
color: (
|
|
178
|
+
'gray',
|
|
179
|
+
500,
|
|
180
|
+
),
|
|
181
|
+
),
|
|
182
|
+
fill-color: (
|
|
183
|
+
color: (
|
|
184
|
+
'primary',
|
|
185
|
+
500,
|
|
186
|
+
),
|
|
187
|
+
),
|
|
188
|
+
fill-color-hover: (
|
|
189
|
+
color: (
|
|
190
|
+
'gray',
|
|
191
|
+
50,
|
|
192
|
+
),
|
|
193
|
+
),
|
|
194
|
+
error-color-hover: (
|
|
195
|
+
color: (
|
|
196
|
+
'error',
|
|
197
|
+
100,
|
|
198
|
+
),
|
|
199
|
+
),
|
|
200
|
+
)
|
|
201
|
+
);
|
|
202
|
+
|
|
203
|
+
/// Generates an indigo radio schema.
|
|
204
|
+
/// @type {Map}
|
|
205
|
+
/// @prop {Map} fill-hover-border-color [color: ('primary', 500)] - The text color used for the label text.
|
|
206
|
+
/// @prop {Map} label-color [color: ('gray', 900)] - The text color used for the label text.
|
|
207
|
+
/// @prop {Map} empty-color [color: ('gray', 500)] - The unchecked border color.
|
|
208
|
+
/// @prop {Map} fill-color [color: ('primary', 500)] - The checked border and dot colors.
|
|
209
|
+
/// @prop {Map} fill-color-hover [color: ('primary', 500)] - The checked border and dot colors on hover.
|
|
210
|
+
/// @prop {Map} disabled-color [color: ('gray', 300)] - The disabled border and dot colors.
|
|
211
|
+
/// @prop {Map} focus-outline-color [color: ('gray', 300)] - The focus outlined color.
|
|
212
|
+
/// @prop {Map} focus-outline-color-focused [color: ('primary', 200)] - The focus outlined color for focused state.
|
|
213
|
+
/// @prop {Map} error-color-hover [color: ('error', 200)] - The focus outlined color in invalid state.
|
|
214
|
+
/// @requires {Map} $light-radio
|
|
215
|
+
$indigo-radio: extend(
|
|
216
|
+
$light-radio,
|
|
217
|
+
(
|
|
218
|
+
focus-outline-color: (
|
|
219
|
+
color: (
|
|
220
|
+
'gray',
|
|
221
|
+
300,
|
|
222
|
+
),
|
|
223
|
+
),
|
|
224
|
+
focus-outline-color-focused: (
|
|
225
|
+
color: (
|
|
226
|
+
'primary',
|
|
227
|
+
200,
|
|
228
|
+
),
|
|
229
|
+
),
|
|
230
|
+
fill-hover-border-color: (
|
|
231
|
+
color: (
|
|
232
|
+
'primary',
|
|
233
|
+
500,
|
|
234
|
+
),
|
|
235
|
+
),
|
|
236
|
+
label-color: (
|
|
237
|
+
color: (
|
|
238
|
+
'gray',
|
|
239
|
+
900,
|
|
240
|
+
),
|
|
241
|
+
),
|
|
242
|
+
empty-color: (
|
|
243
|
+
color: (
|
|
244
|
+
'gray',
|
|
245
|
+
500,
|
|
246
|
+
),
|
|
247
|
+
),
|
|
248
|
+
fill-color: (
|
|
249
|
+
color: (
|
|
250
|
+
'primary',
|
|
251
|
+
500,
|
|
252
|
+
),
|
|
253
|
+
),
|
|
254
|
+
fill-color-hover: (
|
|
255
|
+
color: (
|
|
256
|
+
'primary',
|
|
257
|
+
500,
|
|
258
|
+
),
|
|
259
|
+
),
|
|
260
|
+
error-color-hover: (
|
|
261
|
+
color: (
|
|
262
|
+
'error',
|
|
263
|
+
200,
|
|
264
|
+
),
|
|
265
|
+
),
|
|
266
|
+
disabled-color: (
|
|
267
|
+
color: (
|
|
268
|
+
'gray',
|
|
269
|
+
300,
|
|
270
|
+
),
|
|
271
|
+
),
|
|
272
|
+
disabled-label-color: (
|
|
273
|
+
color: (
|
|
274
|
+
'gray',
|
|
275
|
+
300,
|
|
276
|
+
),
|
|
277
|
+
),
|
|
278
|
+
)
|
|
279
|
+
);
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../../../../typography/functions' as *;
|
|
3
|
+
|
|
4
|
+
////
|
|
5
|
+
/// @package theming
|
|
6
|
+
/// @group schemas
|
|
7
|
+
/// @access public
|
|
8
|
+
////
|
|
9
|
+
|
|
10
|
+
/* stylelint-disable max-line-length */
|
|
11
|
+
|
|
12
|
+
/// @prop {Map} label-color [color: ('gray', 700)] - sets the color for the label.
|
|
13
|
+
/// @prop {Number} symbol-size [rem(36px)] - the size of the symbols.
|
|
14
|
+
/// @prop {Map} symbol-empty-color [color: ('gray', 900)] - sets the idle color for the symbol when it is a plane text.
|
|
15
|
+
/// @prop {Map} symbol-full-color [color: ('primary')] - sets the color in selected state for the symbol when it is a plane text.
|
|
16
|
+
/// @prop {Color} symbol-empty-filter [grayscale(100%) opacity(50%)] - the filter(s) used for the empty symbol.
|
|
17
|
+
/// @prop {Color} symbol-full-filter [grayscale(50%)] - the filter(s) used for the filled symbol.
|
|
18
|
+
/// @prop {Map} disabled-label-color [color: ('gray', 400)] - sets the color for the label in disabled state.
|
|
19
|
+
/// @prop {Map} disabled-empty-symbols-color [color: ('gray', 400)] - sets the idle color for the symbol in disabled state when it is a plane text.
|
|
20
|
+
/// @prop {Map} disabled-full-symbols-color [color: ('gray', 600)] - sets the color for the symbol in selected/disabled state when it is a plane text.
|
|
21
|
+
/// Generates a light rating schema.
|
|
22
|
+
/// @type {Map}
|
|
23
|
+
$light-rating: (
|
|
24
|
+
label-color: (
|
|
25
|
+
color: (
|
|
26
|
+
'gray',
|
|
27
|
+
700,
|
|
28
|
+
),
|
|
29
|
+
),
|
|
30
|
+
symbol-size: null,
|
|
31
|
+
symbol-empty-color: (
|
|
32
|
+
color: (
|
|
33
|
+
'gray',
|
|
34
|
+
600,
|
|
35
|
+
),
|
|
36
|
+
),
|
|
37
|
+
symbol-full-color: (
|
|
38
|
+
color: (
|
|
39
|
+
'warn',
|
|
40
|
+
),
|
|
41
|
+
),
|
|
42
|
+
symbol-empty-filter: (
|
|
43
|
+
grayscale(1),
|
|
44
|
+
),
|
|
45
|
+
symbol-full-filter: (
|
|
46
|
+
grayscale(0),
|
|
47
|
+
),
|
|
48
|
+
disabled-label-color: (
|
|
49
|
+
color: (
|
|
50
|
+
'gray',
|
|
51
|
+
400,
|
|
52
|
+
),
|
|
53
|
+
),
|
|
54
|
+
disabled-empty-symbol-color: (
|
|
55
|
+
color: (
|
|
56
|
+
'gray',
|
|
57
|
+
400,
|
|
58
|
+
),
|
|
59
|
+
),
|
|
60
|
+
disabled-full-symbol-color: (
|
|
61
|
+
color: (
|
|
62
|
+
'warn',
|
|
63
|
+
500,
|
|
64
|
+
0.38,
|
|
65
|
+
),
|
|
66
|
+
),
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
/// Generates a fluent rating schema.
|
|
70
|
+
/// @type {Map}
|
|
71
|
+
/// @prop {Map} label-color [color: ('gray', 900)] - sets the color for the label.
|
|
72
|
+
/// @prop {Map} disabled-idle-symbols-color [color: ('gray', 200)] - sets the idle color for the symbol in disabled state when it is a plane text.
|
|
73
|
+
/// @prop {Map} disabled-selected-symbols-color [color: ('gray', 500)] - sets the color for the symbol in selected/disabled state when it is a plane text.
|
|
74
|
+
/// @requires {Map} $light-rating
|
|
75
|
+
$fluent-rating: extend(
|
|
76
|
+
$light-rating,
|
|
77
|
+
(
|
|
78
|
+
label-color: (
|
|
79
|
+
color: (
|
|
80
|
+
'gray',
|
|
81
|
+
900,
|
|
82
|
+
),
|
|
83
|
+
),
|
|
84
|
+
disabled-empty-symbols-color: (
|
|
85
|
+
color: (
|
|
86
|
+
'gray',
|
|
87
|
+
200,
|
|
88
|
+
),
|
|
89
|
+
),
|
|
90
|
+
disabled-full-symbols-color: (
|
|
91
|
+
color: (
|
|
92
|
+
'gray',
|
|
93
|
+
500,
|
|
94
|
+
),
|
|
95
|
+
),
|
|
96
|
+
)
|
|
97
|
+
);
|
|
98
|
+
|
|
99
|
+
/// Generates a bootstrap rating schema.
|
|
100
|
+
/// @type {Map}
|
|
101
|
+
/// @prop {Map} label-color [color: ('gray', 900)] - sets the color for the label.
|
|
102
|
+
/// @requires {Map} $light-rating
|
|
103
|
+
$bootstrap-rating: extend(
|
|
104
|
+
$light-rating,
|
|
105
|
+
(
|
|
106
|
+
label-color: (
|
|
107
|
+
color: (
|
|
108
|
+
'gray',
|
|
109
|
+
900,
|
|
110
|
+
),
|
|
111
|
+
),
|
|
112
|
+
)
|
|
113
|
+
);
|
|
114
|
+
|
|
115
|
+
/// Generates an indigo rating schema.
|
|
116
|
+
/// @type {Map}
|
|
117
|
+
/// @prop {Map} label-color [color: ('gray', 900)] - sets the color for the label.
|
|
118
|
+
/// @requires {Map} $light-rating
|
|
119
|
+
$indigo-rating: extend(
|
|
120
|
+
$light-rating,
|
|
121
|
+
(
|
|
122
|
+
label-color: (
|
|
123
|
+
color: (
|
|
124
|
+
'gray',
|
|
125
|
+
900,
|
|
126
|
+
),
|
|
127
|
+
),
|
|
128
|
+
)
|
|
129
|
+
);
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../../../../typography/functions' as *;
|
|
3
|
+
|
|
4
|
+
////
|
|
5
|
+
/// @package theming
|
|
6
|
+
/// @group schemas
|
|
7
|
+
/// @access public
|
|
8
|
+
////
|
|
9
|
+
|
|
10
|
+
/* stylelint-disable max-line-length */
|
|
11
|
+
|
|
12
|
+
/// Generates a light select schema.
|
|
13
|
+
/// @type {Map}
|
|
14
|
+
/// @prop {Map} toggle-button-background [color: ('gray', 300)] - The select toggle button background color.
|
|
15
|
+
/// @prop {Map} toggle-button-background-focus [color: ('gray', 400, .3)] - The select toggle button background color when the select is focused.
|
|
16
|
+
/// @prop {Map} toggle-button-foreground [color: ('gray', 700)] - The select toggle button foreground color.
|
|
17
|
+
/// @prop {Map} toggle-button-foreground-focus [color: ('gray', 700)] - The select toggle button foreground color when the select is focused.
|
|
18
|
+
/// @prop {Map} toggle-button-foreground-filled [color: ('gray', 900)] - The select toggle button foreground color when the select is focused.
|
|
19
|
+
/// @prop {Map} toggle-button-background-disabled [color: ('gray', 300] - The select toggle button background color when the select is disabled.
|
|
20
|
+
/// @prop {Map} toggle-button-foreground-disabled [color: ('gray', 500)] - The select toggle button foreground color when the select is disabled.
|
|
21
|
+
$light-select: (
|
|
22
|
+
toggle-button-background: (
|
|
23
|
+
color: (
|
|
24
|
+
'gray',
|
|
25
|
+
300,
|
|
26
|
+
),
|
|
27
|
+
),
|
|
28
|
+
toggle-button-background-focus: (
|
|
29
|
+
color: (
|
|
30
|
+
'gray',
|
|
31
|
+
400,
|
|
32
|
+
0.3,
|
|
33
|
+
),
|
|
34
|
+
),
|
|
35
|
+
toggle-button-foreground: (
|
|
36
|
+
color: (
|
|
37
|
+
'gray',
|
|
38
|
+
700,
|
|
39
|
+
),
|
|
40
|
+
),
|
|
41
|
+
toggle-button-foreground-focus: (
|
|
42
|
+
color: (
|
|
43
|
+
'gray',
|
|
44
|
+
700,
|
|
45
|
+
),
|
|
46
|
+
),
|
|
47
|
+
toggle-button-foreground-filled: (
|
|
48
|
+
color: (
|
|
49
|
+
'gray',
|
|
50
|
+
900,
|
|
51
|
+
),
|
|
52
|
+
),
|
|
53
|
+
toggle-button-background-disabled: (
|
|
54
|
+
color: (
|
|
55
|
+
'gray',
|
|
56
|
+
300,
|
|
57
|
+
),
|
|
58
|
+
),
|
|
59
|
+
toggle-button-foreground-disabled: (
|
|
60
|
+
color: (
|
|
61
|
+
'gray',
|
|
62
|
+
500,
|
|
63
|
+
),
|
|
64
|
+
),
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
/// Generates a fluent select schema.
|
|
68
|
+
/// @type {Map}
|
|
69
|
+
/// @prop {Map} toggle-button-background [color: ('gray', 100)] - The select toggle button background color.
|
|
70
|
+
/// @prop {Map} toggle-button-background-focus [color: ('gray', 100)] - The select toggle button background color when the select is focused.
|
|
71
|
+
/// @prop {Map} toggle-button-foreground-filled [color: ('gray', 700)] - The select toggle button foreground color when the select is focused.
|
|
72
|
+
/// @prop {Map} toggle-button-background-disabled [color: ('gray', 100] - The select toggle button background color when the select is disabled.
|
|
73
|
+
/// @prop {Map} toggle-button-foreground-disabled [color: ('gray', 400)] - The select toggle button foreground color when the select is disabled.
|
|
74
|
+
/// @requires {Map} $light-select
|
|
75
|
+
$fluent-select: extend(
|
|
76
|
+
$light-select,
|
|
77
|
+
(
|
|
78
|
+
toggle-button-background: (
|
|
79
|
+
color: (
|
|
80
|
+
'gray',
|
|
81
|
+
100,
|
|
82
|
+
),
|
|
83
|
+
),
|
|
84
|
+
toggle-button-background-focus: (
|
|
85
|
+
color: (
|
|
86
|
+
'gray',
|
|
87
|
+
100,
|
|
88
|
+
),
|
|
89
|
+
),
|
|
90
|
+
toggle-button-foreground-filled: (
|
|
91
|
+
color: (
|
|
92
|
+
'gray',
|
|
93
|
+
700,
|
|
94
|
+
),
|
|
95
|
+
),
|
|
96
|
+
toggle-button-background-disabled: (
|
|
97
|
+
color: (
|
|
98
|
+
'gray',
|
|
99
|
+
100,
|
|
100
|
+
),
|
|
101
|
+
),
|
|
102
|
+
toggle-button-foreground-disabled: (
|
|
103
|
+
color: (
|
|
104
|
+
'gray',
|
|
105
|
+
400,
|
|
106
|
+
),
|
|
107
|
+
),
|
|
108
|
+
)
|
|
109
|
+
);
|
|
110
|
+
|
|
111
|
+
/// Generates a bootstrap select schema.
|
|
112
|
+
/// @type {Map}
|
|
113
|
+
/// @prop {Map} toggle-button-background-disabled [color: ('gray', 300] - The select toggle button background color when the select is disabled.
|
|
114
|
+
/// @prop {Map} toggle-button-foreground-disabled [color: ('gray', 400)] - The select toggle button foreground color when the select is disabled.
|
|
115
|
+
/// @prop {Map} toggle-button-foreground [color: ('gray', 800)] - The select toggle button foreground color.
|
|
116
|
+
/// @prop {Map} toggle-button-foreground-focus [color: ('gray', 800)] - The select toggle button foreground color when the select is focused.
|
|
117
|
+
/// @prop {Map} toggle-button-foreground-filled [color: ('gray', 800)] - The select toggle button foreground color when the select is focused.
|
|
118
|
+
/// @requires {Map} $light-select
|
|
119
|
+
$bootstrap-select: extend(
|
|
120
|
+
$light-select,
|
|
121
|
+
(
|
|
122
|
+
toggle-button-background-disabled: (
|
|
123
|
+
color: (
|
|
124
|
+
'gray',
|
|
125
|
+
300,
|
|
126
|
+
),
|
|
127
|
+
),
|
|
128
|
+
toggle-button-foreground-disabled: (
|
|
129
|
+
color: (
|
|
130
|
+
'gray',
|
|
131
|
+
400,
|
|
132
|
+
),
|
|
133
|
+
),
|
|
134
|
+
toggle-button-foreground: (
|
|
135
|
+
color: (
|
|
136
|
+
'gray',
|
|
137
|
+
800,
|
|
138
|
+
),
|
|
139
|
+
),
|
|
140
|
+
toggle-button-foreground--focus: (
|
|
141
|
+
color: (
|
|
142
|
+
'gray',
|
|
143
|
+
800,
|
|
144
|
+
),
|
|
145
|
+
),
|
|
146
|
+
toggle-button-foreground-filled: (
|
|
147
|
+
color: (
|
|
148
|
+
'gray',
|
|
149
|
+
800,
|
|
150
|
+
),
|
|
151
|
+
),
|
|
152
|
+
)
|
|
153
|
+
);
|
|
154
|
+
|
|
155
|
+
/// Generates an indigo select schema.
|
|
156
|
+
/// @type {Map}
|
|
157
|
+
/// @prop {Map} toggle-button-background-disabled [color: ('gray', 100] - The select toggle button background color when the select is disabled.
|
|
158
|
+
/// @prop {Map} toggle-button-foreground-disabled [color: ('gray', 300)] - The select toggle button foreground color when the select is disabled.
|
|
159
|
+
/// @requires {Map} $light-select
|
|
160
|
+
$indigo-select: extend(
|
|
161
|
+
$light-select,
|
|
162
|
+
(
|
|
163
|
+
toggle-button-background-disabled: (
|
|
164
|
+
color: (
|
|
165
|
+
'gray',
|
|
166
|
+
100,
|
|
167
|
+
),
|
|
168
|
+
),
|
|
169
|
+
toggle-button-foreground-disabled: (
|
|
170
|
+
color: (
|
|
171
|
+
'gray',
|
|
172
|
+
300,
|
|
173
|
+
),
|
|
174
|
+
),
|
|
175
|
+
)
|
|
176
|
+
);
|