igniteui-theming 4.2.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/sass/themes/schemas/components/dark/_action-strip.scss +3 -3
- package/sass/themes/schemas/components/dark/_avatar.scss +3 -3
- package/sass/themes/schemas/components/dark/_badge.scss +3 -3
- package/sass/themes/schemas/components/dark/_banner.scss +3 -3
- package/sass/themes/schemas/components/dark/_bottom-nav.scss +8 -17
- package/sass/themes/schemas/components/dark/_button-group.scss +3 -3
- package/sass/themes/schemas/components/dark/_button.scss +4 -7
- package/sass/themes/schemas/components/dark/_calendar.scss +4 -4
- package/sass/themes/schemas/components/dark/_card.scss +4 -4
- package/sass/themes/schemas/components/dark/_carousel.scss +3 -3
- package/sass/themes/schemas/components/dark/_checkbox.scss +3 -3
- package/sass/themes/schemas/components/dark/_chip.scss +6 -6
- package/sass/themes/schemas/components/dark/_column-actions.scss +6 -6
- package/sass/themes/schemas/components/dark/_combo.scss +3 -3
- package/sass/themes/schemas/components/dark/_date-range-picker.scss +3 -3
- package/sass/themes/schemas/components/dark/_dialog.scss +3 -3
- package/sass/themes/schemas/components/dark/_divider.scss +3 -3
- package/sass/themes/schemas/components/dark/_dock-manager.scss +6 -0
- package/sass/themes/schemas/components/dark/_drop-down.scss +3 -3
- package/sass/themes/schemas/components/dark/_expansion-panel.scss +3 -3
- package/sass/themes/schemas/components/dark/_grid-filtering.scss +3 -3
- package/sass/themes/schemas/components/dark/_grid-summary.scss +3 -3
- package/sass/themes/schemas/components/dark/_grid-toolbar.scss +5 -5
- package/sass/themes/schemas/components/dark/_grid.scss +4 -20
- package/sass/themes/schemas/components/dark/_highlight.scss +6 -0
- package/sass/themes/schemas/components/dark/_icon-button.scss +1 -1
- package/sass/themes/schemas/components/dark/_icon.scss +6 -6
- package/sass/themes/schemas/components/dark/_index.scss +53 -53
- package/sass/themes/schemas/components/dark/_input-group.scss +9 -15
- package/sass/themes/schemas/components/dark/_label.scss +3 -3
- package/sass/themes/schemas/components/dark/_list.scss +8 -9
- package/sass/themes/schemas/components/dark/_navbar.scss +3 -3
- package/sass/themes/schemas/components/dark/_navdrawer.scss +6 -3
- package/sass/themes/schemas/components/dark/_overlay.scss +3 -3
- package/sass/themes/schemas/components/dark/_pagination.scss +6 -6
- package/sass/themes/schemas/components/dark/_pivot-data-selector.scss +6 -5
- package/sass/themes/schemas/components/dark/_progress.scss +14 -10
- package/sass/themes/schemas/components/dark/_query-builder.scss +7 -7
- package/sass/themes/schemas/components/dark/_radio.scss +26 -36
- package/sass/themes/schemas/components/dark/_rating.scss +3 -3
- package/sass/themes/schemas/components/dark/_ripple.scss +3 -3
- package/sass/themes/schemas/components/dark/_scrollbar.scss +4 -5
- package/sass/themes/schemas/components/dark/_select.scss +3 -3
- package/sass/themes/schemas/components/dark/_slider.scss +3 -3
- package/sass/themes/schemas/components/dark/_snackbar.scss +3 -3
- package/sass/themes/schemas/components/dark/_splitter.scss +2 -2
- package/sass/themes/schemas/components/dark/_stepper.scss +4 -4
- package/sass/themes/schemas/components/dark/_switch.scss +5 -14
- package/sass/themes/schemas/components/dark/_tabs.scss +5 -5
- package/sass/themes/schemas/components/dark/_time-picker.scss +3 -3
- package/sass/themes/schemas/components/dark/_toast.scss +6 -4
- package/sass/themes/schemas/components/dark/_tooltip.scss +3 -4
- package/sass/themes/schemas/components/dark/_tree.scss +6 -33
- package/sass/themes/schemas/components/dark/_watermark.scss +16 -26
- package/sass/themes/schemas/components/elevation/_button.scss +2 -2
- package/sass/themes/schemas/components/light/_action-strip.scss +9 -0
- package/sass/themes/schemas/components/light/_avatar.scss +5 -3
- package/sass/themes/schemas/components/light/_badge.scss +5 -0
- package/sass/themes/schemas/components/light/_banner.scss +5 -0
- package/sass/themes/schemas/components/light/_bottom-nav.scss +5 -0
- package/sass/themes/schemas/components/light/_button-group.scss +52 -49
- package/sass/themes/schemas/components/light/_button.scss +164 -104
- package/sass/themes/schemas/components/light/_calendar.scss +66 -56
- package/sass/themes/schemas/components/light/_card.scss +18 -33
- package/sass/themes/schemas/components/light/_carousel.scss +7 -0
- package/sass/themes/schemas/components/light/_checkbox.scss +37 -53
- package/sass/themes/schemas/components/light/_chip.scss +63 -77
- package/sass/themes/schemas/components/light/_column-actions.scss +5 -0
- package/sass/themes/schemas/components/light/_combo.scss +31 -36
- package/sass/themes/schemas/components/light/_date-range-picker.scss +5 -0
- package/sass/themes/schemas/components/light/_dialog.scss +5 -0
- package/sass/themes/schemas/components/light/_divider.scss +5 -0
- package/sass/themes/schemas/components/light/_dock-manager.scss +68 -97
- package/sass/themes/schemas/components/light/_drop-down.scss +68 -89
- package/sass/themes/schemas/components/light/_expansion-panel.scss +5 -0
- package/sass/themes/schemas/components/light/_grid-filtering.scss +6 -9
- package/sass/themes/schemas/components/light/_grid-summary.scss +5 -0
- package/sass/themes/schemas/components/light/_grid-toolbar.scss +5 -0
- package/sass/themes/schemas/components/light/_grid.scss +98 -171
- package/sass/themes/schemas/components/light/_highlight.scss +5 -0
- package/sass/themes/schemas/components/light/_icon-button.scss +1 -1
- package/sass/themes/schemas/components/light/_icon.scss +5 -0
- package/sass/themes/schemas/components/light/_index.scss +53 -53
- package/sass/themes/schemas/components/light/_input-group.scss +35 -116
- package/sass/themes/schemas/components/light/_label.scss +9 -11
- package/sass/themes/schemas/components/light/_list.scss +6 -1
- package/sass/themes/schemas/components/light/_navbar.scss +6 -1
- package/sass/themes/schemas/components/light/_navdrawer.scss +6 -1
- package/sass/themes/schemas/components/light/_overlay.scss +6 -1
- package/sass/themes/schemas/components/light/_pagination.scss +7 -2
- package/sass/themes/schemas/components/light/_pivot-data-selector.scss +6 -1
- package/sass/themes/schemas/components/light/_progress.scss +14 -42
- package/sass/themes/schemas/components/light/_query-builder.scss +10 -11
- package/sass/themes/schemas/components/light/_radio.scss +57 -67
- package/sass/themes/schemas/components/light/_rating.scss +22 -42
- package/sass/themes/schemas/components/light/_ripple.scss +6 -1
- package/sass/themes/schemas/components/light/_scrollbar.scss +6 -12
- package/sass/themes/schemas/components/light/_select.scss +20 -18
- package/sass/themes/schemas/components/light/_slider.scss +65 -68
- package/sass/themes/schemas/components/light/_snackbar.scss +6 -6
- package/sass/themes/schemas/components/light/_splitter.scss +6 -2
- package/sass/themes/schemas/components/light/_stepper.scss +74 -141
- package/sass/themes/schemas/components/light/_switch.scss +101 -141
- package/sass/themes/schemas/components/light/_tabs.scss +19 -36
- package/sass/themes/schemas/components/light/_time-picker.scss +11 -4
- package/sass/themes/schemas/components/light/_toast.scss +6 -1
- package/sass/themes/schemas/components/light/_tooltip.scss +6 -1
- package/sass/themes/schemas/components/light/_tree.scss +49 -73
- package/sass/themes/schemas/components/light/_watermark.scss +6 -1
- package/sass/utils/_map.scss +40 -0
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
/// @prop {Map} subtitle-text-color [color: ('gray', 700)] - The text color of the card subtitle.
|
|
16
16
|
/// @prop {Map} content-text-color [color: ('gray', 700)] - The text color of the card content.
|
|
17
17
|
/// @prop {Map} actions-text-color [color: ('gray', 700)] - The text color of the card buttons.
|
|
18
|
-
/// @prop {Map} outline-color [color: ('gray', 400, .54)] - The outline color of an outlined type card.
|
|
19
18
|
/// @prop {Number} resting-elevation [4] - The elevation level, between 0-24, to be used for the resting state.
|
|
20
19
|
/// @prop {Number} hover-elevation [6] - The elevation level, between 0-24, to be used for the hover state.
|
|
21
20
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(24px))] - The border radius used for card.
|
|
@@ -56,14 +55,6 @@ $light-card: extend(
|
|
|
56
55
|
),
|
|
57
56
|
),
|
|
58
57
|
|
|
59
|
-
outline-color: (
|
|
60
|
-
color: (
|
|
61
|
-
'gray',
|
|
62
|
-
400,
|
|
63
|
-
0.54,
|
|
64
|
-
),
|
|
65
|
-
),
|
|
66
|
-
|
|
67
58
|
border-radius: (
|
|
68
59
|
border-radius: (
|
|
69
60
|
rem(4px),
|
|
@@ -75,6 +66,24 @@ $light-card: extend(
|
|
|
75
66
|
)
|
|
76
67
|
);
|
|
77
68
|
|
|
69
|
+
/// Generates a material card schema.
|
|
70
|
+
/// @type {Map}
|
|
71
|
+
/// @prop {Map} outline-color [color: ('gray', 400, .54)] - The outline color of an outlined type card.
|
|
72
|
+
/// @prop {List} border-radius [(rem(2px), rem(0), rem(24px))] - The border radius used for card.
|
|
73
|
+
/// @requires {Map} $light-card
|
|
74
|
+
$material-card: extend(
|
|
75
|
+
$light-card,
|
|
76
|
+
(
|
|
77
|
+
outline-color: (
|
|
78
|
+
color: (
|
|
79
|
+
'gray',
|
|
80
|
+
400,
|
|
81
|
+
0.54,
|
|
82
|
+
),
|
|
83
|
+
),
|
|
84
|
+
)
|
|
85
|
+
);
|
|
86
|
+
|
|
78
87
|
/// Generates a fluent card schema.
|
|
79
88
|
/// @type {Map}
|
|
80
89
|
/// @prop {Map} outline-color [color: ('gray', 200)] - The outline color of an outlined type card.
|
|
@@ -104,7 +113,6 @@ $fluent-card: extend(
|
|
|
104
113
|
/// @type {Map}
|
|
105
114
|
/// @prop {Map} background [contrast-color: ('gray', 900)]- The card background color.
|
|
106
115
|
/// @prop {Map} outline-color [color: ('gray', 300)] - The outline color of an outlined type card.
|
|
107
|
-
/// @prop {Map} header-text-color [color: ('gray', 900)] - The text color of the card title.
|
|
108
116
|
/// @prop {Map} subtitle-text-color [color: ('gray', 800)] - The text color of the card subtitle.
|
|
109
117
|
/// @prop {Map} content-text-color [color: ('gray', 800)] - The text color of the card content.
|
|
110
118
|
/// @prop {Map} actions-text-color [color: ('gray', 900)] - The text color of the card buttons.
|
|
@@ -126,13 +134,6 @@ $bootstrap-card: extend(
|
|
|
126
134
|
),
|
|
127
135
|
),
|
|
128
136
|
|
|
129
|
-
header-text-color: (
|
|
130
|
-
color: (
|
|
131
|
-
'gray',
|
|
132
|
-
900,
|
|
133
|
-
),
|
|
134
|
-
),
|
|
135
|
-
|
|
136
137
|
subtitle-text-color: (
|
|
137
138
|
color: (
|
|
138
139
|
'gray',
|
|
@@ -159,9 +160,7 @@ $bootstrap-card: extend(
|
|
|
159
160
|
/// Generates an indigo card schema.
|
|
160
161
|
/// @type {Map}
|
|
161
162
|
/// @prop {Map} outline-color [color: ('gray', 400)] - The outline color of an outlined type card.
|
|
162
|
-
/// @prop {Map} header-text-color [color: ('gray', 900)] - The text color of the card title.
|
|
163
163
|
/// @prop {Map} subtitle-text-color [color: ('gray', 500)] - The text color of the card subtitle.
|
|
164
|
-
/// @prop {Map} content-text-color [color: ('gray', 700)] - The text color of the card content.
|
|
165
164
|
/// @prop {Map} actions-text-color [color: ('gray', 600)] - The text color of the card buttons.
|
|
166
165
|
/// @prop {List} border-radius [(rem(3px), rem(0), rem(24px))] - The border radius used for card.
|
|
167
166
|
/// @requires {Map} $light-card
|
|
@@ -175,13 +174,6 @@ $indigo-card: extend(
|
|
|
175
174
|
),
|
|
176
175
|
),
|
|
177
176
|
|
|
178
|
-
header-text-color: (
|
|
179
|
-
color: (
|
|
180
|
-
'gray',
|
|
181
|
-
900,
|
|
182
|
-
),
|
|
183
|
-
),
|
|
184
|
-
|
|
185
177
|
subtitle-text-color: (
|
|
186
178
|
color: (
|
|
187
179
|
'gray',
|
|
@@ -189,13 +181,6 @@ $indigo-card: extend(
|
|
|
189
181
|
),
|
|
190
182
|
),
|
|
191
183
|
|
|
192
|
-
content-text-color: (
|
|
193
|
-
color: (
|
|
194
|
-
'gray',
|
|
195
|
-
700,
|
|
196
|
-
),
|
|
197
|
-
),
|
|
198
|
-
|
|
199
184
|
actions-text-color: (
|
|
200
185
|
color: (
|
|
201
186
|
'gray',
|
|
@@ -108,6 +108,13 @@ $light-carousel: extend(
|
|
|
108
108
|
)
|
|
109
109
|
);
|
|
110
110
|
|
|
111
|
+
/// Generates a material carousel schema.
|
|
112
|
+
/// @type {Map}
|
|
113
|
+
/// @prop {Number} button-elevation [0] - The elevation level, between 0-24, to be used for the carousel buttons.
|
|
114
|
+
/// @requires {Map} $light-carousel
|
|
115
|
+
/// @requires {Map} $default-elevation-carousel
|
|
116
|
+
$material-carousel: $light-carousel;
|
|
117
|
+
|
|
111
118
|
/// Generates a fluent carousel schema.
|
|
112
119
|
/// @type {Map}
|
|
113
120
|
/// @prop {Number} button-elevation [0] - The elevation level, between 0-24, to be used for the carousel buttons.
|
|
@@ -14,9 +14,8 @@
|
|
|
14
14
|
/// @prop {Map} tick-color [color: ('gray', 50)] - The checked mark color.
|
|
15
15
|
/// @prop {Map} tick-color-hover [color: ('gray', 50)] - The checked mark color on hover.
|
|
16
16
|
/// @prop {Map} label-color [color: ('gray', 900)]- The text color used for the label text.
|
|
17
|
-
/// @prop {Map} empty-color [color: ('gray',
|
|
18
|
-
/// @prop {Map} fill-color [color: ('
|
|
19
|
-
/// @prop {Map} fill-color-hover [color: ('secondary', 500)] - The checked border and fill colors on hover.
|
|
17
|
+
/// @prop {Map} empty-color [color: ('gray', 500)] - The unchecked border color.
|
|
18
|
+
/// @prop {Map} fill-color [color: ('primary', 500)] - The checked border and fill colors.
|
|
20
19
|
/// @prop {Map} disabled-color [color: ('gray', 400)] - The disabled border and fill colors.
|
|
21
20
|
/// @prop {Map} disabled-indeterminate-color [color: ('secondary', 100)] - The disabled border and fill colors in indeterminate state.
|
|
22
21
|
/// @prop {Map} disabled-color-label [color: ('gray', 500)] - The disabled color of the label.
|
|
@@ -46,21 +45,16 @@ $light-checkbox: (
|
|
|
46
45
|
empty-color: (
|
|
47
46
|
color: (
|
|
48
47
|
'gray',
|
|
49
|
-
|
|
48
|
+
500,
|
|
50
49
|
),
|
|
51
50
|
),
|
|
52
51
|
fill-color: (
|
|
53
52
|
color: (
|
|
54
|
-
'
|
|
55
|
-
500,
|
|
56
|
-
),
|
|
57
|
-
),
|
|
58
|
-
fill-color-hover: (
|
|
59
|
-
color: (
|
|
60
|
-
'secondary',
|
|
53
|
+
'primary',
|
|
61
54
|
500,
|
|
62
55
|
),
|
|
63
56
|
),
|
|
57
|
+
|
|
64
58
|
disabled-color: (
|
|
65
59
|
color: (
|
|
66
60
|
'gray',
|
|
@@ -107,13 +101,43 @@ $light-checkbox: (
|
|
|
107
101
|
),
|
|
108
102
|
);
|
|
109
103
|
|
|
104
|
+
/// Generates a material checkbox schema.
|
|
105
|
+
/// @type {Map}
|
|
106
|
+
/// @prop {Map} empty-color [color: ('gray', 600)] - The unchecked border color.
|
|
107
|
+
/// @prop {Map} fill-color [color: ('secondary', 500)] - The checked border and fill colors.
|
|
108
|
+
/// @prop {Map} fill-color-hover [color: ('secondary', 500)] - The checked border and fill colors on hover.
|
|
109
|
+
/// @requires {Map} $light-checkbox
|
|
110
|
+
$material-checkbox: extend(
|
|
111
|
+
$light-checkbox,
|
|
112
|
+
(
|
|
113
|
+
empty-color: (
|
|
114
|
+
color: (
|
|
115
|
+
'gray',
|
|
116
|
+
600,
|
|
117
|
+
),
|
|
118
|
+
),
|
|
119
|
+
|
|
120
|
+
fill-color: (
|
|
121
|
+
color: (
|
|
122
|
+
'secondary',
|
|
123
|
+
500,
|
|
124
|
+
),
|
|
125
|
+
),
|
|
126
|
+
|
|
127
|
+
fill-color-hover: (
|
|
128
|
+
color: (
|
|
129
|
+
'secondary',
|
|
130
|
+
500,
|
|
131
|
+
),
|
|
132
|
+
),
|
|
133
|
+
)
|
|
134
|
+
);
|
|
135
|
+
|
|
110
136
|
/// Generates a fluent checkbox schema.
|
|
111
137
|
/// @type {Map}
|
|
112
138
|
/// @prop {Map} tick-color-hover [color: ('gray', 700)] - The checked mark color on hover when the control in unchecked.
|
|
113
139
|
/// @prop {Map} empty-color [color: ('gray', 900)] - The unchecked border color.
|
|
114
|
-
/// @prop {Map} fill-color [color: ('primary', 500)] - The checked border and fill colors.
|
|
115
140
|
/// @prop {Map} fill-color-hover [color: ('primary', 900)] - The checked border and fill colors on hover.
|
|
116
|
-
/// @prop {Map} disabled-color [color: ('gray', 400)] - The disabled border and fill colors.
|
|
117
141
|
/// @prop {Map} focus-outline-color [color: ('gray', 800)] - The focus outlined color.
|
|
118
142
|
/// @prop {Map} error-color-hover [color: ('error', 900)] - The border and fill colors in invalid state on hover.
|
|
119
143
|
/// @prop {List} border-radius [(rem(2px), rem(0), rem(10px))] - The border radius used for checkbox.
|
|
@@ -140,24 +164,12 @@ $fluent-checkbox: extend(
|
|
|
140
164
|
900,
|
|
141
165
|
),
|
|
142
166
|
),
|
|
143
|
-
fill-color: (
|
|
144
|
-
color: (
|
|
145
|
-
'primary',
|
|
146
|
-
500,
|
|
147
|
-
),
|
|
148
|
-
),
|
|
149
167
|
fill-color-hover: (
|
|
150
168
|
color: (
|
|
151
169
|
'primary',
|
|
152
170
|
900,
|
|
153
171
|
),
|
|
154
172
|
),
|
|
155
|
-
disabled-color: (
|
|
156
|
-
color: (
|
|
157
|
-
'gray',
|
|
158
|
-
400,
|
|
159
|
-
),
|
|
160
|
-
),
|
|
161
173
|
error-color-hover: (
|
|
162
174
|
color: (
|
|
163
175
|
'error',
|
|
@@ -183,9 +195,7 @@ $fluent-checkbox: extend(
|
|
|
183
195
|
|
|
184
196
|
/// Generates a bootstrap checkbox schema.
|
|
185
197
|
/// @type {Map}
|
|
186
|
-
/// @prop {Map} fill-color [color: ('primary', 500)] - The checked border and fill colors.
|
|
187
198
|
/// @prop {Map} fill-color-hover [color: ('primary', 500)] - The checked border and fill colors on hover.
|
|
188
|
-
/// @prop {Map} empty-color [color: ('gray', 500)] - The unchecked border color.
|
|
189
199
|
/// @prop {Map} disabled-color [color: ('primary', 200)] - The disabled border and fill colors.
|
|
190
200
|
/// @prop {Map} disabled-color-label [color: ('gray', 400)] - The disabled color of the label.
|
|
191
201
|
/// @prop {Map} focus-outline-color [color: ('primary', 200)] - The focus outlined color.
|
|
@@ -202,24 +212,12 @@ $bootstrap-checkbox: extend(
|
|
|
202
212
|
200,
|
|
203
213
|
),
|
|
204
214
|
),
|
|
205
|
-
fill-color: (
|
|
206
|
-
color: (
|
|
207
|
-
'primary',
|
|
208
|
-
500,
|
|
209
|
-
),
|
|
210
|
-
),
|
|
211
215
|
fill-color-hover: (
|
|
212
216
|
color: (
|
|
213
217
|
'primary',
|
|
214
218
|
500,
|
|
215
219
|
),
|
|
216
220
|
),
|
|
217
|
-
empty-color: (
|
|
218
|
-
color: (
|
|
219
|
-
'gray',
|
|
220
|
-
500,
|
|
221
|
-
),
|
|
222
|
-
),
|
|
223
221
|
disabled-color: (
|
|
224
222
|
color: (
|
|
225
223
|
'primary',
|
|
@@ -259,9 +257,7 @@ $bootstrap-checkbox: extend(
|
|
|
259
257
|
/// @type {Map}
|
|
260
258
|
/// @prop {Color} tick-color [color: 'surface'] - The checked mark color.
|
|
261
259
|
/// @prop {Color} tick-color-hover [color: 'surface'] - The checked mark color on hover.
|
|
262
|
-
/// @prop {Map} fill-color [color: ('primary', 500)] - The checked border and fill colors.
|
|
263
260
|
/// @prop {Map} fill-color-hover [color: ('primary', 400)] - The checked border and fill colors on hover.
|
|
264
|
-
/// @prop {Map} empty-color [color: ('gray', 500)] - The unchecked border color.
|
|
265
261
|
/// @prop {Map} disabled-color [color: ('gray', 300)] - The disabled border and fill colors.
|
|
266
262
|
/// @prop {Map} disabled-indeterminate-color [color: ('primary', 200)] - The disabled border and fill colors in checked/indeterminate state.
|
|
267
263
|
/// @prop {Map} disabled-color-label [color: ('gray', 300)] - The disabled label color.
|
|
@@ -292,24 +288,12 @@ $indigo-checkbox: extend(
|
|
|
292
288
|
tick-color-hover: (
|
|
293
289
|
color: 'surface',
|
|
294
290
|
),
|
|
295
|
-
fill-color: (
|
|
296
|
-
color: (
|
|
297
|
-
'primary',
|
|
298
|
-
500,
|
|
299
|
-
),
|
|
300
|
-
),
|
|
301
291
|
fill-color-hover: (
|
|
302
292
|
color: (
|
|
303
293
|
'primary',
|
|
304
294
|
400,
|
|
305
295
|
),
|
|
306
296
|
),
|
|
307
|
-
empty-color: (
|
|
308
|
-
color: (
|
|
309
|
-
'gray',
|
|
310
|
-
500,
|
|
311
|
-
),
|
|
312
|
-
),
|
|
313
297
|
disabled-color: (
|
|
314
298
|
color: (
|
|
315
299
|
'gray',
|
|
@@ -11,24 +11,20 @@
|
|
|
11
11
|
/// Generates a light chip schema.
|
|
12
12
|
/// @type {Map}
|
|
13
13
|
/// @prop {List} border-radius [(rem(16px), rem(0), rem(16px))] - The border radius used for chip.
|
|
14
|
-
/// @prop {Map}
|
|
15
|
-
/// @prop {Map} background [color: ('gray', 300)] - The chip background color.
|
|
14
|
+
/// @prop {Map} background [color: ('gray', 200)] - The chip background color.
|
|
16
15
|
/// @prop {Color} border-color [transparent] - The chip border color.
|
|
17
16
|
/// @prop {Map} ghost-background [color: ('gray', 400))] - The chip ghost background color.
|
|
18
17
|
/// @prop {Map} hover-text-color [contrast-color: ('gray', 400)] - The chip text hover color.
|
|
19
18
|
/// @prop {Map} hover-background [color: ('gray', 400)] - The chip hover background color.
|
|
20
19
|
/// @prop {Color} hover-border-color [transparent] - The chip hover border color.
|
|
21
20
|
/// @prop {Map} selected-text-color [color: ('gray', 700)] - The selected chip text color.
|
|
22
|
-
/// @prop {Map} selected-background [color: ('
|
|
21
|
+
/// @prop {Map} selected-background [color: ('primary', 500)] - The selected chip background color.
|
|
23
22
|
/// @prop {Color} selected-border-color [transparent] The selected chip border color.
|
|
24
|
-
/// @prop {Map} focus-background [color: ('gray', 500)] The focused chip background color.
|
|
25
23
|
/// @prop {Map} focus-text-color [contrast-color: ('gray', 500)] The focused chip text color.
|
|
26
24
|
/// @prop {Color} focus-border-color [transparent] - The chip focus border color.
|
|
27
25
|
/// @prop {Map} hover-selected-text-color [contrast-color: ('gray', 400)] - The selected chip hover text color.
|
|
28
26
|
/// @prop {Map} hover-selected-background [color: ('gray', 400)] - The selected chip hover background color.
|
|
29
27
|
/// @prop {Color} hover-selected-border-color [transparent] - The selected chip hover border color.
|
|
30
|
-
/// @prop {Map} focus-selected-text-color [contrast-color: ('gray', 500)] - The selected chip text focus color.
|
|
31
|
-
/// @prop {Map} focus-selected-background [color: ('gray', 500)] - The selected chip focus background color.
|
|
32
28
|
/// @prop {Color} focus-selected-border-color [transparent] - The selected chip focus border color.
|
|
33
29
|
/// @prop {Number} ghost-elevation [8] - The elevation level, between 0-24, to be used for the chip's ghost (dragging mode).
|
|
34
30
|
/// @prop {color} remove-icon-color ["'currentColor'"] - The remove icon color for the chip.
|
|
@@ -50,17 +46,10 @@ $light-chip: extend(
|
|
|
50
46
|
|
|
51
47
|
remove-icon-color-focus: "'currentColor'",
|
|
52
48
|
|
|
53
|
-
text-color: (
|
|
54
|
-
contrast-color: (
|
|
55
|
-
'gray',
|
|
56
|
-
300,
|
|
57
|
-
),
|
|
58
|
-
),
|
|
59
|
-
|
|
60
49
|
background: (
|
|
61
50
|
color: (
|
|
62
51
|
'gray',
|
|
63
|
-
|
|
52
|
+
200,
|
|
64
53
|
),
|
|
65
54
|
),
|
|
66
55
|
|
|
@@ -96,13 +85,6 @@ $light-chip: extend(
|
|
|
96
85
|
),
|
|
97
86
|
),
|
|
98
87
|
|
|
99
|
-
focus-background: (
|
|
100
|
-
color: (
|
|
101
|
-
'gray',
|
|
102
|
-
500,
|
|
103
|
-
),
|
|
104
|
-
),
|
|
105
|
-
|
|
106
88
|
focus-border-color: transparent,
|
|
107
89
|
|
|
108
90
|
selected-text-color: (
|
|
@@ -114,8 +96,8 @@ $light-chip: extend(
|
|
|
114
96
|
|
|
115
97
|
selected-background: (
|
|
116
98
|
color: (
|
|
117
|
-
'
|
|
118
|
-
|
|
99
|
+
'primary',
|
|
100
|
+
500,
|
|
119
101
|
),
|
|
120
102
|
),
|
|
121
103
|
|
|
@@ -137,20 +119,6 @@ $light-chip: extend(
|
|
|
137
119
|
|
|
138
120
|
hover-selected-border-color: transparent,
|
|
139
121
|
|
|
140
|
-
focus-selected-text-color: (
|
|
141
|
-
contrast-color: (
|
|
142
|
-
'gray',
|
|
143
|
-
500,
|
|
144
|
-
),
|
|
145
|
-
),
|
|
146
|
-
|
|
147
|
-
focus-selected-background: (
|
|
148
|
-
color: (
|
|
149
|
-
'gray',
|
|
150
|
-
500,
|
|
151
|
-
),
|
|
152
|
-
),
|
|
153
|
-
|
|
154
122
|
focus-selected-border-color: transparent,
|
|
155
123
|
|
|
156
124
|
border-radius: (
|
|
@@ -193,15 +161,71 @@ $light-chip: extend(
|
|
|
193
161
|
)
|
|
194
162
|
);
|
|
195
163
|
|
|
164
|
+
/// Generates a material chip schema.
|
|
165
|
+
/// @type {Map}
|
|
166
|
+
/// @prop {Map} text-color [contrast-color: ('gray', 300)] - The chip text color.
|
|
167
|
+
/// @prop {Map} background [color: ('gray', 300)] - The chip background color.
|
|
168
|
+
/// @prop {Map} focus-background [color: ('gray', 500)] The focused chip background color.
|
|
169
|
+
/// @prop {Map} selected-background [color: ('gray', 300)] - The selected chip background color.
|
|
170
|
+
/// @prop {Map} focus-selected-text-color [contrast-color: ('gray', 500)] - The selected chip text focus color.
|
|
171
|
+
/// @prop {Map} focus-selected-background [color: ('gray', 500)] - The selected chip focus background color.
|
|
172
|
+
/// @requires {Map} $light-chip
|
|
173
|
+
/// @requires {Map} $default-elevation-chip
|
|
174
|
+
$material-chip: extend(
|
|
175
|
+
$light-chip,
|
|
176
|
+
$default-elevation-chip,
|
|
177
|
+
(
|
|
178
|
+
text-color: (
|
|
179
|
+
contrast-color: (
|
|
180
|
+
'gray',
|
|
181
|
+
300,
|
|
182
|
+
),
|
|
183
|
+
),
|
|
184
|
+
|
|
185
|
+
background: (
|
|
186
|
+
color: (
|
|
187
|
+
'gray',
|
|
188
|
+
300,
|
|
189
|
+
),
|
|
190
|
+
),
|
|
191
|
+
|
|
192
|
+
focus-background: (
|
|
193
|
+
color: (
|
|
194
|
+
'gray',
|
|
195
|
+
500,
|
|
196
|
+
),
|
|
197
|
+
),
|
|
198
|
+
|
|
199
|
+
selected-background: (
|
|
200
|
+
color: (
|
|
201
|
+
'gray',
|
|
202
|
+
300,
|
|
203
|
+
),
|
|
204
|
+
),
|
|
205
|
+
|
|
206
|
+
focus-selected-text-color: (
|
|
207
|
+
contrast-color: (
|
|
208
|
+
'gray',
|
|
209
|
+
500,
|
|
210
|
+
),
|
|
211
|
+
),
|
|
212
|
+
|
|
213
|
+
focus-selected-background: (
|
|
214
|
+
color: (
|
|
215
|
+
'gray',
|
|
216
|
+
500,
|
|
217
|
+
),
|
|
218
|
+
),
|
|
219
|
+
)
|
|
220
|
+
);
|
|
221
|
+
|
|
196
222
|
/// Generates a fluent chip schema.
|
|
197
223
|
/// @type {Map}
|
|
198
224
|
/// @prop {Map} text-color [color: ('gray', 700)] - The chip text color.
|
|
199
|
-
/// @prop {Map} background [color: ('gray', 200)] - The chip background color.
|
|
200
225
|
/// @prop {Map} ghost-background [color: ('primary', 500)] - The chip ghost background color.
|
|
201
226
|
/// @prop {Map} hover-background [color: ('gray', 200)] - The chip hover background color.
|
|
202
227
|
/// @prop {Map} hover-text-color [contrast-color: ('gray', 200)] - The chip text hover color.
|
|
203
228
|
/// @prop {Map} selected-text-color [contrast-color: ('primary', 700))] - The selected chip text color.
|
|
204
|
-
/// @prop {Map} selected-background [color: ('primary', 500)] - The selected chip background color.
|
|
205
229
|
/// @prop {Map} focus-background [color: ('primary', 600)] The focused chip background color.
|
|
206
230
|
/// @prop {Map} focus-text-color [contrast-color: ('primary', 700)] The focused chip text color.
|
|
207
231
|
/// @prop {Map} hover-selected-text-color [contrast-color: ('primary', 700)] - The selected chip hover text color.
|
|
@@ -215,13 +239,6 @@ $fluent-chip: extend(
|
|
|
215
239
|
$light-chip,
|
|
216
240
|
$fluent-elevation-chip,
|
|
217
241
|
(
|
|
218
|
-
background: (
|
|
219
|
-
color: (
|
|
220
|
-
'gray',
|
|
221
|
-
200,
|
|
222
|
-
),
|
|
223
|
-
),
|
|
224
|
-
|
|
225
242
|
text-color: (
|
|
226
243
|
color: (
|
|
227
244
|
'gray',
|
|
@@ -250,13 +267,6 @@ $fluent-chip: extend(
|
|
|
250
267
|
),
|
|
251
268
|
),
|
|
252
269
|
|
|
253
|
-
selected-background: (
|
|
254
|
-
color: (
|
|
255
|
-
'primary',
|
|
256
|
-
500,
|
|
257
|
-
),
|
|
258
|
-
),
|
|
259
|
-
|
|
260
270
|
focus-background: (
|
|
261
271
|
color: (
|
|
262
272
|
'primary',
|
|
@@ -310,12 +320,10 @@ $fluent-chip: extend(
|
|
|
310
320
|
|
|
311
321
|
/// Generates a bootstrap chip schema.
|
|
312
322
|
/// @type {Map}
|
|
313
|
-
/// @prop {Map} background [color: ('gray', 200)] - The chip background color.
|
|
314
323
|
/// @prop {Map} text-color [contrast-color: ('gray', 200)] - The chip text color.
|
|
315
324
|
/// @prop {Map} selected-background [color: ('gray', 200)] - The selected chip background color.
|
|
316
325
|
/// @prop {Map} focus-text-color [contrast-color: ('gray', 400)] The focused chip text color.
|
|
317
326
|
/// @prop {Map} focus-background [color: ('gray', 400)] The focused chip background color.
|
|
318
|
-
/// @prop {Map} hover-selected-background [color: ('gray', 400)] - The selected chip hover background color.
|
|
319
327
|
/// @prop {Map} focus-selected-background [color: ('gray', 400)] - The selected chip focus background color.
|
|
320
328
|
/// @prop {Map} focus-selected-text-color [contrast-color: ('gray', 400)] - The selected chip text focus color.
|
|
321
329
|
/// @prop {Number} ghost-elevation [0] - The elevation level, between 0-24, to be used for the chip's ghost (dragging mode).
|
|
@@ -328,13 +336,6 @@ $bootstrap-chip: extend(
|
|
|
328
336
|
$light-chip,
|
|
329
337
|
$bootstrap-elevation-chip,
|
|
330
338
|
(
|
|
331
|
-
background: (
|
|
332
|
-
color: (
|
|
333
|
-
'gray',
|
|
334
|
-
200,
|
|
335
|
-
),
|
|
336
|
-
),
|
|
337
|
-
|
|
338
339
|
text-color: (
|
|
339
340
|
contrast-color: (
|
|
340
341
|
'gray',
|
|
@@ -384,13 +385,6 @@ $bootstrap-chip: extend(
|
|
|
384
385
|
),
|
|
385
386
|
),
|
|
386
387
|
|
|
387
|
-
hover-selected-background: (
|
|
388
|
-
color: (
|
|
389
|
-
'gray',
|
|
390
|
-
400,
|
|
391
|
-
),
|
|
392
|
-
),
|
|
393
|
-
|
|
394
388
|
focus-selected-text-color: (
|
|
395
389
|
contrast-color: (
|
|
396
390
|
'gray',
|
|
@@ -417,7 +411,6 @@ $bootstrap-chip: extend(
|
|
|
417
411
|
/// @prop {Map} hover-background [color: ('gray', 200)] - The chip hover background color.
|
|
418
412
|
/// @prop {Map} focus-background [color: ('surface')] The focused chip background color.
|
|
419
413
|
/// @prop {Map} selected-text-color [contrast-color: ('primary', 500)] - The selected chip text color.
|
|
420
|
-
/// @prop {Map} selected-background [color: ('primary', 500)] - The selected chip background color.
|
|
421
414
|
/// @prop {Map} hover-selected-text-color [contrast-color: ('primary', 400)] - The selected chip hover text color.
|
|
422
415
|
/// @prop {Map} hover-selected-background [color: ('primary', 400)] - The selected chip hover background color.
|
|
423
416
|
/// @prop {Map} focus-selected-text-color [contrast-color: ('primary', 400)] - The selected chip text focus color.
|
|
@@ -509,13 +502,6 @@ $indigo-chip: extend(
|
|
|
509
502
|
),
|
|
510
503
|
),
|
|
511
504
|
|
|
512
|
-
selected-background: (
|
|
513
|
-
color: (
|
|
514
|
-
'primary',
|
|
515
|
-
500,
|
|
516
|
-
),
|
|
517
|
-
),
|
|
518
|
-
|
|
519
505
|
hover-selected-text-color: (
|
|
520
506
|
contrast-color: (
|
|
521
507
|
'primary',
|
|
@@ -26,6 +26,11 @@ $light-column-actions: (
|
|
|
26
26
|
),
|
|
27
27
|
);
|
|
28
28
|
|
|
29
|
+
/// Generates a material column actions schema.
|
|
30
|
+
/// @type {Map}
|
|
31
|
+
/// @requires {map} $light-column-actions
|
|
32
|
+
$material-column-actions: $light-column-actions;
|
|
33
|
+
|
|
29
34
|
/// Generates a fluent column actions schema.
|
|
30
35
|
/// @type {Map}
|
|
31
36
|
/// @requires {map} $light-column-actions
|