igniteui-theming 4.0.0 → 4.1.0-beta.1
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/_calendar.scss +25 -194
- package/sass/themes/schemas/components/dark/_drop-down.scss +21 -0
- package/sass/themes/schemas/components/light/_calendar.scss +1851 -668
- package/sass/themes/schemas/components/light/_drop-down.scss +57 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-theming",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.1.0-beta.1",
|
|
4
4
|
"description": "A set of Sass variables, mixins, and functions for generating palettes, typography, and elevations used by Ignite UI components.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -12,57 +12,39 @@
|
|
|
12
12
|
|
|
13
13
|
/// Generates a dark calendar schema.
|
|
14
14
|
/// @type {Map}
|
|
15
|
-
/// @prop {Map} date-disabled-text-color [color: ('gray', 500)] - The text color for disabled dates.
|
|
16
|
-
/// @prop {Map} date-selected-hover-foreground [contrast-color: ('secondary', 500)] - The hover text color for the selected date.
|
|
17
|
-
/// @prop {Map} date-selected-focus-foreground [contrast-color: ('secondary', 500)] - The focus text color for the selected date.
|
|
18
15
|
/// @requires $light-calendar
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
$dark-calendar: extend($light-calendar);
|
|
17
|
+
|
|
18
|
+
/// Generates a dark fluent calendar schema.
|
|
19
|
+
/// @type {Map}
|
|
20
|
+
/// @prop {Map} date-disabled-foreground [color: ('gray', 300)] - The foreground of disabled dates.
|
|
21
|
+
/// @requires $fluent-calendar
|
|
22
|
+
$dark-fluent-calendar: extend(
|
|
23
|
+
$fluent-calendar,
|
|
22
24
|
(
|
|
23
|
-
date-disabled-
|
|
25
|
+
date-disabled-foreground: (
|
|
24
26
|
color: (
|
|
25
27
|
'gray',
|
|
26
|
-
|
|
27
|
-
),
|
|
28
|
-
),
|
|
29
|
-
|
|
30
|
-
date-selected-hover-foreground: (
|
|
31
|
-
contrast-color: (
|
|
32
|
-
'secondary',
|
|
33
|
-
500,
|
|
34
|
-
),
|
|
35
|
-
),
|
|
36
|
-
|
|
37
|
-
date-selected-focus-foreground: (
|
|
38
|
-
contrast-color: (
|
|
39
|
-
'secondary',
|
|
40
|
-
500,
|
|
28
|
+
300,
|
|
41
29
|
),
|
|
42
30
|
),
|
|
43
31
|
)
|
|
44
32
|
);
|
|
45
33
|
|
|
46
|
-
/// Generates a dark fluent calendar schema.
|
|
47
|
-
/// @type {Map}
|
|
48
|
-
/// @requires $fluent-calendar
|
|
49
|
-
$dark-fluent-calendar: extend($fluent-calendar);
|
|
50
|
-
|
|
51
34
|
/// Generates a dark bootstrap calendar schema.
|
|
52
35
|
/// @type {Map}
|
|
53
36
|
/// @prop {Map} content-background [color: ('gray', 50)] - The main content background color.
|
|
54
37
|
/// @prop {Color} picker-background-color [color: ('gray', 100, .5)] - The igx calendar picker background color.
|
|
55
38
|
/// @prop {Map} border-color [color: ('gray', 100)] - The calendar border color.
|
|
56
|
-
/// @prop {Map} picker-
|
|
57
|
-
/// @prop {Map} date-selected-
|
|
58
|
-
/// @prop {Map} date-current-
|
|
59
|
-
/// @prop {Map} date-current-hover-
|
|
60
|
-
/// @prop {Map} date-current-focus-
|
|
39
|
+
/// @prop {Map} picker-foreground [contrast-color: ('surface')]- The idle picker month/year color.
|
|
40
|
+
/// @prop {Map} date-selected-foreground [contrast-color: ('secondary', 600)] - The text color for the selected date.
|
|
41
|
+
/// @prop {Map} date-current-foreground [contrast-color: 'surface'] - The text color for the current date.
|
|
42
|
+
/// @prop {Map} date-current-hover-foreground [color: ('surface')] - The hover text color for the current date.
|
|
43
|
+
/// @prop {Map} date-current-focus-foreground [color: ('surface')] - The focus text color for the current date.
|
|
61
44
|
/// @prop {Map} week-number-background [('gray', 300, .2)] - The background color of the week number column.
|
|
62
|
-
/// @prop {Map} date-selected-hover-
|
|
63
|
-
/// @prop {Map} date-selected-focus-
|
|
45
|
+
/// @prop {Map} date-selected-hover-foreground [contrast-color: ('surface')] - The hover text color for the selected date.
|
|
46
|
+
/// @prop {Map} date-selected-focus-foreground [contrast-color: ('surface')] - The focus text color for the selected date.
|
|
64
47
|
/// @requires $bootstrap-calendar
|
|
65
|
-
/// @requires $dark-base-calendar
|
|
66
48
|
$dark-bootstrap-calendar: extend(
|
|
67
49
|
$bootstrap-calendar,
|
|
68
50
|
(
|
|
@@ -88,40 +70,40 @@ $dark-bootstrap-calendar: extend(
|
|
|
88
70
|
),
|
|
89
71
|
),
|
|
90
72
|
|
|
91
|
-
picker-
|
|
73
|
+
picker-foreground: (
|
|
92
74
|
contrast-color: (
|
|
93
75
|
'surface',
|
|
94
76
|
),
|
|
95
77
|
),
|
|
96
78
|
|
|
97
|
-
date-selected-
|
|
79
|
+
date-selected-foreground: (
|
|
98
80
|
contrast-color: (
|
|
99
81
|
'secondary',
|
|
100
82
|
600,
|
|
101
83
|
),
|
|
102
84
|
),
|
|
103
85
|
|
|
104
|
-
date-selected-hover-
|
|
86
|
+
date-selected-hover-foreground: (
|
|
105
87
|
contrast-color: (
|
|
106
88
|
'surface',
|
|
107
89
|
),
|
|
108
90
|
),
|
|
109
91
|
|
|
110
|
-
date-selected-focus-
|
|
92
|
+
date-selected-focus-foreground: (
|
|
111
93
|
contrast-color: (
|
|
112
94
|
'surface',
|
|
113
95
|
),
|
|
114
96
|
),
|
|
115
97
|
|
|
116
|
-
date-current-
|
|
98
|
+
date-current-foreground: (
|
|
117
99
|
contrast-color: 'surface',
|
|
118
100
|
),
|
|
119
101
|
|
|
120
|
-
date-current-hover-
|
|
102
|
+
date-current-hover-foreground: (
|
|
121
103
|
contrast-color: 'surface',
|
|
122
104
|
),
|
|
123
105
|
|
|
124
|
-
date-current-focus-
|
|
106
|
+
date-current-focus-foreground: (
|
|
125
107
|
contrast-color: 'surface',
|
|
126
108
|
),
|
|
127
109
|
|
|
@@ -137,156 +119,5 @@ $dark-bootstrap-calendar: extend(
|
|
|
137
119
|
|
|
138
120
|
/// Generates a dark indigo calendar schema.
|
|
139
121
|
/// @type {Map}
|
|
140
|
-
/// @prop {Map} content-text-color [contrast-color: ('surface')] - The main content text color.
|
|
141
|
-
/// @prop {Map} inactive-text-color [color: ('gray', 700)] - The text color for previous and next month dates.
|
|
142
|
-
/// @prop {Map} label-color [color: ('gray', 700)] - The text color for weekday labels.
|
|
143
|
-
/// @prop {Map} weekend-text-color [color: ('gray', 700)] - The text color for weekend days.
|
|
144
|
-
/// @prop {Map} picker-arrow-color [color: ('gray', 800)] - The idle picker arrow color.
|
|
145
|
-
/// @prop {Map} picker-arrow-hover-color [contrast-color: ('surface')] - The picker hover arrow color.
|
|
146
|
-
/// @prop {Map} picker-text-color [color: ('gray', 800)]- The idle picker month/year color.
|
|
147
|
-
/// @prop {Map} picker-text-hover-color [contrast-color: ('surface')]- The hover picker month/year color.
|
|
148
|
-
/// @prop {Map} month-hover-text-color [color: ('primary', 300)] - The month hover text color.
|
|
149
|
-
/// @prop {Map} year-hover-text-color [color: ('primary', 300)] - The year hover text color.
|
|
150
|
-
/// @prop {Map} year-current-text-color [color: ('primary', 300)] - The text color for the current/selected year.
|
|
151
|
-
/// @prop {Map} month-current-text-color [color: ('primary', 300)]- The text color for the current/selected month.
|
|
152
|
-
/// @prop {Map} month-hover-current-text-color [color: ('primary', 300)]- The text color for the current/selected month on hover.
|
|
153
|
-
/// @prop {Map} date-selected-hover-text-color [contrast-color: ('surface')] - The hover text color for the selected date.
|
|
154
|
-
/// @prop {Map} date-selected-focus-text-color [contrast-color: ('surface')] - The focus text color for the selected date.
|
|
155
|
-
/// @prop {Map} date-current-hover-text-color [color: ('primary', 200)] - The hover text color for the current date.
|
|
156
|
-
/// @prop {Map} date-current-focus-text-color [color: ('gray', 100)] - The focus text color for the current date.
|
|
157
|
-
/// @prop {Map} date-current-hover-bg-color [color: ('gray', 100)] - The hover background color for the current date.
|
|
158
|
-
/// @prop {Map} date-current-focus-bg-color [color: ('gray', 100)] - The focus background color for the current date.
|
|
159
122
|
/// @requires $indigo-calendar
|
|
160
|
-
|
|
161
|
-
$dark-indigo-calendar: extend(
|
|
162
|
-
$indigo-calendar,
|
|
163
|
-
(
|
|
164
|
-
content-text-color: (
|
|
165
|
-
contrast-color: (
|
|
166
|
-
'surface',
|
|
167
|
-
),
|
|
168
|
-
),
|
|
169
|
-
|
|
170
|
-
date-current-hover-bg-color: (
|
|
171
|
-
color: (
|
|
172
|
-
'gray',
|
|
173
|
-
100,
|
|
174
|
-
),
|
|
175
|
-
),
|
|
176
|
-
|
|
177
|
-
date-current-focus-bg-color: (
|
|
178
|
-
color: (
|
|
179
|
-
'gray',
|
|
180
|
-
100,
|
|
181
|
-
),
|
|
182
|
-
),
|
|
183
|
-
|
|
184
|
-
date-current-hover-text-color: (
|
|
185
|
-
color: (
|
|
186
|
-
'primary',
|
|
187
|
-
200,
|
|
188
|
-
),
|
|
189
|
-
),
|
|
190
|
-
|
|
191
|
-
date-current-focus-text-color: (
|
|
192
|
-
color: (
|
|
193
|
-
'primary',
|
|
194
|
-
200,
|
|
195
|
-
),
|
|
196
|
-
),
|
|
197
|
-
|
|
198
|
-
inactive-text-color: (
|
|
199
|
-
color: (
|
|
200
|
-
'gray',
|
|
201
|
-
700,
|
|
202
|
-
),
|
|
203
|
-
),
|
|
204
|
-
|
|
205
|
-
date-selected-hover-text-color: (
|
|
206
|
-
contrast-color: (
|
|
207
|
-
'surface',
|
|
208
|
-
),
|
|
209
|
-
),
|
|
210
|
-
|
|
211
|
-
date-selected-focus-text-color: (
|
|
212
|
-
contrast-color: (
|
|
213
|
-
'surface',
|
|
214
|
-
),
|
|
215
|
-
),
|
|
216
|
-
|
|
217
|
-
label-color: (
|
|
218
|
-
color: (
|
|
219
|
-
'gray',
|
|
220
|
-
700,
|
|
221
|
-
),
|
|
222
|
-
),
|
|
223
|
-
|
|
224
|
-
weekend-text-color: (
|
|
225
|
-
color: (
|
|
226
|
-
'gray',
|
|
227
|
-
700,
|
|
228
|
-
),
|
|
229
|
-
),
|
|
230
|
-
|
|
231
|
-
picker-arrow-color: (
|
|
232
|
-
color: (
|
|
233
|
-
'gray',
|
|
234
|
-
800,
|
|
235
|
-
),
|
|
236
|
-
),
|
|
237
|
-
|
|
238
|
-
picker-arrow-hover-color: (
|
|
239
|
-
contrast-color: (
|
|
240
|
-
'surface',
|
|
241
|
-
),
|
|
242
|
-
),
|
|
243
|
-
|
|
244
|
-
picker-text-color: (
|
|
245
|
-
color: (
|
|
246
|
-
'gray',
|
|
247
|
-
800,
|
|
248
|
-
),
|
|
249
|
-
),
|
|
250
|
-
|
|
251
|
-
picker-text-hover-color: (
|
|
252
|
-
contrast-color: (
|
|
253
|
-
'surface',
|
|
254
|
-
),
|
|
255
|
-
),
|
|
256
|
-
|
|
257
|
-
month-hover-text-color: (
|
|
258
|
-
color: (
|
|
259
|
-
'primary',
|
|
260
|
-
300,
|
|
261
|
-
),
|
|
262
|
-
),
|
|
263
|
-
|
|
264
|
-
year-hover-text-color: (
|
|
265
|
-
color: (
|
|
266
|
-
'primary',
|
|
267
|
-
300,
|
|
268
|
-
),
|
|
269
|
-
),
|
|
270
|
-
|
|
271
|
-
month-current-text-color: (
|
|
272
|
-
color: (
|
|
273
|
-
'primary',
|
|
274
|
-
300,
|
|
275
|
-
),
|
|
276
|
-
),
|
|
277
|
-
|
|
278
|
-
month-hover-current-text-color: (
|
|
279
|
-
color: (
|
|
280
|
-
'primary',
|
|
281
|
-
300,
|
|
282
|
-
),
|
|
283
|
-
),
|
|
284
|
-
|
|
285
|
-
year-current-text-color: (
|
|
286
|
-
color: (
|
|
287
|
-
'primary',
|
|
288
|
-
300,
|
|
289
|
-
),
|
|
290
|
-
),
|
|
291
|
-
)
|
|
292
|
-
);
|
|
123
|
+
$dark-indigo-calendar: extend($indigo-calendar);
|
|
@@ -33,6 +33,8 @@ $dark-drop-down: extend($light-drop-down, $base-dark-drop-down);
|
|
|
33
33
|
/// @prop {Map} selected-item-text-color [contrast-color: 'surface'] - The drop-down selected item text color.
|
|
34
34
|
/// @prop {Map} selected-hover-item-text-color [contrast-color: 'surface'] - The drop-down selected item hover text color.
|
|
35
35
|
/// @prop {Map} selected-focus-item-text-color [contrast-color: 'surface'] - The drop-down selected item focus text color.
|
|
36
|
+
/// @prop {Map} border-color [color: ('gray', 400)] - The border color used for the drop-down items on focus state.
|
|
37
|
+
/// @prop {Map} disabled-item-text-color [color: ('gray', 200)] - The drop-down disabled item text color.
|
|
36
38
|
/// @requires $fluent-drop-down
|
|
37
39
|
/// @requires $base-dark-drop-down
|
|
38
40
|
$dark-fluent-drop-down: extend(
|
|
@@ -48,6 +50,18 @@ $dark-fluent-drop-down: extend(
|
|
|
48
50
|
selected-focus-item-text-color: (
|
|
49
51
|
contrast-color: 'surface',
|
|
50
52
|
),
|
|
53
|
+
border-color: (
|
|
54
|
+
color: (
|
|
55
|
+
'gray',
|
|
56
|
+
400,
|
|
57
|
+
),
|
|
58
|
+
),
|
|
59
|
+
disabled-item-text-color: (
|
|
60
|
+
color: (
|
|
61
|
+
'gray',
|
|
62
|
+
200,
|
|
63
|
+
),
|
|
64
|
+
),
|
|
51
65
|
)
|
|
52
66
|
);
|
|
53
67
|
|
|
@@ -55,6 +69,7 @@ $dark-fluent-drop-down: extend(
|
|
|
55
69
|
/// @type {Map}
|
|
56
70
|
/// @prop {Map} item-text-color [contrast-color: 'surface'] - The drop-down text color.
|
|
57
71
|
/// @prop {Map} hover-item-text-color [contrast-color: 'surface'] - The drop-down hover text color.
|
|
72
|
+
/// @prop {Map} disabled-item-text-color [color: ('gray', 200)] - The drop-down disabled item text color.
|
|
58
73
|
/// @requires $bootstrap-drop-down
|
|
59
74
|
/// @requires $base-dark-drop-down
|
|
60
75
|
$dark-bootstrap-drop-down: extend(
|
|
@@ -67,6 +82,12 @@ $dark-bootstrap-drop-down: extend(
|
|
|
67
82
|
hover-item-text-color: (
|
|
68
83
|
contrast-color: 'surface',
|
|
69
84
|
),
|
|
85
|
+
disabled-item-text-color: (
|
|
86
|
+
color: (
|
|
87
|
+
'gray',
|
|
88
|
+
200,
|
|
89
|
+
),
|
|
90
|
+
),
|
|
70
91
|
)
|
|
71
92
|
);
|
|
72
93
|
|