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,38 @@
|
|
|
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 pivot data selector schema.
|
|
11
|
+
/// @type {Map}
|
|
12
|
+
$light-pivot-data-selector: (
|
|
13
|
+
background: (
|
|
14
|
+
color: 'surface',
|
|
15
|
+
),
|
|
16
|
+
|
|
17
|
+
header-color: (
|
|
18
|
+
color: (
|
|
19
|
+
'gray',
|
|
20
|
+
100,
|
|
21
|
+
),
|
|
22
|
+
),
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
/// Generates a fluent pivot data selector schema.
|
|
26
|
+
/// @type {Map}
|
|
27
|
+
/// @requires {Map} $light-pivot-data-selector
|
|
28
|
+
$fluent-pivot-data-selector: $light-pivot-data-selector;
|
|
29
|
+
|
|
30
|
+
/// Generates a bootstrap pivot data selector schema.
|
|
31
|
+
/// @type {Map}
|
|
32
|
+
/// @requires {Map} $light-pivot-data-selector
|
|
33
|
+
$bootstrap-pivot-data-selector: $light-pivot-data-selector;
|
|
34
|
+
|
|
35
|
+
/// Generates a indigo pivot data selector schema.
|
|
36
|
+
/// @type {Map}
|
|
37
|
+
/// @requires {Map} $light-pivot-data-selector
|
|
38
|
+
$indigo-pivot-data-selector: $light-pivot-data-selector;
|
|
@@ -0,0 +1,208 @@
|
|
|
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 progress-linear schema.
|
|
11
|
+
/// @type {Map}
|
|
12
|
+
/// @prop {Map} track-color [color: ('gray', 300)] - The main track color.
|
|
13
|
+
/// @prop {Map} fill-color-default [color: ('primary', 500)] - The track default fill color.
|
|
14
|
+
/// @prop {Map} fill-color-danger [color: ('error')] - The track danger fill color.
|
|
15
|
+
/// @prop {Map} fill-color-warning [color: ('warn')] - The track warning fill color.
|
|
16
|
+
/// @prop {Map} fill-color-info [color: ('info')] - The track info fill color.
|
|
17
|
+
/// @prop {Map} fill-color-success [color: ('success')] - The track success fill color.
|
|
18
|
+
/// @prop {Map} stripes-color [color: ('gray', 50, .7)] - The track stripes color.
|
|
19
|
+
/// @prop {Map} text-color [color: ('gray', 700)] - The track value text color.
|
|
20
|
+
/// @prop {Number} track-border-radius [0] - The border radius used for the progress bar track. Can be a fraction between 0 and 1, pixels, or percent.
|
|
21
|
+
$light-progress-linear: extend(
|
|
22
|
+
(
|
|
23
|
+
track-color: (
|
|
24
|
+
color: (
|
|
25
|
+
'gray',
|
|
26
|
+
300,
|
|
27
|
+
),
|
|
28
|
+
),
|
|
29
|
+
|
|
30
|
+
fill-color-default: (
|
|
31
|
+
color: (
|
|
32
|
+
'primary',
|
|
33
|
+
500,
|
|
34
|
+
),
|
|
35
|
+
),
|
|
36
|
+
|
|
37
|
+
fill-color-danger: (
|
|
38
|
+
color: (
|
|
39
|
+
'error',
|
|
40
|
+
),
|
|
41
|
+
),
|
|
42
|
+
|
|
43
|
+
fill-color-warning: (
|
|
44
|
+
color: (
|
|
45
|
+
'warn',
|
|
46
|
+
),
|
|
47
|
+
),
|
|
48
|
+
|
|
49
|
+
fill-color-info: (
|
|
50
|
+
color: (
|
|
51
|
+
'info',
|
|
52
|
+
),
|
|
53
|
+
),
|
|
54
|
+
|
|
55
|
+
fill-color-success: (
|
|
56
|
+
color: (
|
|
57
|
+
'success',
|
|
58
|
+
),
|
|
59
|
+
),
|
|
60
|
+
|
|
61
|
+
stripes-color: (
|
|
62
|
+
color: (
|
|
63
|
+
'gray',
|
|
64
|
+
50,
|
|
65
|
+
0.7,
|
|
66
|
+
),
|
|
67
|
+
),
|
|
68
|
+
|
|
69
|
+
text-color: (
|
|
70
|
+
color: (
|
|
71
|
+
'gray',
|
|
72
|
+
700,
|
|
73
|
+
),
|
|
74
|
+
),
|
|
75
|
+
|
|
76
|
+
track-border-radius: rem(0),
|
|
77
|
+
)
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
/// Generates a fluent progress-linear schema.
|
|
81
|
+
/// @type {Map}
|
|
82
|
+
/// @prop {Number} track-border-radius [0] - The border radius used for the progress bar track. Can be a fraction between 0 and 1, pixels, or percent.
|
|
83
|
+
/// @requires $light-progress-linear
|
|
84
|
+
$fluent-progress-linear: $light-progress-linear;
|
|
85
|
+
|
|
86
|
+
/// Generates a bootstrap progress-linear schema.
|
|
87
|
+
/// @type {Map}
|
|
88
|
+
/// @prop {Map} track-color [color: ('gray', 200)] - The main track color.
|
|
89
|
+
/// @prop {Map} stripes-color [color: ('gray', 50, .15)] - The track stripes color.
|
|
90
|
+
/// @prop {Number} track-border-radius [4px] - The border radius used for the progress bar track. Can be a fraction between 0 and 1, pixels, or percent.
|
|
91
|
+
/// @requires $light-progress-linear
|
|
92
|
+
$bootstrap-progress-linear: extend(
|
|
93
|
+
$light-progress-linear,
|
|
94
|
+
(
|
|
95
|
+
track-color: (
|
|
96
|
+
color: (
|
|
97
|
+
'gray',
|
|
98
|
+
300,
|
|
99
|
+
),
|
|
100
|
+
),
|
|
101
|
+
|
|
102
|
+
stripes-color: (
|
|
103
|
+
color: (
|
|
104
|
+
'gray',
|
|
105
|
+
50,
|
|
106
|
+
0.15,
|
|
107
|
+
),
|
|
108
|
+
),
|
|
109
|
+
|
|
110
|
+
track-border-radius: rem(4px),
|
|
111
|
+
)
|
|
112
|
+
);
|
|
113
|
+
|
|
114
|
+
/// Generates an indigo progress-linear schema.
|
|
115
|
+
/// @type {Map}
|
|
116
|
+
/// @prop {Map} track-color [color: ('gray', 300)] - The main track color.
|
|
117
|
+
/// @prop {Map} stripes-color [color: ('gray', 50, .45)] - The track stripes color.
|
|
118
|
+
/// @prop {Number} track-border-radius [0] - The border radius used for the progress bar track. Can be a fraction between 0 and 1, pixels, or percent.
|
|
119
|
+
/// @requires $light-progress-linear
|
|
120
|
+
$indigo-progress-linear: extend(
|
|
121
|
+
$light-progress-linear,
|
|
122
|
+
(
|
|
123
|
+
track-color: (
|
|
124
|
+
color: (
|
|
125
|
+
'gray',
|
|
126
|
+
300,
|
|
127
|
+
),
|
|
128
|
+
),
|
|
129
|
+
|
|
130
|
+
stripes-color: (
|
|
131
|
+
color: (
|
|
132
|
+
'gray',
|
|
133
|
+
50,
|
|
134
|
+
0.45,
|
|
135
|
+
),
|
|
136
|
+
),
|
|
137
|
+
)
|
|
138
|
+
);
|
|
139
|
+
|
|
140
|
+
/// Generates a light progress-circular schema.
|
|
141
|
+
/// @type {Map}
|
|
142
|
+
/// @prop {Map} base-circle-color [color: ('gray', 300)] - The base circle fill color.
|
|
143
|
+
/// @prop {Map} progress-circle-color [color: ('primary', 500)] - The progress circle fill color.
|
|
144
|
+
/// @prop {Map} text-color [color: ('gray', 700)] - The value text color.
|
|
145
|
+
/// @prop {Number} track-border-radius [0] - The border radius used for the progress bar track. Can be a fraction between 0 and 1, pixels, or percent.
|
|
146
|
+
$light-progress-circular: extend(
|
|
147
|
+
(
|
|
148
|
+
base-circle-color: (
|
|
149
|
+
color: (
|
|
150
|
+
'gray',
|
|
151
|
+
300,
|
|
152
|
+
),
|
|
153
|
+
),
|
|
154
|
+
|
|
155
|
+
progress-circle-color: (
|
|
156
|
+
color: (
|
|
157
|
+
'primary',
|
|
158
|
+
500,
|
|
159
|
+
),
|
|
160
|
+
),
|
|
161
|
+
|
|
162
|
+
text-color: (
|
|
163
|
+
color: (
|
|
164
|
+
'gray',
|
|
165
|
+
700,
|
|
166
|
+
),
|
|
167
|
+
),
|
|
168
|
+
|
|
169
|
+
track-border-radius: rem(0),
|
|
170
|
+
)
|
|
171
|
+
);
|
|
172
|
+
|
|
173
|
+
/// Generates a fluent progress-circular schema.
|
|
174
|
+
/// @type {Map}
|
|
175
|
+
/// @requires {Map} $light-progress-circular
|
|
176
|
+
$fluent-progress-circular: $light-progress-circular;
|
|
177
|
+
|
|
178
|
+
/// Generates a bootstrap progress-circular schema.
|
|
179
|
+
/// @type {Map}
|
|
180
|
+
/// @prop {Map} track-color [color: ('gray', 200)] - The main track color.
|
|
181
|
+
/// @requires {Map} $light-progress-circular
|
|
182
|
+
$bootstrap-progress-circular: extend(
|
|
183
|
+
$light-progress-circular,
|
|
184
|
+
(
|
|
185
|
+
track-color: (
|
|
186
|
+
color: (
|
|
187
|
+
'gray',
|
|
188
|
+
200,
|
|
189
|
+
),
|
|
190
|
+
),
|
|
191
|
+
)
|
|
192
|
+
);
|
|
193
|
+
|
|
194
|
+
/// Generates an indigo progress-circular schema.
|
|
195
|
+
/// @type {Map}
|
|
196
|
+
/// @prop {Map} track-color [color: ('gray', 300)] - The main track color.
|
|
197
|
+
/// @requires {Map} $light-progress-circular
|
|
198
|
+
$indigo-progress-circular: extend(
|
|
199
|
+
$light-progress-circular,
|
|
200
|
+
(
|
|
201
|
+
track-color: (
|
|
202
|
+
color: (
|
|
203
|
+
'gray',
|
|
204
|
+
300,
|
|
205
|
+
),
|
|
206
|
+
),
|
|
207
|
+
)
|
|
208
|
+
);
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../../../../typography/functions' as *;
|
|
3
|
+
|
|
4
|
+
////
|
|
5
|
+
/// @package theming
|
|
6
|
+
/// @group schemas
|
|
7
|
+
/// @access public
|
|
8
|
+
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
|
|
9
|
+
////
|
|
10
|
+
|
|
11
|
+
/// Generates a fluent query builder schema.
|
|
12
|
+
/// @prop {Color} background [('gray', 50)] - The background color of the filtering row.
|
|
13
|
+
/// @prop {Color} header-background [('gray', 100)] - The background color of the query builder header.
|
|
14
|
+
/// @prop {Color} header-foreground [('gray', 700)] - The foreground color of the query builder header.
|
|
15
|
+
/// @prop {Map} background-and [('primary', 300)] - The background color of advanced filtering "AND" condition.
|
|
16
|
+
/// @prop {Map} background-and--focus [('primary', 700)] - The background color on focus/selected of advanced filtering "AND" condition.
|
|
17
|
+
/// @prop {Map} background-or [('secondary', 300)] - The background color of advanced filtering "OR" condition.
|
|
18
|
+
/// @prop {Map} background-or--focus [('secondary', 700)] - The background color on focus/selected of advanced filtering "OR" condition.
|
|
19
|
+
$light-query-builder: (
|
|
20
|
+
background: (
|
|
21
|
+
color: (
|
|
22
|
+
'gray',
|
|
23
|
+
50,
|
|
24
|
+
),
|
|
25
|
+
),
|
|
26
|
+
|
|
27
|
+
header-background: (
|
|
28
|
+
color: (
|
|
29
|
+
'gray',
|
|
30
|
+
100,
|
|
31
|
+
),
|
|
32
|
+
),
|
|
33
|
+
|
|
34
|
+
header-foreground: (
|
|
35
|
+
color: (
|
|
36
|
+
'gray',
|
|
37
|
+
700,
|
|
38
|
+
),
|
|
39
|
+
),
|
|
40
|
+
|
|
41
|
+
background-and: (
|
|
42
|
+
color: (
|
|
43
|
+
'primary',
|
|
44
|
+
300,
|
|
45
|
+
),
|
|
46
|
+
),
|
|
47
|
+
|
|
48
|
+
background-and--focus: (
|
|
49
|
+
color: (
|
|
50
|
+
'primary',
|
|
51
|
+
700,
|
|
52
|
+
),
|
|
53
|
+
),
|
|
54
|
+
|
|
55
|
+
background-or: (
|
|
56
|
+
color: (
|
|
57
|
+
'secondary',
|
|
58
|
+
300,
|
|
59
|
+
),
|
|
60
|
+
),
|
|
61
|
+
|
|
62
|
+
background-or--focus: (
|
|
63
|
+
color: (
|
|
64
|
+
'secondary',
|
|
65
|
+
700,
|
|
66
|
+
),
|
|
67
|
+
),
|
|
68
|
+
);
|
|
69
|
+
|
|
70
|
+
/// Generates a fluent query builder schema.
|
|
71
|
+
/// @type {Map}
|
|
72
|
+
/// @prop {Map} background [('gray', 50)] - The background color of the filtering row.
|
|
73
|
+
/// @prop {Map} background-or [('error', 500, .5)] - The background color of advanced filtering "OR" condition.
|
|
74
|
+
/// @prop {Map} background-or--focus [('error')] - The background color on focus/selected of advanced filtering "OR" condition.
|
|
75
|
+
/// @requires {Map} $light-query-builder
|
|
76
|
+
$fluent-query-builder: extend(
|
|
77
|
+
$light-query-builder,
|
|
78
|
+
(
|
|
79
|
+
background: (
|
|
80
|
+
color: (
|
|
81
|
+
'gray',
|
|
82
|
+
50,
|
|
83
|
+
),
|
|
84
|
+
),
|
|
85
|
+
|
|
86
|
+
background-or: (
|
|
87
|
+
color: (
|
|
88
|
+
'error',
|
|
89
|
+
500,
|
|
90
|
+
0.5,
|
|
91
|
+
),
|
|
92
|
+
),
|
|
93
|
+
|
|
94
|
+
background-or--focus: (
|
|
95
|
+
color: (
|
|
96
|
+
'error',
|
|
97
|
+
),
|
|
98
|
+
),
|
|
99
|
+
)
|
|
100
|
+
);
|
|
101
|
+
|
|
102
|
+
/// Generates a fluent query builder schema.
|
|
103
|
+
/// @prop {Color} header-background [('gray', 100, .5)] - The background color of the query builder header.
|
|
104
|
+
/// @type {Map}
|
|
105
|
+
/// @requires {Map} $light-query-builder
|
|
106
|
+
$bootstrap-query-builder: extend(
|
|
107
|
+
$light-query-builder,
|
|
108
|
+
(
|
|
109
|
+
header-background: (
|
|
110
|
+
color: (
|
|
111
|
+
'gray',
|
|
112
|
+
100,
|
|
113
|
+
0.5,
|
|
114
|
+
),
|
|
115
|
+
),
|
|
116
|
+
)
|
|
117
|
+
);
|
|
118
|
+
|
|
119
|
+
/// Generates an indigo query builder schema.
|
|
120
|
+
/// @prop {Map} background-or [('warn', 500, .72)] - The background color of advanced filtering "OR" condition.
|
|
121
|
+
/// @prop {Map} background-or--focus [('warn', 500)] - The background color on focus/selected of advanced filtering "OR" condition.
|
|
122
|
+
/// @requires {Map} $light-query-builder
|
|
123
|
+
$indigo-query-builder: extend(
|
|
124
|
+
$light-query-builder,
|
|
125
|
+
(
|
|
126
|
+
background-or: (
|
|
127
|
+
color: (
|
|
128
|
+
'warn',
|
|
129
|
+
500,
|
|
130
|
+
0.72,
|
|
131
|
+
),
|
|
132
|
+
),
|
|
133
|
+
|
|
134
|
+
background-or--focus: (
|
|
135
|
+
color: 'warn',
|
|
136
|
+
),
|
|
137
|
+
)
|
|
138
|
+
);
|
|
@@ -0,0 +1,36 @@
|
|
|
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 ripple schema.
|
|
11
|
+
/// @type {Map}
|
|
12
|
+
/// @prop {Map} color [color: ('gray', 800, .7)] - The color of the ripple.
|
|
13
|
+
$light-ripple: (
|
|
14
|
+
color: (
|
|
15
|
+
color: (
|
|
16
|
+
'gray',
|
|
17
|
+
800,
|
|
18
|
+
0.7,
|
|
19
|
+
),
|
|
20
|
+
),
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
/// Generates a fluent ripple schema.
|
|
24
|
+
/// @type {Map}
|
|
25
|
+
/// @requires {Map} $light-ripple
|
|
26
|
+
$fluent-ripple: $light-ripple;
|
|
27
|
+
|
|
28
|
+
/// Generates a bootstrap ripple schema.
|
|
29
|
+
/// @type {Map}
|
|
30
|
+
/// @requires {Map} $light-ripple
|
|
31
|
+
$bootstrap-ripple: $light-ripple;
|
|
32
|
+
|
|
33
|
+
/// Generates an indigo ripple schema.
|
|
34
|
+
/// @type {Map}
|
|
35
|
+
/// @requires {Map} $light-ripple
|
|
36
|
+
$indigo-ripple: $light-ripple;
|
|
@@ -0,0 +1,79 @@
|
|
|
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 scrollbar schema.
|
|
11
|
+
/// @type {Map}
|
|
12
|
+
/// @property {Color} thumb-background [color: ('gray', 400)] - The background color used for the thumb.
|
|
13
|
+
/// @property {Color} track-background [color: ('gray', 100)] - The background color used for the track.
|
|
14
|
+
/// @property {String | Number} scrollbar-size [16px] - The size of the track.
|
|
15
|
+
$light-scrollbar: (
|
|
16
|
+
scrollbar-size: 16px,
|
|
17
|
+
|
|
18
|
+
thumb-background: (
|
|
19
|
+
color: (
|
|
20
|
+
'gray',
|
|
21
|
+
400,
|
|
22
|
+
),
|
|
23
|
+
),
|
|
24
|
+
|
|
25
|
+
track-background: (
|
|
26
|
+
color: (
|
|
27
|
+
'gray',
|
|
28
|
+
100,
|
|
29
|
+
),
|
|
30
|
+
),
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
/// Generates a fluent scrollbar schema.
|
|
34
|
+
/// @type {Map}
|
|
35
|
+
/// @property {Color} thumb-background [color: ('gray', 300)] - The background color used for the thumb.
|
|
36
|
+
///
|
|
37
|
+
/// @requires {Map} $light-scrollbar
|
|
38
|
+
$fluent-scrollbar: extend(
|
|
39
|
+
$light-scrollbar,
|
|
40
|
+
(
|
|
41
|
+
thumb-background: (
|
|
42
|
+
color: (
|
|
43
|
+
'gray',
|
|
44
|
+
300,
|
|
45
|
+
),
|
|
46
|
+
),
|
|
47
|
+
)
|
|
48
|
+
);
|
|
49
|
+
|
|
50
|
+
/// Generates a bootstrap scrollbar schema.
|
|
51
|
+
/// @type {Map}
|
|
52
|
+
///
|
|
53
|
+
/// @requires {Map} $light-scrollbar
|
|
54
|
+
$bootstrap-scrollbar: $light-scrollbar;
|
|
55
|
+
|
|
56
|
+
/// Generates an indigo scrollbar schema.
|
|
57
|
+
/// @type {Map}
|
|
58
|
+
/// @property {Map} thumb-background [color: ('gray', 400)] - The background color used for the thumb.
|
|
59
|
+
/// @property {Color} track-background [color: ('gray', 200)] - The background color used for the track.
|
|
60
|
+
///
|
|
61
|
+
/// @requires {Map} $light-scrollbar
|
|
62
|
+
$indigo-scrollbar: extend(
|
|
63
|
+
$light-scrollbar,
|
|
64
|
+
(
|
|
65
|
+
thumb-background: (
|
|
66
|
+
color: (
|
|
67
|
+
'gray',
|
|
68
|
+
400,
|
|
69
|
+
),
|
|
70
|
+
),
|
|
71
|
+
|
|
72
|
+
track-background: (
|
|
73
|
+
color: (
|
|
74
|
+
'gray',
|
|
75
|
+
200,
|
|
76
|
+
),
|
|
77
|
+
),
|
|
78
|
+
)
|
|
79
|
+
);
|
|
@@ -30,7 +30,6 @@
|
|
|
30
30
|
/// @prop {Map} tick-label-color [color: ('gray', 500)] - The color of the tick label.
|
|
31
31
|
/// @prop {Map} tick-color [color: ('gray', 500)] - The background-color of the tick.
|
|
32
32
|
$light-slider: (
|
|
33
|
-
variant: 'material',
|
|
34
33
|
track-color: (
|
|
35
34
|
color: (
|
|
36
35
|
'secondary',
|
|
@@ -154,7 +153,6 @@ $light-slider: (
|
|
|
154
153
|
$fluent-slider: extend(
|
|
155
154
|
$light-slider,
|
|
156
155
|
(
|
|
157
|
-
variant: 'fluent',
|
|
158
156
|
track-color: (
|
|
159
157
|
color: (
|
|
160
158
|
'gray',
|
|
@@ -251,7 +249,6 @@ $fluent-slider: extend(
|
|
|
251
249
|
$bootstrap-slider: extend(
|
|
252
250
|
$fluent-slider,
|
|
253
251
|
(
|
|
254
|
-
variant: 'bootstrap',
|
|
255
252
|
base-track-color: (
|
|
256
253
|
color: (
|
|
257
254
|
'secondary',
|
|
@@ -314,7 +311,6 @@ $bootstrap-slider: extend(
|
|
|
314
311
|
$indigo-slider: extend(
|
|
315
312
|
$light-slider,
|
|
316
313
|
(
|
|
317
|
-
variant: 'indigo-design',
|
|
318
314
|
track-step-color: white,
|
|
319
315
|
track-hover-color: (
|
|
320
316
|
color: (
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../../../../typography/functions' as *;
|
|
3
|
+
@use '../elevation/snackbar' as *;
|
|
4
|
+
|
|
5
|
+
////
|
|
6
|
+
/// @package theming
|
|
7
|
+
/// @group schemas
|
|
8
|
+
/// @access public
|
|
9
|
+
////
|
|
10
|
+
|
|
11
|
+
/// Generates a light snackbar schema.
|
|
12
|
+
/// @type {Map}
|
|
13
|
+
/// @prop {Map} background [color: ('gray', 900, .9)] - The background color used in the snackbar.
|
|
14
|
+
/// @prop {Map} text-color [contrast-color: ('gray', 900)] - The text color used in the snackbar.
|
|
15
|
+
/// @prop {Map} button-color [color: ('secondary', 500)] - The button color used in the snackbar.
|
|
16
|
+
/// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used in the snackbar.
|
|
17
|
+
/// @prop {Number} border-radius [4px] - The border radius used for snackbar. Can be a fraction between 0 and 1, pixels, or percent.
|
|
18
|
+
/// @requires {Map} $default-elevation-snackbar
|
|
19
|
+
$light-snackbar: extend(
|
|
20
|
+
$default-elevation-snackbar,
|
|
21
|
+
(
|
|
22
|
+
background: (
|
|
23
|
+
color: (
|
|
24
|
+
'gray',
|
|
25
|
+
900,
|
|
26
|
+
0.9,
|
|
27
|
+
),
|
|
28
|
+
),
|
|
29
|
+
|
|
30
|
+
text-color: (
|
|
31
|
+
contrast-color: (
|
|
32
|
+
'gray',
|
|
33
|
+
900,
|
|
34
|
+
),
|
|
35
|
+
),
|
|
36
|
+
|
|
37
|
+
button-color: (
|
|
38
|
+
color: (
|
|
39
|
+
'secondary',
|
|
40
|
+
500,
|
|
41
|
+
),
|
|
42
|
+
),
|
|
43
|
+
|
|
44
|
+
border-radius: rem(4px),
|
|
45
|
+
)
|
|
46
|
+
);
|
|
47
|
+
|
|
48
|
+
/// Generates a fluent snackbar schema.
|
|
49
|
+
/// @type {Map}
|
|
50
|
+
/// @prop {Number} border-radius [2px] - The border radius used for snackbar. Can be a fraction between 0 and 1, pixels, or percent.
|
|
51
|
+
///
|
|
52
|
+
/// @requires $light-snackbar
|
|
53
|
+
$fluent-snackbar: extend(
|
|
54
|
+
$light-snackbar,
|
|
55
|
+
(
|
|
56
|
+
border-radius: rem(2px),
|
|
57
|
+
)
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
/// Generates a bootstrap snackbar schema.
|
|
61
|
+
/// @type {Map}
|
|
62
|
+
/// @prop {Map} background [color: ('surface')] - The background color used in the snackbar.
|
|
63
|
+
/// @prop {Map} text-color [contrast-color: ('surface')] - The text color used in the snackbar.
|
|
64
|
+
/// @prop {Map} button-color [color: ('primary', 500)] - The button color used in the snackbar.
|
|
65
|
+
/// @prop {Number} elevation [10] - The elevation level, between 0-24, to be used in the snackbar.
|
|
66
|
+
///
|
|
67
|
+
/// @requires $light-snackbar
|
|
68
|
+
/// @requires {Map} $bootstrap-elevation-snackbar
|
|
69
|
+
$bootstrap-snackbar: extend(
|
|
70
|
+
$light-snackbar,
|
|
71
|
+
$bootstrap-elevation-snackbar,
|
|
72
|
+
(
|
|
73
|
+
background: (
|
|
74
|
+
color: (
|
|
75
|
+
'surface',
|
|
76
|
+
),
|
|
77
|
+
),
|
|
78
|
+
|
|
79
|
+
text-color: (
|
|
80
|
+
contrast-color: (
|
|
81
|
+
'surface',
|
|
82
|
+
),
|
|
83
|
+
),
|
|
84
|
+
|
|
85
|
+
button-color: (
|
|
86
|
+
color: (
|
|
87
|
+
'primary',
|
|
88
|
+
500,
|
|
89
|
+
),
|
|
90
|
+
),
|
|
91
|
+
)
|
|
92
|
+
);
|
|
93
|
+
|
|
94
|
+
/// Generates an indigo snackbar schema.
|
|
95
|
+
/// @type {Map}
|
|
96
|
+
///
|
|
97
|
+
/// @prop {Map} background [color: ('gray', 700, .9)] - The background color used in the snackbar.
|
|
98
|
+
/// @prop {Map} text-color [contrast-color: ('gray', 700)] - The text color used in the snackbar.
|
|
99
|
+
/// @prop {Map} button-color [contrast-color: ('gray', 700)] - The button color used in the snackbar.
|
|
100
|
+
/// @prop {Number} border-radius [6px] - The border radius used for snackbar. Can be a fraction between 0 and 1, pixels, or percent.
|
|
101
|
+
///
|
|
102
|
+
///
|
|
103
|
+
/// @requires $light-snackbar
|
|
104
|
+
$indigo-snackbar: extend(
|
|
105
|
+
$light-snackbar,
|
|
106
|
+
(
|
|
107
|
+
background: (
|
|
108
|
+
color: (
|
|
109
|
+
'gray',
|
|
110
|
+
700,
|
|
111
|
+
0.9,
|
|
112
|
+
),
|
|
113
|
+
),
|
|
114
|
+
|
|
115
|
+
text-color: (
|
|
116
|
+
contrast-color: (
|
|
117
|
+
'gray',
|
|
118
|
+
700,
|
|
119
|
+
),
|
|
120
|
+
),
|
|
121
|
+
|
|
122
|
+
button-color: (
|
|
123
|
+
contrast-color: (
|
|
124
|
+
'gray',
|
|
125
|
+
700,
|
|
126
|
+
),
|
|
127
|
+
),
|
|
128
|
+
|
|
129
|
+
border-radius: rem(6px),
|
|
130
|
+
)
|
|
131
|
+
);
|