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