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,684 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../light/grid' as *;
|
|
3
|
+
|
|
4
|
+
////
|
|
5
|
+
/// @package theming
|
|
6
|
+
/// @group schemas
|
|
7
|
+
/// @access public
|
|
8
|
+
////
|
|
9
|
+
|
|
10
|
+
/// Generates the base dark grid schema.
|
|
11
|
+
/// @type {Map}
|
|
12
|
+
/// @prop {Color} content-background [color: 'surface'] - The table body background color.
|
|
13
|
+
/// @prop {Map} drop-area-background [color: ('gray', 100, .4)] - The drop area background color.
|
|
14
|
+
/// @prop {Map} header-border-color [color: ('gray', 200, .24)] - The color used for header borders.
|
|
15
|
+
/// @prop {Map} header-background [color: ('gray', 100)] - The table header background color.
|
|
16
|
+
/// @prop {Map} header-selected-background [color: ('secondary', 600)] - The table header background color when selected (ex. column selection).
|
|
17
|
+
/// @prop {Map} header-selected-text-color [contrast-color: ('secondary', 600)] - The table header text color when selected (ex. column selection).
|
|
18
|
+
/// @prop {Map} row-border-color [color: ('gray', 200, .24)] - The row bottom border color.
|
|
19
|
+
/// @prop {Map} row-hover-background [color: ('gray', 100)] - The hover row background color.
|
|
20
|
+
/// @prop {Map} row-hover-text-color [contrast-color: ('gray', 100)] - The hover row text color.
|
|
21
|
+
/// @prop {Map} row-selected-background [color: ('secondary', 'A700')] - The selected row background color.
|
|
22
|
+
/// @prop {Map} row-selected-hover-background [color: ('secondary', 'A400')] - The selected row background color on hover.
|
|
23
|
+
/// @prop {Map} row-selected-text-color [contrast-color: ('secondary', 'A700')] - The selected row text color.
|
|
24
|
+
/// @prop {Map} row-selected-hover-text-color [contrast-color: ('secondary', 'A400')] - The selected row hover text color.
|
|
25
|
+
/// @prop {Map} row-highlight [color: ('secondary', 500)] - The highlight color of a row.
|
|
26
|
+
/// @prop {Map} row-ghost-background [color: ('primary', 900)] - The dragged row background color.
|
|
27
|
+
/// @prop {Map} cell-selected-background [color: ('gray', 100)] - The selected cell background color.
|
|
28
|
+
/// @prop {Map} cell-selected-text-color [contrast-color: ('gray', 100)] - The selected cell text color.
|
|
29
|
+
/// @prop {Map} cell-selected-within-background [color: ('secondary', 'A400')] - The background of the selected cell inside a selected row/column.
|
|
30
|
+
/// @prop {Map} cell-selected-within-text-color [contrast-color: ('secondary', 'A400')] - The color of the selected cell inside a selected row/column.
|
|
31
|
+
/// @prop {Map} grouparea-background [color: ('gray', 50)] - The grid group area background color.
|
|
32
|
+
/// @prop {Map} group-row-background [color: ('gray', 50)] - The grid group row background color.
|
|
33
|
+
/// @prop {Map} group-row-selected-background [color: ('gray', 100)] - The drop area background on drop color.
|
|
34
|
+
/// @prop {Map} body-summaries-background [color: ('gray', 100)] - The background color of the summary groups located the body.
|
|
35
|
+
/// @prop {Map} body-summaries-text-color [contrast-color: ('gray', 100)] - The text color of the summary groups located the body.
|
|
36
|
+
/// @prop {Map} root-summaries-background [color: ('gray', 50)] - The background color of the summary groups located the footer.
|
|
37
|
+
/// @prop {Map} root-summaries-text-color [contrast-color: ('gray', 200)] - The text color of the summary groups located the footer.
|
|
38
|
+
$base-dark-grid: (
|
|
39
|
+
content-background: (
|
|
40
|
+
color: 'surface',
|
|
41
|
+
),
|
|
42
|
+
|
|
43
|
+
drop-area-background: (
|
|
44
|
+
color: (
|
|
45
|
+
'gray',
|
|
46
|
+
100,
|
|
47
|
+
0.4,
|
|
48
|
+
),
|
|
49
|
+
),
|
|
50
|
+
|
|
51
|
+
header-border-color: (
|
|
52
|
+
color: (
|
|
53
|
+
'gray',
|
|
54
|
+
200,
|
|
55
|
+
0.24,
|
|
56
|
+
),
|
|
57
|
+
),
|
|
58
|
+
|
|
59
|
+
header-background: (
|
|
60
|
+
color: (
|
|
61
|
+
'gray',
|
|
62
|
+
100,
|
|
63
|
+
),
|
|
64
|
+
),
|
|
65
|
+
|
|
66
|
+
header-selected-background: (
|
|
67
|
+
color: (
|
|
68
|
+
'secondary',
|
|
69
|
+
600,
|
|
70
|
+
),
|
|
71
|
+
),
|
|
72
|
+
|
|
73
|
+
header-selected-text-color: (
|
|
74
|
+
contrast-color: (
|
|
75
|
+
'secondary',
|
|
76
|
+
600,
|
|
77
|
+
),
|
|
78
|
+
),
|
|
79
|
+
|
|
80
|
+
row-border-color: (
|
|
81
|
+
color: (
|
|
82
|
+
'gray',
|
|
83
|
+
200,
|
|
84
|
+
0.24,
|
|
85
|
+
),
|
|
86
|
+
),
|
|
87
|
+
|
|
88
|
+
row-hover-background: (
|
|
89
|
+
color: (
|
|
90
|
+
'gray',
|
|
91
|
+
100,
|
|
92
|
+
),
|
|
93
|
+
),
|
|
94
|
+
|
|
95
|
+
row-hover-text-color: (
|
|
96
|
+
contrast-color: (
|
|
97
|
+
'gray',
|
|
98
|
+
100,
|
|
99
|
+
),
|
|
100
|
+
),
|
|
101
|
+
|
|
102
|
+
row-selected-background: (
|
|
103
|
+
color: (
|
|
104
|
+
'secondary',
|
|
105
|
+
'A700',
|
|
106
|
+
),
|
|
107
|
+
),
|
|
108
|
+
|
|
109
|
+
row-selected-hover-background: (
|
|
110
|
+
color: (
|
|
111
|
+
'secondary',
|
|
112
|
+
'A400',
|
|
113
|
+
),
|
|
114
|
+
),
|
|
115
|
+
|
|
116
|
+
row-selected-text-color: (
|
|
117
|
+
contrast-color: (
|
|
118
|
+
'secondary',
|
|
119
|
+
'A700',
|
|
120
|
+
),
|
|
121
|
+
),
|
|
122
|
+
|
|
123
|
+
row-selected-hover-text-color: (
|
|
124
|
+
contrast-color: (
|
|
125
|
+
'secondary',
|
|
126
|
+
'A400',
|
|
127
|
+
),
|
|
128
|
+
),
|
|
129
|
+
|
|
130
|
+
row-highlight: (
|
|
131
|
+
color: (
|
|
132
|
+
'secondary',
|
|
133
|
+
500,
|
|
134
|
+
),
|
|
135
|
+
),
|
|
136
|
+
|
|
137
|
+
row-ghost-background: (
|
|
138
|
+
color: (
|
|
139
|
+
'primary',
|
|
140
|
+
900,
|
|
141
|
+
),
|
|
142
|
+
),
|
|
143
|
+
|
|
144
|
+
cell-selected-within-background: (
|
|
145
|
+
color: (
|
|
146
|
+
'secondary',
|
|
147
|
+
'A400',
|
|
148
|
+
),
|
|
149
|
+
),
|
|
150
|
+
|
|
151
|
+
cell-selected-within-text-color: (
|
|
152
|
+
contrast-color: (
|
|
153
|
+
'secondary',
|
|
154
|
+
'A400',
|
|
155
|
+
),
|
|
156
|
+
),
|
|
157
|
+
|
|
158
|
+
cell-selected-background: (
|
|
159
|
+
color: (
|
|
160
|
+
'gray',
|
|
161
|
+
100,
|
|
162
|
+
),
|
|
163
|
+
),
|
|
164
|
+
|
|
165
|
+
cell-selected-text-color: (
|
|
166
|
+
contrast-color: (
|
|
167
|
+
'gray',
|
|
168
|
+
100,
|
|
169
|
+
),
|
|
170
|
+
),
|
|
171
|
+
|
|
172
|
+
grouparea-background: (
|
|
173
|
+
color: (
|
|
174
|
+
'gray',
|
|
175
|
+
50,
|
|
176
|
+
),
|
|
177
|
+
),
|
|
178
|
+
|
|
179
|
+
group-row-background: (
|
|
180
|
+
color: (
|
|
181
|
+
'gray',
|
|
182
|
+
50,
|
|
183
|
+
),
|
|
184
|
+
),
|
|
185
|
+
|
|
186
|
+
group-row-selected-background: (
|
|
187
|
+
color: (
|
|
188
|
+
'gray',
|
|
189
|
+
100,
|
|
190
|
+
),
|
|
191
|
+
),
|
|
192
|
+
|
|
193
|
+
body-summaries-background: (
|
|
194
|
+
color: (
|
|
195
|
+
'gray',
|
|
196
|
+
50,
|
|
197
|
+
),
|
|
198
|
+
),
|
|
199
|
+
|
|
200
|
+
body-summaries-text-color: (
|
|
201
|
+
contrast-color: (
|
|
202
|
+
'gray',
|
|
203
|
+
50,
|
|
204
|
+
),
|
|
205
|
+
),
|
|
206
|
+
|
|
207
|
+
root-summaries-background: (
|
|
208
|
+
color: (
|
|
209
|
+
'gray',
|
|
210
|
+
50,
|
|
211
|
+
),
|
|
212
|
+
),
|
|
213
|
+
|
|
214
|
+
root-summaries-text-color: (
|
|
215
|
+
contrast-color: (
|
|
216
|
+
'gray',
|
|
217
|
+
50,
|
|
218
|
+
),
|
|
219
|
+
),
|
|
220
|
+
);
|
|
221
|
+
|
|
222
|
+
/// Generates a dark grid schema based on a mix of $light-grid and $base-dark-grid.
|
|
223
|
+
/// @type {Map}
|
|
224
|
+
/// @requires $light-grid
|
|
225
|
+
/// @requires $base-dark-grid
|
|
226
|
+
$dark-grid: extend($light-grid, $base-dark-grid);
|
|
227
|
+
|
|
228
|
+
/// Generates a dark fluent grid schema based on a mix of $fluent-grid and $base-dark-grid.
|
|
229
|
+
/// @prop {Map} header-selected-background [color: ('gray', 200)] - The table header background color when selected (ex. column selection).
|
|
230
|
+
/// @prop {Map} header-selected-text-color [contrast-color: ('gray', 200)] - The table header text color when selected (ex. column selection).
|
|
231
|
+
/// @prop {Map} row-hover-background [color: ('gray', 100)] - The hover row background color.
|
|
232
|
+
/// @prop {Map} row-selected-background [color: ('gray', 100)] - The selected row background color.
|
|
233
|
+
/// @prop {Map} row-selected-hover-background [color: ('gray', 200)] - The selected row background color on hover.
|
|
234
|
+
/// @prop {Map} row-selected-hover-text-color [contrast-color: ('gray', 200)] - The selected row hover text color.
|
|
235
|
+
/// @prop {Map} cell-selected-within-background [color: ('gray', 200)] - The background of the selected cell inside a selected row/column.
|
|
236
|
+
/// @prop {Map} cell-selected-within-text-color [contrast-color: ('gray', 200)] - The color of the selected cell inside a selected row/column.
|
|
237
|
+
/// @prop {Map} group-row-background [color: ('gray', 100, .5)] - The grid group row background color.
|
|
238
|
+
/// @prop {Map} group-row-selected-background [color: ('gray', 100)] - The drop area background on drop color.
|
|
239
|
+
///
|
|
240
|
+
/// @requires $fluent-grid
|
|
241
|
+
/// @requires $base-dark-grid
|
|
242
|
+
$dark-fluent-grid: extend(
|
|
243
|
+
$fluent-grid,
|
|
244
|
+
$base-dark-grid,
|
|
245
|
+
(
|
|
246
|
+
header-selected-background: (
|
|
247
|
+
color: (
|
|
248
|
+
'gray',
|
|
249
|
+
200,
|
|
250
|
+
),
|
|
251
|
+
),
|
|
252
|
+
|
|
253
|
+
header-selected-text-color: (
|
|
254
|
+
contrast-color: (
|
|
255
|
+
'gray',
|
|
256
|
+
200,
|
|
257
|
+
),
|
|
258
|
+
),
|
|
259
|
+
|
|
260
|
+
row-hover-background: (
|
|
261
|
+
color: (
|
|
262
|
+
'gray',
|
|
263
|
+
100,
|
|
264
|
+
),
|
|
265
|
+
),
|
|
266
|
+
|
|
267
|
+
pinned-border-color: (
|
|
268
|
+
color: (
|
|
269
|
+
'gray',
|
|
270
|
+
300,
|
|
271
|
+
0.24,
|
|
272
|
+
),
|
|
273
|
+
),
|
|
274
|
+
|
|
275
|
+
row-selected-background: (
|
|
276
|
+
color: (
|
|
277
|
+
'gray',
|
|
278
|
+
100,
|
|
279
|
+
),
|
|
280
|
+
),
|
|
281
|
+
|
|
282
|
+
row-selected-hover-text-color: (
|
|
283
|
+
contrast-color: (
|
|
284
|
+
'gray',
|
|
285
|
+
200,
|
|
286
|
+
),
|
|
287
|
+
),
|
|
288
|
+
|
|
289
|
+
cell-selected-within-background: (
|
|
290
|
+
color: (
|
|
291
|
+
'gray',
|
|
292
|
+
200,
|
|
293
|
+
),
|
|
294
|
+
),
|
|
295
|
+
|
|
296
|
+
cell-selected-within-text-color: (
|
|
297
|
+
contrast-color: (
|
|
298
|
+
'gray',
|
|
299
|
+
200,
|
|
300
|
+
),
|
|
301
|
+
),
|
|
302
|
+
|
|
303
|
+
row-selected-hover-background: (
|
|
304
|
+
color: (
|
|
305
|
+
'gray',
|
|
306
|
+
200,
|
|
307
|
+
),
|
|
308
|
+
),
|
|
309
|
+
|
|
310
|
+
group-row-background: (
|
|
311
|
+
color: (
|
|
312
|
+
'gray',
|
|
313
|
+
100,
|
|
314
|
+
0.5,
|
|
315
|
+
),
|
|
316
|
+
),
|
|
317
|
+
|
|
318
|
+
group-row-selected-background: (
|
|
319
|
+
color: (
|
|
320
|
+
'gray',
|
|
321
|
+
100,
|
|
322
|
+
),
|
|
323
|
+
),
|
|
324
|
+
)
|
|
325
|
+
);
|
|
326
|
+
|
|
327
|
+
/// Generates a dark bootstrap grid schema based on a mix of $bootstrap-grid and $base-dark-grid.
|
|
328
|
+
/// @type {Map}
|
|
329
|
+
/// @prop {Map} group-row-background [color: 'surface'] - The grid group row background color.
|
|
330
|
+
/// @prop {Map} group-row-selected-background [color: 'surface'] - The drop area background on drop color.
|
|
331
|
+
/// @prop {Map} header-background [color: ('gray', 50)] - The table header background color.
|
|
332
|
+
/// @prop {Map} content-background [color: ('gray', 50)] - The table body background color.
|
|
333
|
+
/// @prop {Map} drop-area-background [color: ('gray', 100, .5)] - The drop area background color.
|
|
334
|
+
/// @prop {Map} grouparea-background [color: 'surface'] - The grid group area background color.
|
|
335
|
+
/// @prop {Map} grouparea-color [contrast-color: 'surface'] - The grid group area color.
|
|
336
|
+
/// @prop {Map} root-summaries-background [color: ('gray', 100)] - The background color of the summary groups located the footer.
|
|
337
|
+
/// @requires $bootstrap-grid
|
|
338
|
+
/// @requires $base-dark-grid
|
|
339
|
+
$dark-bootstrap-grid: extend(
|
|
340
|
+
$bootstrap-grid,
|
|
341
|
+
$base-dark-grid,
|
|
342
|
+
(
|
|
343
|
+
root-summaries-background: (
|
|
344
|
+
color: (
|
|
345
|
+
'gray',
|
|
346
|
+
100,
|
|
347
|
+
),
|
|
348
|
+
),
|
|
349
|
+
|
|
350
|
+
group-row-background: (
|
|
351
|
+
color: 'surface',
|
|
352
|
+
),
|
|
353
|
+
|
|
354
|
+
group-row-selected-background: (
|
|
355
|
+
color: 'surface',
|
|
356
|
+
),
|
|
357
|
+
|
|
358
|
+
header-background: (
|
|
359
|
+
color: (
|
|
360
|
+
'gray',
|
|
361
|
+
50,
|
|
362
|
+
),
|
|
363
|
+
),
|
|
364
|
+
|
|
365
|
+
content-background: (
|
|
366
|
+
color: (
|
|
367
|
+
'gray',
|
|
368
|
+
50,
|
|
369
|
+
),
|
|
370
|
+
),
|
|
371
|
+
|
|
372
|
+
drop-area-background: (
|
|
373
|
+
color: (
|
|
374
|
+
'gray',
|
|
375
|
+
100,
|
|
376
|
+
0.5,
|
|
377
|
+
),
|
|
378
|
+
),
|
|
379
|
+
)
|
|
380
|
+
);
|
|
381
|
+
|
|
382
|
+
/// Generates a dark indigo grid schema.
|
|
383
|
+
/// @type {Map}
|
|
384
|
+
///
|
|
385
|
+
/// @prop {Map} content-background [color: 'surface'] - The table body background color.
|
|
386
|
+
/// @prop {Map} header-background [color: 'surface'] - The table header background color.
|
|
387
|
+
/// @prop {Map} header-border-color [color: ('gray', 100, .24)] - The color used for header borders.
|
|
388
|
+
/// @prop {MAp} header-text-color [contrast-color: 'surface'] - The table header text color.
|
|
389
|
+
/// @prop {Map} header-selected-background [color: 'primary'] - The table header background color when selected (ex. column selection).
|
|
390
|
+
/// @prop {Map} header-selected-text-color [contrast-color: 'primary'] - The table header text color when selected (ex. column selection).
|
|
391
|
+
/// @prop {Map} sorted-header-icon-color [contrast-color: 'surface'] - The sorted table header icon color.
|
|
392
|
+
/// @prop {Map} sortable-header-icon-hover-color [contrast-color: 'surface'] - The icon color on hover in grid header when the column is sortable.
|
|
393
|
+
/// @prop {Map} filtering-header-background [color: ('gray', 100)] - The background color of the filtered column header.
|
|
394
|
+
/// @prop {Map} filtering-header-text-color [contrast-color: ('gray', 100)] - The text color color of the filtered column header.
|
|
395
|
+
/// @prop {Map} filtering-row-background [color: 'surface'] - The background color of the filtering row.
|
|
396
|
+
/// @prop {Map} pinned-border-color [color: ('primary', 200)] - The color of the pinned border.
|
|
397
|
+
/// @prop {Map} drop-area-background [color: ('gray', 200)] - The drop area background color.
|
|
398
|
+
/// @prop {Map} drop-area-text-color [contrast-color: ('gray', 200)] - The drop area text color.
|
|
399
|
+
/// @prop {Map} drop-area-icon-color [contrast-color: ('gray', 200)] - The drop area icon color.
|
|
400
|
+
/// @prop {Map} row-odd-background [color: ('gray', 100)] - The background color of odd rows.
|
|
401
|
+
/// @prop {Map} row-even-background [color: ('gray', 100)] - The background color of even rows.
|
|
402
|
+
/// @prop {Map} row-border-color [color: ('gray', 50, .24)] - The row bottom border color.
|
|
403
|
+
/// @prop {Map} row-hover-background [color: ('primary', 200)] - The hover row background color.
|
|
404
|
+
/// @prop {Map} row-hover-text-color [contrast-color: ('gray', 200)] - The hover row text color.
|
|
405
|
+
/// @prop {Map} row-selected-background [color: 'primary'] - The selected row background color.
|
|
406
|
+
/// @prop {Map} row-selected-text-color [contrast-color: 'primary'] - The selected row text color.
|
|
407
|
+
/// @prop {Map} row-selected-hover-background [color: ('primary', 400)] - The selected row hover background.
|
|
408
|
+
/// @prop {Map} row-selected-hover-text-color [contrast-color: ('primary', 400)] - The selected row text color.
|
|
409
|
+
/// @prop {Map} group-row-background [color: 'surface'] - The grid group row background color.
|
|
410
|
+
/// @prop {Map} group-row-selected-background [color: ('gray', 200)] - The drop area background on drop color.
|
|
411
|
+
/// @prop {Map} group-count-text-color [contrast-color: ('primary', 300)] - The grid group row cont badge text color.
|
|
412
|
+
/// @prop {Map} group-label-column-name-text [contrast-color: 'surface'] - The grid group row column name text color.
|
|
413
|
+
/// @prop {Map} group-label-icon [contrast-color: 'surface'] - The grid group row icon color.
|
|
414
|
+
/// @prop {Map} group-label-text [color: ('gray', 700)] - The grid group row text color.
|
|
415
|
+
/// @prop {Map} cell-selected-within-background [color: ('primary', 400)] - The background of the selected cell inside a selected row/column.
|
|
416
|
+
/// @prop {Map} cell-selected-within-text-color [contrast-color: ('primary', 400)] - The color of the selected cell inside a selected row/column.
|
|
417
|
+
/// @prop {Map} cell-selected-background [color: ('primary', 400)] - The selected cell background color.
|
|
418
|
+
/// @prop {Map} cell-selected-text-color [contrast-color: ('primary', 400), to-opaque: (color: 'surface'), text-contrast: ()] - The selected cell text color.
|
|
419
|
+
/// @prop {Map} cell-active-border-color [contrast-color: 'surface'] - The active(focused) cell border color.
|
|
420
|
+
/// @prop {Map} cell-editing-background [color: 'surface'] - The background for the cell in editing mode.
|
|
421
|
+
/// @prop {Map} grouparea-background [color: 'surface'] - The grid group area background color.
|
|
422
|
+
/// @prop {Map} grouparea-color [contrast-color: 'surface'] - The grid group area color.
|
|
423
|
+
/// @prop {Map} root-summaries-background [color: 'surface'] - The background color of the summary groups located the footer.
|
|
424
|
+
/// @prop {Map} root-summaries-text-color [contrast-color: 'surface'] - The text color of the summary groups located the footer.
|
|
425
|
+
/// @prop {Map} body-summaries-background [color: 'surface'] - The background color of the summary groups located the body.
|
|
426
|
+
/// @prop {Map} body-summaries-text-color [contrast-color: 'surface'] - The text color of the summary groups located the body.
|
|
427
|
+
/// @prop {Map} expand-icon-color [color: ('gray', 600)] - The grid row expand icon color.
|
|
428
|
+
/// @prop {Map} expand-icon-hover-color [color: ('gray', 900)] - The grid row expand icon hover color.
|
|
429
|
+
///
|
|
430
|
+
/// @requires $indigo-grid
|
|
431
|
+
$dark-indigo-grid: extend(
|
|
432
|
+
$indigo-grid,
|
|
433
|
+
(
|
|
434
|
+
content-background: (
|
|
435
|
+
color: 'surface',
|
|
436
|
+
),
|
|
437
|
+
|
|
438
|
+
header-background: (
|
|
439
|
+
color: 'surface',
|
|
440
|
+
),
|
|
441
|
+
|
|
442
|
+
header-border-color: (
|
|
443
|
+
color: (
|
|
444
|
+
'gray',
|
|
445
|
+
100,
|
|
446
|
+
0.24,
|
|
447
|
+
),
|
|
448
|
+
),
|
|
449
|
+
|
|
450
|
+
header-text-color: (
|
|
451
|
+
contrast-color: 'surface',
|
|
452
|
+
),
|
|
453
|
+
|
|
454
|
+
header-selected-background: (
|
|
455
|
+
color: 'primary',
|
|
456
|
+
),
|
|
457
|
+
|
|
458
|
+
header-selected-text-color: (
|
|
459
|
+
contrast-color: 'primary',
|
|
460
|
+
),
|
|
461
|
+
|
|
462
|
+
sorted-header-icon-color: (
|
|
463
|
+
contrast-color: 'surface',
|
|
464
|
+
),
|
|
465
|
+
|
|
466
|
+
sortable-header-icon-hover-color: (
|
|
467
|
+
contrast-color: 'surface',
|
|
468
|
+
),
|
|
469
|
+
|
|
470
|
+
filtering-header-background: (
|
|
471
|
+
color: (
|
|
472
|
+
'gray',
|
|
473
|
+
100,
|
|
474
|
+
),
|
|
475
|
+
),
|
|
476
|
+
|
|
477
|
+
filtering-header-text-color: (
|
|
478
|
+
contrast-color: (
|
|
479
|
+
'gray',
|
|
480
|
+
100,
|
|
481
|
+
),
|
|
482
|
+
),
|
|
483
|
+
|
|
484
|
+
filtering-row-background: (
|
|
485
|
+
color: 'surface',
|
|
486
|
+
),
|
|
487
|
+
|
|
488
|
+
pinned-border-color: (
|
|
489
|
+
color: (
|
|
490
|
+
'primary',
|
|
491
|
+
200,
|
|
492
|
+
),
|
|
493
|
+
),
|
|
494
|
+
|
|
495
|
+
drop-area-background: (
|
|
496
|
+
color: (
|
|
497
|
+
'gray',
|
|
498
|
+
100,
|
|
499
|
+
),
|
|
500
|
+
),
|
|
501
|
+
|
|
502
|
+
drop-area-text-color: (
|
|
503
|
+
contrast-color: (
|
|
504
|
+
'gray',
|
|
505
|
+
200,
|
|
506
|
+
),
|
|
507
|
+
),
|
|
508
|
+
|
|
509
|
+
drop-area-icon-color: (
|
|
510
|
+
contrast-color: (
|
|
511
|
+
'gray',
|
|
512
|
+
200,
|
|
513
|
+
),
|
|
514
|
+
),
|
|
515
|
+
|
|
516
|
+
row-odd-background: (
|
|
517
|
+
color: (
|
|
518
|
+
'gray',
|
|
519
|
+
100,
|
|
520
|
+
),
|
|
521
|
+
),
|
|
522
|
+
|
|
523
|
+
row-even-background: (
|
|
524
|
+
color: (
|
|
525
|
+
'gray',
|
|
526
|
+
100,
|
|
527
|
+
),
|
|
528
|
+
),
|
|
529
|
+
|
|
530
|
+
row-border-color: (
|
|
531
|
+
color: (
|
|
532
|
+
'gray',
|
|
533
|
+
100,
|
|
534
|
+
0.24,
|
|
535
|
+
),
|
|
536
|
+
),
|
|
537
|
+
|
|
538
|
+
row-hover-background: (
|
|
539
|
+
color: (
|
|
540
|
+
'gray',
|
|
541
|
+
200,
|
|
542
|
+
),
|
|
543
|
+
),
|
|
544
|
+
|
|
545
|
+
row-hover-text-color: (
|
|
546
|
+
contrast-color: (
|
|
547
|
+
'gray',
|
|
548
|
+
100,
|
|
549
|
+
),
|
|
550
|
+
),
|
|
551
|
+
|
|
552
|
+
row-selected-background: (
|
|
553
|
+
color: 'primary',
|
|
554
|
+
),
|
|
555
|
+
|
|
556
|
+
row-selected-text-color: (
|
|
557
|
+
contrast-color: 'primary',
|
|
558
|
+
),
|
|
559
|
+
|
|
560
|
+
row-selected-hover-background: (
|
|
561
|
+
color: (
|
|
562
|
+
'primary',
|
|
563
|
+
400,
|
|
564
|
+
),
|
|
565
|
+
),
|
|
566
|
+
|
|
567
|
+
row-selected-hover-text-color: (
|
|
568
|
+
contrast-color: (
|
|
569
|
+
'primary',
|
|
570
|
+
400,
|
|
571
|
+
),
|
|
572
|
+
),
|
|
573
|
+
|
|
574
|
+
group-row-background: (
|
|
575
|
+
color: (
|
|
576
|
+
'gray',
|
|
577
|
+
50,
|
|
578
|
+
),
|
|
579
|
+
),
|
|
580
|
+
|
|
581
|
+
group-row-selected-background: (
|
|
582
|
+
color: (
|
|
583
|
+
'gray',
|
|
584
|
+
100,
|
|
585
|
+
),
|
|
586
|
+
),
|
|
587
|
+
|
|
588
|
+
group-count-text-color: (
|
|
589
|
+
contrast-color: (
|
|
590
|
+
'primary',
|
|
591
|
+
300,
|
|
592
|
+
),
|
|
593
|
+
),
|
|
594
|
+
|
|
595
|
+
group-label-column-name-text: (
|
|
596
|
+
contrast-color: 'surface',
|
|
597
|
+
),
|
|
598
|
+
|
|
599
|
+
group-label-icon: (
|
|
600
|
+
contrast-color: 'surface',
|
|
601
|
+
),
|
|
602
|
+
|
|
603
|
+
group-label-text: (
|
|
604
|
+
color: (
|
|
605
|
+
'gray',
|
|
606
|
+
700,
|
|
607
|
+
),
|
|
608
|
+
),
|
|
609
|
+
|
|
610
|
+
cell-selected-within-background: (
|
|
611
|
+
color: (
|
|
612
|
+
'primary',
|
|
613
|
+
400,
|
|
614
|
+
),
|
|
615
|
+
),
|
|
616
|
+
|
|
617
|
+
cell-selected-within-text-color: (
|
|
618
|
+
contrast-color: (
|
|
619
|
+
'primary',
|
|
620
|
+
400,
|
|
621
|
+
),
|
|
622
|
+
),
|
|
623
|
+
|
|
624
|
+
cell-selected-background: (
|
|
625
|
+
color: (
|
|
626
|
+
'primary',
|
|
627
|
+
400,
|
|
628
|
+
),
|
|
629
|
+
),
|
|
630
|
+
|
|
631
|
+
cell-selected-text-color: (
|
|
632
|
+
contrast-color: (
|
|
633
|
+
'primary',
|
|
634
|
+
400,
|
|
635
|
+
),
|
|
636
|
+
),
|
|
637
|
+
|
|
638
|
+
cell-active-border-color: (
|
|
639
|
+
contrast-color: 'surface',
|
|
640
|
+
),
|
|
641
|
+
|
|
642
|
+
cell-editing-background: (
|
|
643
|
+
color: 'surface',
|
|
644
|
+
),
|
|
645
|
+
|
|
646
|
+
grouparea-background: (
|
|
647
|
+
color: 'surface',
|
|
648
|
+
),
|
|
649
|
+
|
|
650
|
+
grouparea-color: (
|
|
651
|
+
contrast-color: 'surface',
|
|
652
|
+
),
|
|
653
|
+
|
|
654
|
+
root-summaries-background: (
|
|
655
|
+
color: 'surface',
|
|
656
|
+
),
|
|
657
|
+
|
|
658
|
+
root-summaries-text-color: (
|
|
659
|
+
contrast-color: 'surface',
|
|
660
|
+
),
|
|
661
|
+
|
|
662
|
+
body-summaries-background: (
|
|
663
|
+
color: 'surface',
|
|
664
|
+
),
|
|
665
|
+
|
|
666
|
+
body-summaries-text-color: (
|
|
667
|
+
contrast-color: 'surface',
|
|
668
|
+
),
|
|
669
|
+
|
|
670
|
+
expand-icon-color: (
|
|
671
|
+
color: (
|
|
672
|
+
'gray',
|
|
673
|
+
600,
|
|
674
|
+
),
|
|
675
|
+
),
|
|
676
|
+
|
|
677
|
+
expand-icon-hover-color: (
|
|
678
|
+
color: (
|
|
679
|
+
'gray',
|
|
680
|
+
900,
|
|
681
|
+
),
|
|
682
|
+
),
|
|
683
|
+
)
|
|
684
|
+
);
|