igniteui-theming 1.4.5 → 1.4.6
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/themes/schemas/components/dark/_action-strip.scss +50 -0
- package/sass/themes/schemas/components/dark/_badge.scss +39 -0
- package/sass/themes/schemas/components/dark/_banner.scss +54 -0
- package/sass/themes/schemas/components/dark/_bottom-nav.scss +61 -0
- package/sass/themes/schemas/components/dark/_button-group.scss +190 -0
- package/sass/themes/schemas/components/dark/_calendar.scss +338 -0
- package/sass/themes/schemas/components/dark/_card.scss +71 -0
- package/sass/themes/schemas/components/dark/_carousel.scss +127 -0
- package/sass/themes/schemas/components/dark/_checkbox.scss +1 -6
- package/sass/themes/schemas/components/dark/_chip.scss +111 -0
- package/sass/themes/schemas/components/dark/_column-actions.scss +28 -0
- package/sass/themes/schemas/components/dark/_date-range-picker.scss +28 -0
- package/sass/themes/schemas/components/dark/_dialog.scss +55 -0
- package/sass/themes/schemas/components/dark/_divider.scss +43 -0
- package/sass/themes/schemas/components/dark/_dock-manager.scss +349 -0
- package/sass/themes/schemas/components/dark/_expansion-panel.scss +87 -0
- package/sass/themes/schemas/components/dark/_grid-filtering.scss +28 -0
- package/sass/themes/schemas/components/dark/_grid-summary.scss +83 -0
- package/sass/themes/schemas/components/dark/_grid-toolbar.scss +36 -0
- package/sass/themes/schemas/components/dark/_grid.scss +684 -0
- package/sass/themes/schemas/components/dark/_highlight.scss +72 -0
- package/sass/themes/schemas/components/dark/_index.scss +214 -30
- package/sass/themes/schemas/components/dark/_list.scss +116 -0
- package/sass/themes/schemas/components/dark/_navdrawer.scss +142 -0
- package/sass/themes/schemas/components/dark/_overlay.scss +34 -0
- package/sass/themes/schemas/components/dark/_pagination.scss +44 -0
- package/sass/themes/schemas/components/dark/_pivot-data-selector.scss +27 -0
- package/sass/themes/schemas/components/dark/_progress.scss +107 -0
- package/sass/themes/schemas/components/dark/_query-builder.scss +35 -0
- package/sass/themes/schemas/components/dark/_radio.scss +1 -6
- package/sass/themes/schemas/components/dark/_ripple.scss +28 -0
- package/sass/themes/schemas/components/dark/_scrollbar.scss +69 -0
- package/sass/themes/schemas/components/dark/_snackbar.scss +55 -0
- package/sass/themes/schemas/components/dark/_splitter.scss +68 -0
- package/sass/themes/schemas/components/dark/_stepper.scss +186 -0
- package/sass/themes/schemas/components/dark/_switch.scss +0 -1
- package/sass/themes/schemas/components/dark/_time-picker.scss +54 -0
- package/sass/themes/schemas/components/dark/_toast.scss +67 -0
- package/sass/themes/schemas/components/dark/_tooltip.scss +44 -0
- package/sass/themes/schemas/components/dark/_watermark.scss +48 -0
- package/sass/themes/schemas/components/elevation/_badge.scss +17 -0
- package/sass/themes/schemas/components/elevation/_bottom-nav.scss +23 -0
- package/sass/themes/schemas/components/elevation/_button-group.scss +29 -0
- package/sass/themes/schemas/components/elevation/_card.scss +37 -0
- package/sass/themes/schemas/components/elevation/_carousel.scss +29 -0
- package/sass/themes/schemas/components/elevation/_chip.scss +29 -0
- package/sass/themes/schemas/components/elevation/_dialog.scss +17 -0
- package/sass/themes/schemas/components/elevation/_grid.scss +21 -0
- package/sass/themes/schemas/components/elevation/_navdrawer.scss +17 -0
- package/sass/themes/schemas/components/elevation/_snackbar.scss +17 -0
- package/sass/themes/schemas/components/elevation/_time-picker.scss +13 -0
- package/sass/themes/schemas/components/elevation/_toast.scss +17 -0
- package/sass/themes/schemas/components/light/_action-strip.scss +89 -0
- package/sass/themes/schemas/components/light/_avatar.scss +1 -1
- package/sass/themes/schemas/components/light/_badge.scss +82 -0
- package/sass/themes/schemas/components/light/_banner.scss +96 -0
- package/sass/themes/schemas/components/light/_bottom-nav.scss +61 -0
- package/sass/themes/schemas/components/light/_button-group.scss +426 -0
- package/sass/themes/schemas/components/light/_calendar.scss +908 -0
- package/sass/themes/schemas/components/light/_card.scss +207 -0
- package/sass/themes/schemas/components/light/_carousel.scss +195 -0
- package/sass/themes/schemas/components/light/_chip.scss +538 -0
- package/sass/themes/schemas/components/light/_column-actions.scss +42 -0
- package/sass/themes/schemas/components/light/_date-range-picker.scss +35 -0
- package/sass/themes/schemas/components/light/_dialog.scss +102 -0
- package/sass/themes/schemas/components/light/_divider.scss +33 -0
- package/sass/themes/schemas/components/light/_dock-manager.scss +548 -0
- package/sass/themes/schemas/components/light/_expansion-panel.scss +172 -0
- package/sass/themes/schemas/components/light/_grid-filtering.scss +105 -0
- package/sass/themes/schemas/components/light/_grid-summary.scss +138 -0
- package/sass/themes/schemas/components/light/_grid-toolbar.scss +117 -0
- package/sass/themes/schemas/components/light/_grid.scss +1330 -0
- package/sass/themes/schemas/components/light/_highlight.scss +86 -0
- package/sass/themes/schemas/components/light/_icon.scss +4 -14
- package/sass/themes/schemas/components/light/_index.scss +214 -30
- package/sass/themes/schemas/components/light/_list.scss +321 -0
- package/sass/themes/schemas/components/light/_navdrawer.scss +214 -0
- package/sass/themes/schemas/components/light/_overlay.scss +42 -0
- package/sass/themes/schemas/components/light/_pagination.scss +97 -0
- package/sass/themes/schemas/components/light/_pivot-data-selector.scss +38 -0
- package/sass/themes/schemas/components/light/_progress.scss +208 -0
- package/sass/themes/schemas/components/light/_query-builder.scss +138 -0
- package/sass/themes/schemas/components/light/_ripple.scss +36 -0
- package/sass/themes/schemas/components/light/_scrollbar.scss +79 -0
- package/sass/themes/schemas/components/light/_slider.scss +0 -4
- package/sass/themes/schemas/components/light/_snackbar.scss +131 -0
- package/sass/themes/schemas/components/light/_splitter.scss +99 -0
- package/sass/themes/schemas/components/light/_stepper.scss +695 -0
- package/sass/themes/schemas/components/light/_switch.scss +0 -5
- package/sass/themes/schemas/components/light/_time-picker.scss +210 -0
- package/sass/themes/schemas/components/light/_toast.scss +89 -0
- package/sass/themes/schemas/components/light/_tooltip.scss +96 -0
- package/sass/themes/schemas/components/light/_watermark.scss +77 -0
|
@@ -0,0 +1,321 @@
|
|
|
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 list schema.
|
|
11
|
+
/// @type {Map}
|
|
12
|
+
/// @prop {Map} background [color: 'surface'] - The list background color.
|
|
13
|
+
/// @prop {Map} header-background [color: 'surface'] - The list header background color.
|
|
14
|
+
/// @prop {Map} header-text-color [color: ('secondary', 500)] - The list header text color.
|
|
15
|
+
/// @prop {Map} item-background [color: 'surface'] - The list item background color.
|
|
16
|
+
/// @prop {Map} item-background-hover [color: ('gray', 200)] - The list item hover background.
|
|
17
|
+
/// @prop {Map} item-background-active [color: ('gray', 200)] - The active list item background color.
|
|
18
|
+
/// @prop {Map} item-text-color [color: ('gray', 700)] - The list item text color.
|
|
19
|
+
/// @prop {Map} item-text-color-hover [color: ('gray', 700)] - The list item text color.
|
|
20
|
+
/// @prop {Map} item-text-color-active [color: ('gray', 700)] - The active list item text color.
|
|
21
|
+
/// @prop {Color} item-title-color ["'currentColor'"] - The list item title color.
|
|
22
|
+
/// @prop {Color} item-title-color-hover ["'currentColor'"] - The list item title hover color.
|
|
23
|
+
/// @prop {Color} item-title-color-active ["'currentColor'"] - The list item title active color.
|
|
24
|
+
/// @prop {Color} item-subtitle-color ["'currentColor'"] - The list item subtitle color.
|
|
25
|
+
/// @prop {Color} item-subtitle-color-hover ["'currentColor'"] - The list item subtitle hover color.
|
|
26
|
+
/// @prop {Color} item-subtitle-color-active ["'currentColor'"] - The list item subtitle active color.
|
|
27
|
+
/// @prop {Color} item-action-color ["'currentColor'"] - The list item action color.
|
|
28
|
+
/// @prop {Color} item-action-color-hover ["'currentColor'"] - The list item action hover color.
|
|
29
|
+
/// @prop {Color} item-action-color-active ["'currentColor'"] - The list item action active color.
|
|
30
|
+
/// @prop {Color} item-thumbnail-color ["'currentColor'"] - The list item thumbnail color.
|
|
31
|
+
/// @prop {Color} item-thumbnail-color-hover ["'currentColor'"] - The list item thumbnail hover color.
|
|
32
|
+
/// @prop {Color} item-thumbnail-color-active ["'currentColor'"] - The list item thumbnail active color.
|
|
33
|
+
/// @prop {Number} border-radius [0] - The border radius used for list component. Can be a fraction between 0 and 1, pixels, or percent.
|
|
34
|
+
/// @prop {Number} item-border-radius [0] - The border radius used for list item. Can be a fraction between 0 and 1, pixels, or percent.
|
|
35
|
+
/// @prop {Number} border-color [transparent] - The list border color.
|
|
36
|
+
/// @prop {Color} border-width [0] - The list border width.
|
|
37
|
+
$light-list: (
|
|
38
|
+
background: (
|
|
39
|
+
color: 'surface',
|
|
40
|
+
),
|
|
41
|
+
|
|
42
|
+
header-background: (
|
|
43
|
+
color: 'surface',
|
|
44
|
+
),
|
|
45
|
+
|
|
46
|
+
header-text-color: (
|
|
47
|
+
color: (
|
|
48
|
+
'secondary',
|
|
49
|
+
500,
|
|
50
|
+
),
|
|
51
|
+
),
|
|
52
|
+
|
|
53
|
+
item-background: (
|
|
54
|
+
color: 'surface',
|
|
55
|
+
),
|
|
56
|
+
|
|
57
|
+
item-background-hover: (
|
|
58
|
+
color: (
|
|
59
|
+
'gray',
|
|
60
|
+
200,
|
|
61
|
+
),
|
|
62
|
+
),
|
|
63
|
+
|
|
64
|
+
item-background-active: (
|
|
65
|
+
color: (
|
|
66
|
+
'gray',
|
|
67
|
+
200,
|
|
68
|
+
),
|
|
69
|
+
),
|
|
70
|
+
|
|
71
|
+
item-text-color: (
|
|
72
|
+
color: (
|
|
73
|
+
'gray',
|
|
74
|
+
700,
|
|
75
|
+
),
|
|
76
|
+
),
|
|
77
|
+
|
|
78
|
+
item-text-color-hover: (
|
|
79
|
+
color: (
|
|
80
|
+
'gray',
|
|
81
|
+
700,
|
|
82
|
+
),
|
|
83
|
+
),
|
|
84
|
+
|
|
85
|
+
item-text-color-active: (
|
|
86
|
+
color: (
|
|
87
|
+
'gray',
|
|
88
|
+
700,
|
|
89
|
+
),
|
|
90
|
+
),
|
|
91
|
+
|
|
92
|
+
item-title-color: "'currentColor'",
|
|
93
|
+
|
|
94
|
+
item-title-color-hover: "'currentColor'",
|
|
95
|
+
|
|
96
|
+
item-title-color-active: "'currentColor'",
|
|
97
|
+
|
|
98
|
+
item-action-color: "'currentColor'",
|
|
99
|
+
|
|
100
|
+
item-action-color-hover: "'currentColor'",
|
|
101
|
+
|
|
102
|
+
item-action-color-active: "'currentColor'",
|
|
103
|
+
|
|
104
|
+
item-subtitle-color: "'currentColor'",
|
|
105
|
+
|
|
106
|
+
item-subtitle-color-hover: "'currentColor'",
|
|
107
|
+
|
|
108
|
+
item-subtitle-color-active: "'currentColor'",
|
|
109
|
+
|
|
110
|
+
item-thumbnail-color: "'currentColor'",
|
|
111
|
+
|
|
112
|
+
item-thumbnail-color-hover: "'currentColor'",
|
|
113
|
+
|
|
114
|
+
item-thumbnail-color-active: "'currentColor'",
|
|
115
|
+
|
|
116
|
+
border-color: transparent,
|
|
117
|
+
|
|
118
|
+
border-width: 0,
|
|
119
|
+
|
|
120
|
+
border-radius: rem(0),
|
|
121
|
+
item-border-radius: rem(0),
|
|
122
|
+
);
|
|
123
|
+
|
|
124
|
+
/// Generates a fluent list schema.
|
|
125
|
+
/// @type {Map}
|
|
126
|
+
/// @requires {Map} $light-list
|
|
127
|
+
$fluent-list: $light-list;
|
|
128
|
+
|
|
129
|
+
/// Generates a bootstrap list schema.
|
|
130
|
+
/// @type {Map}
|
|
131
|
+
/// @prop {Map} header-background [contrast-color: ('gray', 900)] - The list header background color.
|
|
132
|
+
/// @prop {Map} item-background [contrast-color: ('gray', 900)] - The list item background color.
|
|
133
|
+
/// @prop {Map} item-text-color [color: ('gray', 900)] - The list item text color.
|
|
134
|
+
/// @prop {Map} item-text-color-hover [color: ('gray', 900)] - The list item text color.
|
|
135
|
+
/// @prop {Map} item-text-color-active [color: ('gray', 900)] - The active list item text color.
|
|
136
|
+
/// @prop {Number} border-radius [4px] - The border radius used for list component. Can be a fraction between 0 and 1, pixels, or percent.
|
|
137
|
+
/// @prop {Number} item-border-radius [0] - The border radius used for list item. Can be a fraction between 0 and 1, pixels, or percent.
|
|
138
|
+
/// @prop {Number} border-color [color: ('gray', 300)] - The list border color.
|
|
139
|
+
/// @prop {Color} border-width [rem(1px)] - The list border width.
|
|
140
|
+
/// @requires {Map} $light-list
|
|
141
|
+
$bootstrap-list: extend(
|
|
142
|
+
$light-list,
|
|
143
|
+
(
|
|
144
|
+
border-width: rem(1px),
|
|
145
|
+
border-color: (
|
|
146
|
+
color: (
|
|
147
|
+
'gray',
|
|
148
|
+
300,
|
|
149
|
+
),
|
|
150
|
+
),
|
|
151
|
+
|
|
152
|
+
item-background: (
|
|
153
|
+
contrast-color: (
|
|
154
|
+
'gray',
|
|
155
|
+
900,
|
|
156
|
+
),
|
|
157
|
+
),
|
|
158
|
+
|
|
159
|
+
header-background: (
|
|
160
|
+
contrast-color: (
|
|
161
|
+
'gray',
|
|
162
|
+
900,
|
|
163
|
+
),
|
|
164
|
+
),
|
|
165
|
+
|
|
166
|
+
item-text-color: (
|
|
167
|
+
color: (
|
|
168
|
+
'gray',
|
|
169
|
+
900,
|
|
170
|
+
),
|
|
171
|
+
),
|
|
172
|
+
|
|
173
|
+
item-text-color-hover: (
|
|
174
|
+
color: (
|
|
175
|
+
'gray',
|
|
176
|
+
900,
|
|
177
|
+
),
|
|
178
|
+
),
|
|
179
|
+
|
|
180
|
+
item-text-color-active: (
|
|
181
|
+
color: (
|
|
182
|
+
'gray',
|
|
183
|
+
900,
|
|
184
|
+
),
|
|
185
|
+
),
|
|
186
|
+
|
|
187
|
+
border-radius: rem(4px),
|
|
188
|
+
)
|
|
189
|
+
);
|
|
190
|
+
|
|
191
|
+
/// Generates an indigo list schema.
|
|
192
|
+
/// @type {Map}
|
|
193
|
+
/// @prop {Map} header-text-color [color: ('primary', 500)] - The list header text color.
|
|
194
|
+
/// @prop {Map} item-background-hover [color: ('primary', 400)] - The list item hover background.
|
|
195
|
+
/// @prop {Map} item-background-active [ color: ('primary', 400)] - The active list item background color.
|
|
196
|
+
/// @prop {Map} item-text-color [color: ('gray', 900)] - The list item text color.
|
|
197
|
+
/// @prop {Map} item-text-color-hover [color: ('gray', 900)] - The list item text color.
|
|
198
|
+
/// @prop {Map} item-text-color-active [color: ('gray', 900)] - The active list item text color.
|
|
199
|
+
/// @prop {Color} item-subtitle-color [color: ('gray', 800)] - The list item subtitle color.
|
|
200
|
+
/// @prop {Color} item-subtitle-color-hover [color: ('gray', 800)] - The list item subtitle hover color.
|
|
201
|
+
/// @prop {Color} item-subtitle-color-active [color: ('gray', 800)] - The list item subtitle active color.
|
|
202
|
+
/// @prop {Color} item-action-color [color: ('gray', 600)] - The list item action color.
|
|
203
|
+
/// @prop {Color} item-action-color-hover [color: ('gray', 600)] - The list item action hover color.
|
|
204
|
+
/// @prop {Color} item-action-color-active [color: ('gray', 600)] - The list item action active color.
|
|
205
|
+
/// @prop {Color} item-thumbnail-color [color: ('gray', 600)] - The list item thumbnail color.
|
|
206
|
+
/// @prop {Color} item-thumbnail-color-hover [color: ('gray', 600)] - The list item thumbnail hover color.
|
|
207
|
+
/// @prop {Color} item-thumbnail-color-active [color: ('gray', 600)] - The list item thumbnail active color.
|
|
208
|
+
/// @prop {Number} border-radius [0] - The border radius used for list component. Can be a fraction between 0 and 1, pixels, or percent.
|
|
209
|
+
/// @prop {Number} item-border-radius [2px] - The border radius used for list item. Can be a fraction between 0 and 1, pixels, or percent.
|
|
210
|
+
/// @requires {Map} $light-list
|
|
211
|
+
$indigo-list: extend(
|
|
212
|
+
$light-list,
|
|
213
|
+
(
|
|
214
|
+
header-text-color: (
|
|
215
|
+
color: (
|
|
216
|
+
'primary',
|
|
217
|
+
500,
|
|
218
|
+
),
|
|
219
|
+
),
|
|
220
|
+
|
|
221
|
+
item-background-hover: (
|
|
222
|
+
color: (
|
|
223
|
+
'primary',
|
|
224
|
+
50,
|
|
225
|
+
),
|
|
226
|
+
),
|
|
227
|
+
|
|
228
|
+
item-background-active: (
|
|
229
|
+
color: (
|
|
230
|
+
'primary',
|
|
231
|
+
50,
|
|
232
|
+
),
|
|
233
|
+
),
|
|
234
|
+
|
|
235
|
+
item-text-color: (
|
|
236
|
+
color: (
|
|
237
|
+
'gray',
|
|
238
|
+
900,
|
|
239
|
+
),
|
|
240
|
+
),
|
|
241
|
+
|
|
242
|
+
item-text-color-hover: (
|
|
243
|
+
color: (
|
|
244
|
+
'gray',
|
|
245
|
+
900,
|
|
246
|
+
),
|
|
247
|
+
),
|
|
248
|
+
|
|
249
|
+
item-text-color-active: (
|
|
250
|
+
color: (
|
|
251
|
+
'gray',
|
|
252
|
+
900,
|
|
253
|
+
),
|
|
254
|
+
),
|
|
255
|
+
|
|
256
|
+
item-action-color: (
|
|
257
|
+
color: (
|
|
258
|
+
'gray',
|
|
259
|
+
600,
|
|
260
|
+
),
|
|
261
|
+
),
|
|
262
|
+
|
|
263
|
+
item-action-color-hover: (
|
|
264
|
+
color: (
|
|
265
|
+
'gray',
|
|
266
|
+
600,
|
|
267
|
+
),
|
|
268
|
+
),
|
|
269
|
+
|
|
270
|
+
item-action-color-active: (
|
|
271
|
+
color: (
|
|
272
|
+
'gray',
|
|
273
|
+
600,
|
|
274
|
+
),
|
|
275
|
+
),
|
|
276
|
+
|
|
277
|
+
item-subtitle-color: (
|
|
278
|
+
color: (
|
|
279
|
+
'gray',
|
|
280
|
+
800,
|
|
281
|
+
),
|
|
282
|
+
),
|
|
283
|
+
|
|
284
|
+
item-subtitle-color-hover: (
|
|
285
|
+
color: (
|
|
286
|
+
'gray',
|
|
287
|
+
800,
|
|
288
|
+
),
|
|
289
|
+
),
|
|
290
|
+
|
|
291
|
+
item-subtitle-color-active: (
|
|
292
|
+
color: (
|
|
293
|
+
'gray',
|
|
294
|
+
800,
|
|
295
|
+
),
|
|
296
|
+
),
|
|
297
|
+
|
|
298
|
+
item-thumbnail-color: (
|
|
299
|
+
color: (
|
|
300
|
+
'gray',
|
|
301
|
+
600,
|
|
302
|
+
),
|
|
303
|
+
),
|
|
304
|
+
|
|
305
|
+
item-thumbnail-color-hover: (
|
|
306
|
+
color: (
|
|
307
|
+
'gray',
|
|
308
|
+
600,
|
|
309
|
+
),
|
|
310
|
+
),
|
|
311
|
+
|
|
312
|
+
item-thumbnail-color-active: (
|
|
313
|
+
color: (
|
|
314
|
+
'gray',
|
|
315
|
+
600,
|
|
316
|
+
),
|
|
317
|
+
),
|
|
318
|
+
|
|
319
|
+
item-border-radius: rem(2px),
|
|
320
|
+
)
|
|
321
|
+
);
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../../../../typography/functions' as *;
|
|
3
|
+
@use '../elevation/navdrawer' as *;
|
|
4
|
+
|
|
5
|
+
////
|
|
6
|
+
/// @package theming
|
|
7
|
+
/// @group schemas
|
|
8
|
+
/// @access public
|
|
9
|
+
////
|
|
10
|
+
|
|
11
|
+
/// Generates a light navdrawer schema.
|
|
12
|
+
/// @type {Map}
|
|
13
|
+
/// @prop {Map} background [color: 'surface'] - The navigation drawer background color.
|
|
14
|
+
/// @prop {Map} border-color [color: ('gray', 900, .14)] - The navigation drawer right border color.
|
|
15
|
+
/// @prop {Map} item-header-text-color [color: ('gray', 800)] - The header's idle text color.
|
|
16
|
+
/// @prop {Map} item-text-color [color: ('gray', 700)] - The item's idle text color.
|
|
17
|
+
/// @prop {Map} item-icon-color [ color: ('gray', 700)] - The item's icon color.
|
|
18
|
+
/// @prop {Map} item-active-text-color [color: ('primary', 500)] - The item's active text color.
|
|
19
|
+
/// @prop {Map} item-active-background [color: ('primary', 500, .12)] - The item's active background color.
|
|
20
|
+
/// @prop {Map} item-active-icon-color [color: ('primary', 500)] - The item's icon active color.
|
|
21
|
+
/// @prop {Map} item-hover-background [color: ('gray', 200, .8)] - The item's hover background color.
|
|
22
|
+
/// @prop {Map} item-hover-text-color [color: ('gray', 900)] - The item's hover text color.
|
|
23
|
+
/// @prop {Map} item-hover-icon-color [color: ('gray', 900)] - The item's hover icon color.
|
|
24
|
+
/// @prop {Map} elevation [16] - The elevation level, between 0-24, to be used for the drawer.
|
|
25
|
+
/// @prop {Number} border-radius [0] - The border radius used for the navdrawer component. Can be a fraction between 0 and 1, pixels, or percent.
|
|
26
|
+
/// @prop {Number} item-border-radius [4px] - The border radius used for the navdrawer items. Can be a fraction between 0 and 1, pixels, or percent.
|
|
27
|
+
/// @requires {Map} $default-elevation-navdrawer
|
|
28
|
+
$light-navdrawer: extend(
|
|
29
|
+
$default-elevation-navdrawer,
|
|
30
|
+
(
|
|
31
|
+
background: (
|
|
32
|
+
color: 'surface',
|
|
33
|
+
),
|
|
34
|
+
|
|
35
|
+
border-color: (
|
|
36
|
+
color: (
|
|
37
|
+
'gray',
|
|
38
|
+
900,
|
|
39
|
+
0.14,
|
|
40
|
+
),
|
|
41
|
+
),
|
|
42
|
+
|
|
43
|
+
item-header-text-color: (
|
|
44
|
+
color: (
|
|
45
|
+
'gray',
|
|
46
|
+
800,
|
|
47
|
+
),
|
|
48
|
+
),
|
|
49
|
+
|
|
50
|
+
item-text-color: (
|
|
51
|
+
color: (
|
|
52
|
+
'gray',
|
|
53
|
+
700,
|
|
54
|
+
),
|
|
55
|
+
),
|
|
56
|
+
|
|
57
|
+
item-icon-color: (
|
|
58
|
+
color: (
|
|
59
|
+
'gray',
|
|
60
|
+
700,
|
|
61
|
+
),
|
|
62
|
+
),
|
|
63
|
+
|
|
64
|
+
item-active-text-color: (
|
|
65
|
+
color: (
|
|
66
|
+
'primary',
|
|
67
|
+
500,
|
|
68
|
+
),
|
|
69
|
+
),
|
|
70
|
+
|
|
71
|
+
item-active-background: (
|
|
72
|
+
color: (
|
|
73
|
+
'primary',
|
|
74
|
+
500,
|
|
75
|
+
0.12,
|
|
76
|
+
),
|
|
77
|
+
),
|
|
78
|
+
|
|
79
|
+
item-hover-background: (
|
|
80
|
+
color: (
|
|
81
|
+
'gray',
|
|
82
|
+
200,
|
|
83
|
+
0.8,
|
|
84
|
+
),
|
|
85
|
+
),
|
|
86
|
+
|
|
87
|
+
item-hover-text-color: (
|
|
88
|
+
color: (
|
|
89
|
+
'gray',
|
|
90
|
+
900,
|
|
91
|
+
),
|
|
92
|
+
),
|
|
93
|
+
|
|
94
|
+
item-active-icon-color: (
|
|
95
|
+
color: (
|
|
96
|
+
'primary',
|
|
97
|
+
500,
|
|
98
|
+
),
|
|
99
|
+
),
|
|
100
|
+
|
|
101
|
+
item-hover-icon-color: (
|
|
102
|
+
color: (
|
|
103
|
+
'gray',
|
|
104
|
+
900,
|
|
105
|
+
),
|
|
106
|
+
),
|
|
107
|
+
|
|
108
|
+
border-radius: rem(0),
|
|
109
|
+
item-border-radius: rem(4px),
|
|
110
|
+
)
|
|
111
|
+
);
|
|
112
|
+
|
|
113
|
+
/// Generates a fluent navdrawer schema.
|
|
114
|
+
/// @type {Map}
|
|
115
|
+
/// @requires {Map} $light-navdrawer
|
|
116
|
+
$fluent-navdrawer: $light-navdrawer;
|
|
117
|
+
|
|
118
|
+
/// Generates a bootstrap navdrawer schema.
|
|
119
|
+
/// @type {Map}
|
|
120
|
+
/// @requires {Map} $light-navdrawer
|
|
121
|
+
$bootstrap-navdrawer: $light-navdrawer;
|
|
122
|
+
|
|
123
|
+
/// Generates an indigo navdrawer schema.
|
|
124
|
+
/// @type {Map}
|
|
125
|
+
/// @prop {Map} background [color: ('gray', 700)] - The navigation drawer background color.
|
|
126
|
+
/// @prop {Map} item-header-text-color [contrast-color: ('gray', 700)] - The header's idle text color.
|
|
127
|
+
/// @prop {Map} item-text-color [contrast-color: ('gray', 700, .8)] - The item's idle text color.
|
|
128
|
+
/// @prop {Map} item-icon-color [contrast-color: ('gray', 700, .8)] - The item's icon color.
|
|
129
|
+
/// @prop {Map} item-active-text-color [contrast-color: ('gray', 700)] - The item's active text color.
|
|
130
|
+
/// @prop {Map} item-active-background [contrast-color: ('gray', 700, .1)] - The item's active background color.
|
|
131
|
+
/// @prop {Map} item-active-icon-color [contrast-color: ('gray', 700)] - The item's icon active color.
|
|
132
|
+
/// @prop {Map} item-hover-background [transparent] - The item's hover background color.
|
|
133
|
+
/// @prop {Map} item-hover-text-color [contrast-color: ('gray', 700)] - The item's hover text color.
|
|
134
|
+
/// @prop {Map} item-hover-icon-color [contrast-color: ('gray', 700)] - The item's hover icon color.
|
|
135
|
+
/// @prop {Map} elevation [0] - The elevation level, between 0-24, to be used for the drawer.
|
|
136
|
+
/// @prop {Number} border-radius [0] - The border radius used for the navdrawer component. Can be a fraction between 0 and 1, pixels, or percent.
|
|
137
|
+
/// @prop {Number} item-border-radius [24px] - The border radius used for the navdrawer items. Can be a fraction between 0 and 1, pixels, or percent.
|
|
138
|
+
/// @requires {Map} $light-navdrawer
|
|
139
|
+
/// @requires {Map} $indigo-elevation-navdrawer
|
|
140
|
+
$indigo-navdrawer: extend(
|
|
141
|
+
$light-navdrawer,
|
|
142
|
+
$indigo-elevation-navdrawer,
|
|
143
|
+
(
|
|
144
|
+
background: (
|
|
145
|
+
color: (
|
|
146
|
+
'gray',
|
|
147
|
+
700,
|
|
148
|
+
),
|
|
149
|
+
),
|
|
150
|
+
|
|
151
|
+
item-header-text-color: (
|
|
152
|
+
color: (
|
|
153
|
+
'gray',
|
|
154
|
+
50,
|
|
155
|
+
),
|
|
156
|
+
),
|
|
157
|
+
|
|
158
|
+
item-text-color: (
|
|
159
|
+
color: (
|
|
160
|
+
'gray',
|
|
161
|
+
300,
|
|
162
|
+
0.8,
|
|
163
|
+
),
|
|
164
|
+
),
|
|
165
|
+
|
|
166
|
+
item-icon-color: (
|
|
167
|
+
color: (
|
|
168
|
+
'gray',
|
|
169
|
+
300,
|
|
170
|
+
0.8,
|
|
171
|
+
),
|
|
172
|
+
),
|
|
173
|
+
|
|
174
|
+
item-active-background: (
|
|
175
|
+
color: (
|
|
176
|
+
'gray',
|
|
177
|
+
600,
|
|
178
|
+
0.8,
|
|
179
|
+
),
|
|
180
|
+
),
|
|
181
|
+
|
|
182
|
+
item-active-text-color: (
|
|
183
|
+
color: (
|
|
184
|
+
'gray',
|
|
185
|
+
50,
|
|
186
|
+
),
|
|
187
|
+
),
|
|
188
|
+
|
|
189
|
+
item-active-icon-color: (
|
|
190
|
+
color: (
|
|
191
|
+
'gray',
|
|
192
|
+
50,
|
|
193
|
+
),
|
|
194
|
+
),
|
|
195
|
+
|
|
196
|
+
item-hover-background: transparent,
|
|
197
|
+
|
|
198
|
+
item-hover-text-color: (
|
|
199
|
+
color: (
|
|
200
|
+
'gray',
|
|
201
|
+
100,
|
|
202
|
+
),
|
|
203
|
+
),
|
|
204
|
+
|
|
205
|
+
item-hover-icon-color: (
|
|
206
|
+
color: (
|
|
207
|
+
'gray',
|
|
208
|
+
100,
|
|
209
|
+
),
|
|
210
|
+
),
|
|
211
|
+
|
|
212
|
+
item-border-radius: rem(24px),
|
|
213
|
+
)
|
|
214
|
+
);
|
|
@@ -0,0 +1,42 @@
|
|
|
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 overlay schema.
|
|
11
|
+
/// @type {Map}
|
|
12
|
+
/// @prop {Map} background-color [color: ('gray', 500, .54)] - The background color used for modal overlays.
|
|
13
|
+
$light-overlay: (
|
|
14
|
+
background-color: (
|
|
15
|
+
color: (
|
|
16
|
+
'gray',
|
|
17
|
+
500,
|
|
18
|
+
0.54,
|
|
19
|
+
),
|
|
20
|
+
),
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
/// Generates a fluent overlay schema.
|
|
24
|
+
/// @type {Map}
|
|
25
|
+
/// @prop {Color} background-color [rgba(255, 255, 255, .4)] - The background color used for modal overlays.
|
|
26
|
+
/// @requires {Map} $light-overlay
|
|
27
|
+
$fluent-overlay: extend(
|
|
28
|
+
$light-overlay,
|
|
29
|
+
(
|
|
30
|
+
background-color: rgb(255 255 255 / 40%),
|
|
31
|
+
)
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
/// Generates a bootstrap overlay schema.
|
|
35
|
+
/// @type {Map}
|
|
36
|
+
/// @requires {Map} $light-overlay
|
|
37
|
+
$bootstrap-overlay: $light-overlay;
|
|
38
|
+
|
|
39
|
+
/// Generates an indigo overlay schema.
|
|
40
|
+
/// @type {Map}
|
|
41
|
+
/// @requires {Map} $light-overlay
|
|
42
|
+
$indigo-overlay: $light-overlay;
|
|
@@ -0,0 +1,97 @@
|
|
|
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 pagination schema.
|
|
11
|
+
/// @type {Map}
|
|
12
|
+
/// @prop {Map} text-color [color: ('gray', 800)] - The text color.
|
|
13
|
+
/// @prop {Map} background-color [color: ('gray', 100)] - The background color of the paging panel.
|
|
14
|
+
/// @prop {Map} border-color [color: ('gray', 200)] - The border color of the paging panel.
|
|
15
|
+
$light-pagination: (
|
|
16
|
+
text-color: (
|
|
17
|
+
color: (
|
|
18
|
+
'gray',
|
|
19
|
+
800,
|
|
20
|
+
),
|
|
21
|
+
),
|
|
22
|
+
|
|
23
|
+
background-color: (
|
|
24
|
+
color: (
|
|
25
|
+
'gray',
|
|
26
|
+
100,
|
|
27
|
+
),
|
|
28
|
+
),
|
|
29
|
+
|
|
30
|
+
border-color: (
|
|
31
|
+
color: (
|
|
32
|
+
'gray',
|
|
33
|
+
200,
|
|
34
|
+
),
|
|
35
|
+
),
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
/// Generates a light pagination schema.
|
|
39
|
+
/// @type {Map}
|
|
40
|
+
/// @prop {Map} background-color [color: 'surface'] - The background color of the paging panel.
|
|
41
|
+
/// @prop {Map} border-color [color: ('gray', 100)] - The border color of the paging panel.
|
|
42
|
+
/// @requires {Map} $light-pagination
|
|
43
|
+
$fluent-pagination: extend(
|
|
44
|
+
$light-pagination,
|
|
45
|
+
(
|
|
46
|
+
background-color: (
|
|
47
|
+
color: 'surface',
|
|
48
|
+
),
|
|
49
|
+
|
|
50
|
+
border-color: (
|
|
51
|
+
color: (
|
|
52
|
+
'gray',
|
|
53
|
+
100,
|
|
54
|
+
),
|
|
55
|
+
),
|
|
56
|
+
)
|
|
57
|
+
);
|
|
58
|
+
|
|
59
|
+
/// Generates a bootstrap pagination schema.
|
|
60
|
+
/// @type {Map}
|
|
61
|
+
/// @prop {Map} background-color [color: ('gray', 50)] - The background color of the paging panel.
|
|
62
|
+
/// @requires {Map} $light-pagination
|
|
63
|
+
$bootstrap-pagination: extend(
|
|
64
|
+
$light-pagination,
|
|
65
|
+
(
|
|
66
|
+
background-color: (
|
|
67
|
+
color: (
|
|
68
|
+
'gray',
|
|
69
|
+
50,
|
|
70
|
+
),
|
|
71
|
+
),
|
|
72
|
+
)
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
/// Generates an indigo pagination schema.
|
|
76
|
+
/// @type {Map}
|
|
77
|
+
/// @prop {Map} text-color [color: ('gray', 700)] - The text color.
|
|
78
|
+
/// @prop {Map} border-color [color: ('gray', 100)] - The border color of the paging panel.
|
|
79
|
+
/// @requires {Map} $light-pagination
|
|
80
|
+
$indigo-pagination: extend(
|
|
81
|
+
$light-pagination,
|
|
82
|
+
(
|
|
83
|
+
text-color: (
|
|
84
|
+
color: (
|
|
85
|
+
'gray',
|
|
86
|
+
700,
|
|
87
|
+
),
|
|
88
|
+
),
|
|
89
|
+
|
|
90
|
+
border-color: (
|
|
91
|
+
color: (
|
|
92
|
+
'gray',
|
|
93
|
+
100,
|
|
94
|
+
),
|
|
95
|
+
),
|
|
96
|
+
)
|
|
97
|
+
);
|