igniteui-theming 6.0.2 → 6.1.0-beta.2

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": "6.0.2",
3
+ "version": "6.1.0-beta.2",
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": {
@@ -22,6 +22,7 @@ $dark-material-slider: $material-slider;
22
22
  /// @prop {Map} track-color [color: ('gray', 600)] - The color of the track.
23
23
  /// @prop {Map} track-hover-color [color: ('primary', 300)] - The color of the track on hover.
24
24
  /// @prop {Map} thumb-border-color [color: ('gray', 400)] - The thumb border color.
25
+ /// @prop {Map} thumb-border-hover-color [color: ('gray', 400)] - The thumb border color on hover.
25
26
  /// @prop {Map} thumb-focus-color [color: ('primary', 100)] - The focus outline color of the thumb.
26
27
  /// @prop {Map} thumb-disabled-border-color [color: ('gray', 200)] - The thumb border color when it's disabled.
27
28
  /// @prop {Map} disabled-base-track-color [color: ('gray', 100)] - The base background color of the track when is disabled.
@@ -60,6 +61,12 @@ $dark-fluent-slider: extend(
60
61
  400,
61
62
  ),
62
63
  ),
64
+ thumb-border-hover-color: (
65
+ color: (
66
+ 'gray',
67
+ 400,
68
+ ),
69
+ ),
63
70
  thumb-focus-color: (
64
71
  color: (
65
72
  'primary',
@@ -114,23 +121,121 @@ $dark-bootstrap-slider: extend(
114
121
 
115
122
  /// Generates a dark indigo slider schema.
116
123
  /// @type {Map}
117
- /// @prop {Map} base-track-color [color: ('gray', 200)] - The base background color of the track.
118
- /// @prop {Map} base-track-hover-color [color: ('gray', 400)] - The base background color of the track on hover.
124
+ /// @prop {Map} track-step-color [contrast-color: ('gray', 50, 0.3)] - The color of the track steps.
125
+ /// @prop {Map} base-track-color [contrast-color: ('gray', 50, 0.3)] - The base background color of the track.
126
+ /// @prop {Map} base-track-hover-color [contrast-color: ('gray', 50, 0.4)] - The base background color of the track on hover.
127
+ /// @prop {Map} track-color [color: ('primary', 400)] - The color of the track.
128
+ /// @prop {Map} track-hover-color [color: ('primary', 300)] - The color of the track on hover.
129
+ /// @prop {Map} thumb-color [color: 'surface'] - The color of the thumb.
130
+ /// @prop {Map} thumb-border-color [color: ('primary', 400)] - The thumb border color.
131
+ /// @prop {Map} thumb-border-hover-color [color: ('primary', 300)] - The thumb border color when hovered.
132
+ /// @prop {Map} tick-color [contrast-color: ('gray', 50, 0.2)] - The background-color of the tick.
133
+ /// @prop {Map} tick-label-color [contrast-color: ('gray', 50, 0.6)] - The color of the tick label.
134
+ /// @prop {Map} label-background-color [color: ('gray', 300)] - The background color of the bubble label.
135
+ /// @prop {Map} label-text-color [contrast-color: ('gray', 50)] - The text color of the bubble label.
136
+ /// @prop {Map} disabled-thumb-color [color: 'surface'] - The thumb color when it's disabled.
137
+ /// @prop {Map} thumb-disabled-border-color [color: ('primary', 800)] - The thumb border color when it's disabled.
138
+ /// @prop {Map} disabled-base-track-color [contrast-color: ('gray', 50, 0.15)] - The base background color of the track when is disabled.
139
+ /// @prop {Map} disabled-fill-track-color [color: ('primary', 800)] - The background color of the fill track when is disabled.
119
140
  /// @requires $indigo-slider
120
141
  $dark-indigo-slider: extend(
121
142
  $indigo-slider,
122
143
  (
144
+ track-step-color: (
145
+ contrast-color: (
146
+ 'gray',
147
+ 50,
148
+ 0.3,
149
+ ),
150
+ ),
123
151
  base-track-color: (
124
- color: (
152
+ contrast-color: (
125
153
  'gray',
126
- 200,
154
+ 50,
155
+ 0.3,
127
156
  ),
128
157
  ),
129
158
  base-track-hover-color: (
130
- color: (
159
+ contrast-color: (
131
160
  'gray',
161
+ 50,
162
+ 0.4,
163
+ ),
164
+ ),
165
+ track-color: (
166
+ color: (
167
+ 'primary',
168
+ 400,
169
+ ),
170
+ ),
171
+ track-hover-color: (
172
+ color: (
173
+ 'primary',
174
+ 300,
175
+ ),
176
+ ),
177
+ thumb-color: (
178
+ color: 'surface',
179
+ ),
180
+ thumb-border-color: (
181
+ color: (
182
+ 'primary',
132
183
  400,
133
184
  ),
134
185
  ),
186
+ thumb-border-hover-color: (
187
+ color: (
188
+ 'primary',
189
+ 300,
190
+ ),
191
+ ),
192
+ tick-color: (
193
+ contrast-color: (
194
+ 'gray',
195
+ 50,
196
+ 0.2,
197
+ ),
198
+ ),
199
+ tick-label-color: (
200
+ contrast-color: (
201
+ 'gray',
202
+ 50,
203
+ 0.6,
204
+ ),
205
+ ),
206
+ label-background-color: (
207
+ color: (
208
+ 'gray',
209
+ 300,
210
+ ),
211
+ ),
212
+ label-text-color: (
213
+ contrast-color: (
214
+ 'gray',
215
+ 50,
216
+ ),
217
+ ),
218
+ disabled-thumb-color: (
219
+ color: 'surface',
220
+ ),
221
+ thumb-disabled-border-color: (
222
+ color: (
223
+ 'primary',
224
+ 800,
225
+ ),
226
+ ),
227
+ disabled-base-track-color: (
228
+ contrast-color: (
229
+ 'gray',
230
+ 50,
231
+ 0.15,
232
+ ),
233
+ ),
234
+ disabled-fill-track-color: (
235
+ color: (
236
+ 'primary',
237
+ 800,
238
+ ),
239
+ ),
135
240
  )
136
241
  );
@@ -51,18 +51,39 @@ $dark-bootstrap-splitter: $bootstrap-splitter;
51
51
 
52
52
  /// Generates a dark indigo splitter schema.
53
53
  /// @type {Map}
54
- /// @prop {Map} handle-color [color: 'surface'] - The color for the bar drag handle.
55
- /// @prop {Map} expander-color [color: 'surface'] - The color for the bar drag handle.
54
+ /// @prop {Map} bar-color [color: ('gray', 200)] - The background color of the bar.
55
+ /// @prop {Map} focus-color [color: ('gray', 300)] - The color used for focused splitter bar.
56
+ /// @prop {Map} handle-color [color: ('gray', 600)] - The color for the bar drag handle.
57
+ /// @prop {Map} expander-color [color: ('gray', 600)] - The color for the arrow expander.
56
58
  /// @requires $indigo-splitter
57
59
  $dark-indigo-splitter: extend(
58
60
  $indigo-splitter,
59
61
  (
62
+ bar-color: (
63
+ color: (
64
+ 'gray',
65
+ 200,
66
+ ),
67
+ ),
68
+
69
+ focus-color: (
70
+ color: (
71
+ 'gray',
72
+ 300,
73
+ ),
74
+ ),
60
75
  handle-color: (
61
- color: 'surface',
76
+ color: (
77
+ 'gray',
78
+ 600,
79
+ ),
62
80
  ),
63
81
 
64
82
  expander-color: (
65
- color: 'surface',
83
+ color: (
84
+ 'gray',
85
+ 600,
86
+ ),
66
87
  ),
67
88
  )
68
89
  );
@@ -1,5 +1,6 @@
1
1
  @use '../../../../utils/map' as *;
2
2
  @use '../light/time-picker' as *;
3
+ @use '../elevation/time-picker' as *;
3
4
 
4
5
  ////
5
6
  /// @package theming
@@ -9,13 +10,35 @@
9
10
 
10
11
  /// Generates a dark material time-picker schema.
11
12
  /// @type {Map}
13
+ /// @prop {Map} divider-color [color: ('gray', 100)] - The divider color of the time picker.
12
14
  /// @requires $material-time-picker
13
- $dark-material-time-picker: $material-time-picker;
15
+ $dark-material-time-picker: extend(
16
+ $material-time-picker,
17
+ (
18
+ divider-color: (
19
+ color: (
20
+ 'gray',
21
+ 100,
22
+ ),
23
+ ),
24
+ )
25
+ );
14
26
 
15
27
  /// Generates a dark fluent time-picker schema.
16
28
  /// @type {Map}
29
+ /// @prop {Map} divider-color [color: ('gray', 100)] - The divider color of the time picker.
17
30
  /// @requires $fluent-time-picker
18
- $dark-fluent-time-picker: $fluent-time-picker;
31
+ $dark-fluent-time-picker: extend(
32
+ $fluent-time-picker,
33
+ (
34
+ divider-color: (
35
+ color: (
36
+ 'gray',
37
+ 100,
38
+ ),
39
+ ),
40
+ )
41
+ );
19
42
 
20
43
  /// Generates a dark bootstrap time-picker schema.
21
44
  /// @type {Map}
@@ -24,30 +47,80 @@ $dark-bootstrap-time-picker: $bootstrap-time-picker;
24
47
 
25
48
  /// Generates a dark indigo time-picker schema.
26
49
  /// @type {Map}
27
- /// @prop {Map} text-color [contrast-color: ('surface')] - The text color of an open time picker.
28
- /// @prop {Map} selected-text-color [color: ('primary', 300)] - The text color of a selected item in time picker.
29
- /// @prop {Map} hover-text-color [color: ('primary', 300)] - The hover text color of an open time picker.
50
+ /// @prop {Map} text-color [color: ('gray', 900)] - The text color of an open time picker.
51
+ /// @prop {Map} background-color [color: ('gray', 50)] - The time-picker panel background color.
52
+ /// @prop {Map} header-background [color: ('gray', 50)] - The header background color of a time picker.
53
+ /// @prop {Map} selected-text-color [color: ('primary', 200)] - The text color of a selected item in time picker.
54
+ /// @prop {Map} hover-text-color [color: ('primary', 200)] - The hover text color of an open time picker.
55
+ /// @prop {Color} border-color [color: ('gray', 100)] - The border-color of the time picker.
56
+ /// @prop {Color} divider-color [color: ('gray', 100)] - The divider color of the time picker.
57
+ /// @prop {Map} header-hour-text-color [contrast-color: ('gray', 50)] - The header hour text color of a time picker.
58
+ /// @prop {Map} header-time-period-color [contrast-color: ('gray', 50)] - The header AM/PM text color of a time picker.
30
59
  /// @requires $indigo-time-picker
31
60
  $dark-indigo-time-picker: extend(
32
61
  $indigo-time-picker,
62
+ $dark-indigo-elevation-time-picker,
33
63
  (
34
64
  text-color: (
35
- contrast-color: (
36
- 'surface',
65
+ color: (
66
+ 'gray',
67
+ 900,
68
+ ),
69
+ ),
70
+
71
+ background-color: (
72
+ color: (
73
+ 'gray',
74
+ 50,
75
+ ),
76
+ ),
77
+
78
+ header-background: (
79
+ color: (
80
+ 'gray',
81
+ 50,
37
82
  ),
38
83
  ),
39
84
 
40
85
  hover-text-color: (
41
86
  color: (
42
87
  'primary',
43
- 300,
88
+ 200,
89
+ ),
90
+ ),
91
+
92
+ header-hour-text-color: (
93
+ contrast-color: (
94
+ 'gray',
95
+ 50,
96
+ ),
97
+ ),
98
+
99
+ header-time-period-color: (
100
+ contrast-color: (
101
+ 'gray',
102
+ 50,
44
103
  ),
45
104
  ),
46
105
 
47
106
  selected-text-color: (
48
107
  color: (
49
108
  'primary',
50
- 300,
109
+ 200,
110
+ ),
111
+ ),
112
+
113
+ border-color: (
114
+ color: (
115
+ 'gray',
116
+ 100,
117
+ ),
118
+ ),
119
+
120
+ divider-color: (
121
+ color: (
122
+ 'gray',
123
+ 100,
51
124
  ),
52
125
  ),
53
126
  )
@@ -111,17 +111,85 @@ $dark-bootstrap-tree: extend(
111
111
 
112
112
  /// Generates a dark indigo tree schema.
113
113
  /// @type {Map}
114
- /// @prop {Map} hover-color [color: ('primary', 200, .5)] - The background color used for the tree node on hover.
114
+ /// @prop {Map} background-active [color: ('primary', 400, 0.3)] - The background color used for the active tree node.
115
+ /// @prop {Map} background-active-selected [color: ('primary', 400, 0.3)] - The background color used for the active selected tree node.
116
+ /// @prop {Map} foreground [contrast-color: ('gray', 50, 0.8)] - The color used for the tree node content.
117
+ /// @prop {Map} foreground-active [contrast-color: ('gray', 50)] - The color used for the content in active state of the tree node.
118
+ /// @prop {Map} foreground-selected [contrast-color: ('gray', 50)] - The color used for the content of the selected tree node.
119
+ /// @prop {Map} foreground-active-selected [contrast-color: ('gray', 50)] - The color used for the content of the active selected tree node.
120
+ /// @prop {Map} foreground-disabled [contrast-color: ('gray', 50, 0.2)] - The color used for the content of the disabled tree node.
121
+ /// @prop {Map} icon-color [contrast-color: ('gray', 50, 0.8)] - The color used for the tree node icon.
122
+ /// @prop {Map} hover-color [contrast-color: ('gray', 50, .1)] - The background color used for the tree node on hover.
123
+ /// @prop {Map} hover-selected-color [color: ('primary', 400, 0.5)] - The background color used for the selected tree node on hover.
115
124
  /// @requires $indigo-tree
116
125
  /// @requires $base-dark-tree
117
126
  $dark-indigo-tree: extend(
118
127
  $indigo-tree,
119
- $base-dark-tree,
120
128
  (
129
+ foreground: (
130
+ contrast-color: (
131
+ 'gray',
132
+ 50,
133
+ 0.8,
134
+ ),
135
+ ),
136
+ foreground-selected: (
137
+ contrast-color: (
138
+ 'gray',
139
+ 50,
140
+ ),
141
+ ),
142
+ background-active: (
143
+ color: (
144
+ 'primary',
145
+ 400,
146
+ 0.3,
147
+ ),
148
+ ),
149
+ foreground-active: (
150
+ contrast-color: (
151
+ 'gray',
152
+ 50,
153
+ ),
154
+ ),
155
+ background-active-selected: (
156
+ color: (
157
+ 'primary',
158
+ 400,
159
+ 0.3,
160
+ ),
161
+ ),
162
+ foreground-active-selected: (
163
+ contrast-color: (
164
+ 'gray',
165
+ 50,
166
+ ),
167
+ ),
168
+ foreground-disabled: (
169
+ contrast-color: (
170
+ 'gray',
171
+ 50,
172
+ 0.2,
173
+ ),
174
+ ),
175
+ icon-color: (
176
+ contrast-color: (
177
+ 'gray',
178
+ 50,
179
+ 0.8,
180
+ ),
181
+ ),
121
182
  hover-color: (
183
+ contrast-color: (
184
+ 'gray',
185
+ 50,
186
+ 0.1,
187
+ ),
188
+ ),
189
+ hover-selected-color: (
122
190
  color: (
123
191
  'primary',
124
- 200,
192
+ 400,
125
193
  0.5,
126
194
  ),
127
195
  ),
@@ -11,3 +11,11 @@ $default-elevation-time-picker: (
11
11
  modal-elevation: 24,
12
12
  dropdown-elevation: 8,
13
13
  );
14
+ $indigo-elevation-time-picker: (
15
+ modal-elevation: 5,
16
+ dropdown-elevation: 3,
17
+ );
18
+ $dark-indigo-elevation-time-picker: (
19
+ modal-elevation: 7,
20
+ dropdown-elevation: 2,
21
+ );
@@ -14,9 +14,6 @@
14
14
  /// @prop {Map} track-color [color: ('secondary', 500)] - The color of the track.
15
15
  /// @prop {Color} track-step-color [white] - The color of the track steps.
16
16
  /// @prop {Number} track-step-size [rem(3px)] - The size of the track steps.
17
- /// @prop {Map} thumb-color [color: ('secondary', 500)] - The color of the thumb.
18
- /// @prop {Map} thumb-border-color [color: ('secondary', 500)] - The thumb border color.
19
- /// @prop {Map} thumb-border-focus-color [color: ('secondary', 500)] - The thumb border color when focused.
20
17
  /// @prop {Map} thumb-disabled-border-color [color: ('gray', 400)] - The thumb border color when it's disabled.
21
18
  /// @prop {Map} label-background-color [color: ('gray', 700)] - The background color of the bubble label.
22
19
  /// @prop {Map} label-text-color [contrast-color: ('gray', 700)] - The text color of the bubble label.
@@ -31,24 +28,6 @@ $light-slider: (
31
28
  ),
32
29
  track-step-color: white,
33
30
  track-step-size: rem(3px),
34
- thumb-color: (
35
- color: (
36
- 'secondary',
37
- 500,
38
- ),
39
- ),
40
- thumb-border-color: (
41
- color: (
42
- 'secondary',
43
- 500,
44
- ),
45
- ),
46
- thumb-border-focus-color: (
47
- color: (
48
- 'secondary',
49
- 500,
50
- ),
51
- ),
52
31
  thumb-disabled-border-color: (
53
32
  color: (
54
33
  'gray',
@@ -83,6 +62,10 @@ $light-slider: (
83
62
 
84
63
  /// Generates a material slider schema.
85
64
  /// @type {Map}
65
+ /// @prop {Map} thumb-color [color: ('secondary', 500)] - The color of the thumb.
66
+ /// @prop {Map} thumb-border-color [color: ('secondary', 500)] - The thumb border color.
67
+ /// @prop {Map} thumb-border-hover-color [color: ('secondary', 500)] - The thumb border color when hovered.
68
+ /// @prop {Map} thumb-border-focus-color [color: ('secondary', 500)] - The thumb border color when focused.
86
69
  /// @prop {Color} thumb-focus-color [transparent] - The focus outline color of the thumb.
87
70
  /// @prop {Map} track-step-color [color: ('secondary', 200)] - The color of the track steps.
88
71
  /// @prop {Map} track-hover-color [color: ('secondary', 400)] - The color of the track on hover.
@@ -95,6 +78,30 @@ $light-slider: (
95
78
  $material-slider: extend(
96
79
  $light-slider,
97
80
  (
81
+ thumb-color: (
82
+ color: (
83
+ 'secondary',
84
+ 500,
85
+ ),
86
+ ),
87
+ thumb-border-color: (
88
+ color: (
89
+ 'secondary',
90
+ 500,
91
+ ),
92
+ ),
93
+ thumb-border-hover-color: (
94
+ color: (
95
+ 'secondary',
96
+ 500,
97
+ ),
98
+ ),
99
+ thumb-border-focus-color: (
100
+ color: (
101
+ 'secondary',
102
+ 500,
103
+ ),
104
+ ),
98
105
  track-step-color: (
99
106
  color: (
100
107
  'secondary',
@@ -149,6 +156,7 @@ $material-slider: extend(
149
156
  /// @prop {Map} track-hover-color [color: ('primary', 500)] - The color of the track on hover.
150
157
  /// @prop {Map} thumb-color [color: ('surface', 500)] - The color of the thumb.
151
158
  /// @prop {Map} thumb-border-color [color: ('gray', 700)] - The thumb border color.
159
+ /// @prop {Map} thumb-border-hover-color [color: ('gray', 700)] - The thumb border color when hovered.
152
160
  /// @prop {Map} thumb-border-focus-color [color: ('gray', 700)] - The thumb border color when focused.
153
161
  /// @prop {Map} thumb-focus-color [color: ('primary', 700)] - The focus outline color of the thumb.
154
162
  /// @prop {Map} disabled-thumb-color [color: ('surface', 500)] - The thumb color when its disabled.
@@ -185,6 +193,12 @@ $fluent-slider: extend(
185
193
  700,
186
194
  ),
187
195
  ),
196
+ thumb-border-hover-color: (
197
+ color: (
198
+ 'gray',
199
+ 700,
200
+ ),
201
+ ),
188
202
  thumb-border-focus-color: (
189
203
  color: (
190
204
  'gray',
@@ -242,6 +256,7 @@ $fluent-slider: extend(
242
256
  /// @prop {Map} base-track-hover-color [color: ('secondary', 500, .24)] - The base background color of the track on hover.
243
257
  /// @prop {Map} thumb-color [color: ('primary', 500)] - The color of the thumb.
244
258
  /// @prop {Map} thumb-border-color [color: ('primary', 500)] - The thumb border color.
259
+ /// @prop {Map} thumb-border-hover-color [color: ('primary', 500)] - The thumb border color when hovered.
245
260
  /// @prop {Map} thumb-border-focus-color [color: ('surface', 500)] - The thumb border color when focused.
246
261
  /// @prop {Map} thumb-focus-color [color: ('primary', 200)] - The focus outline color of the thumb.
247
262
  /// @prop {Map} disabled-thumb-color [color: ('gray', 400)] - The thumb color when its disabled.
@@ -275,6 +290,12 @@ $bootstrap-slider: extend(
275
290
  500,
276
291
  ),
277
292
  ),
293
+ thumb-border-hover-color: (
294
+ color: (
295
+ 'primary',
296
+ 500,
297
+ ),
298
+ ),
278
299
  thumb-border-focus-color: (
279
300
  color: (
280
301
  'surface',
@@ -298,23 +319,37 @@ $bootstrap-slider: extend(
298
319
 
299
320
  /// Generates an indigo slider schema.
300
321
  /// @type {Map}
301
- /// @prop {Map} track-hover-color [color: ('primary', 400)] - The color of the track on hover.
322
+ /// @prop {Map} track-step-color [color: ('gray', 900, 0.4)] - The color of the track steps.
323
+ /// @prop {Number} track-step-size [rem(2px)] - The size of the track steps.
302
324
  /// @prop {Map} base-track-color [color: ('gray', 400)] - The base background color of the track.
303
325
  /// @prop {Map} base-track-hover-color [color: ('gray', 500)] - The base background color of the track on hover.
304
- /// @prop {Map} thumb-focus-color [color: ('primary', 200)] - The focus outline color of the thumb.
305
- /// @prop {Map} disabled-thumb-color [color: ('gray', 300)] - The thumb color when its disabled.
306
- /// @prop {Map} disabled-base-track-color [color: ('gray', 300)] - The base background color of the track when is disabled.
307
- /// @prop {Map} disabled-fill-track-color [color: ('gray', 300)] - The background color of the fill track when is disabled.
326
+ /// @prop {Map} track-color [color: ('primary', 500)] - The color of the track.
327
+ /// @prop {Map} track-hover-color [color: ('primary', 400)] - The color of the track on hover.
328
+ /// @prop {Map} thumb-color [color: ('gray', 50)] - The color of the thumb.
329
+ /// @prop {Map} thumb-border-color [color: ('primary', 500)] - The thumb border color.
330
+ /// @prop {Map} thumb-border-hover-color [color: ('primary', 400)] - The thumb border color when hovered.
331
+ /// @prop {Map} thumb-border-focus-color [color: ('primary', 500)] - The thumb border color when focused.
332
+ /// @prop {Map} thumb-focus-color [color: ('primary', 400, 0.5)] - The focus outline color of the thumb.
333
+ /// @prop {Map} tick-color [color: ('gray', 300)] - The background-color of the tick.
334
+ /// @prop {Map} tick-label-color [color: ('gray', 600)] - The color of the tick label.
335
+ /// @prop {Map} label-background-color [color: ('gray', 600)] - The background color of the bubble label.
336
+ /// @prop {Map} label-text-color [contrast-color: ('gray', 600)] - The text color of the bubble label.
337
+ /// @prop {Map} disabled-thumb-color [color: ('gray', 50)] - The thumb color when it's disabled.
338
+ /// @prop {Map} thumb-disabled-border-color [color: ('primary', 50)] - The thumb border color when it's disabled.
339
+ /// @prop {Map} disabled-base-track-color [color: ('gray', 900, 0.15)] - The base background color of the track when is disabled.
340
+ /// @prop {Map} disabled-fill-track-color [color: ('primary', 50)] - The background color of the fill track when is disabled.
308
341
  /// @requires {Map} $light-slider
309
342
  $indigo-slider: extend(
310
343
  $light-slider,
311
344
  (
312
- track-hover-color: (
345
+ track-step-color: (
313
346
  color: (
314
- 'primary',
315
- 400,
347
+ 'gray',
348
+ 900,
349
+ 0.4,
316
350
  ),
317
351
  ),
352
+ track-step-size: rem(2px),
318
353
  base-track-color: (
319
354
  color: (
320
355
  'gray',
@@ -327,28 +362,96 @@ $indigo-slider: extend(
327
362
  500,
328
363
  ),
329
364
  ),
365
+ track-color: (
366
+ color: (
367
+ 'primary',
368
+ 500,
369
+ ),
370
+ ),
371
+ track-hover-color: (
372
+ color: (
373
+ 'primary',
374
+ 400,
375
+ ),
376
+ ),
377
+ thumb-color: (
378
+ color: (
379
+ 'gray',
380
+ 50,
381
+ ),
382
+ ),
383
+ thumb-border-color: (
384
+ color: (
385
+ 'primary',
386
+ 500,
387
+ ),
388
+ ),
389
+ thumb-border-hover-color: (
390
+ color: (
391
+ 'primary',
392
+ 400,
393
+ ),
394
+ ),
395
+ thumb-border-focus-color: (
396
+ color: (
397
+ 'primary',
398
+ 500,
399
+ ),
400
+ ),
330
401
  thumb-focus-color: (
331
402
  color: (
332
403
  'primary',
333
- 200,
404
+ 400,
405
+ 0.5,
334
406
  ),
335
407
  ),
336
- disabled-thumb-color: (
408
+ tick-color: (
337
409
  color: (
338
410
  'gray',
339
411
  300,
340
412
  ),
341
413
  ),
414
+ tick-label-color: (
415
+ color: (
416
+ 'gray',
417
+ 600,
418
+ ),
419
+ ),
420
+ label-background-color: (
421
+ color: (
422
+ 'gray',
423
+ 600,
424
+ ),
425
+ ),
426
+ label-text-color: (
427
+ contrast-color: (
428
+ 'gray',
429
+ 600,
430
+ ),
431
+ ),
432
+ disabled-thumb-color: (
433
+ color: (
434
+ 'gray',
435
+ 50,
436
+ ),
437
+ ),
438
+ thumb-disabled-border-color: (
439
+ color: (
440
+ 'primary',
441
+ 50,
442
+ ),
443
+ ),
342
444
  disabled-base-track-color: (
343
445
  color: (
344
446
  'gray',
345
- 300,
447
+ 900,
448
+ 0.15,
346
449
  ),
347
450
  ),
348
451
  disabled-fill-track-color: (
349
452
  color: (
350
- 'gray',
351
- 300,
453
+ 'primary',
454
+ 50,
352
455
  ),
353
456
  ),
354
457
  )
@@ -73,9 +73,9 @@ $bootstrap-splitter: $light-splitter;
73
73
  /// Generates an indigo splitter schema.
74
74
  /// @type {Map}
75
75
  /// @prop {Map} bar-color [color: ('gray', 400)] - The background color of the bar.
76
- /// @prop {Map} handle-color [color: ('surface')] - The color for the bar drag handle.
77
- /// @prop {Map} expander-color [color: ('surface')] - The color for the bar drag handle.
78
- /// @prop {Map} focus-color [color: ('primary', 500)] - The color used for focused splitter bar.
76
+ /// @prop {Map} focus-color [color: ('gray', 500)] - The color used for focused splitter bar.
77
+ /// @prop {Map} handle-color [color: ('gray', 700)] - The color for the bar drag handle.
78
+ /// @prop {Map} expander-color [color: ('gray', 700)] - The color for the arrow expander.
79
79
  /// @requires {Map} $light-splitter
80
80
  $indigo-splitter: extend(
81
81
  $light-splitter,
@@ -89,20 +89,22 @@ $indigo-splitter: extend(
89
89
 
90
90
  focus-color: (
91
91
  color: (
92
- 'primary',
92
+ 'gray',
93
93
  500,
94
94
  ),
95
95
  ),
96
96
 
97
97
  handle-color: (
98
98
  color: (
99
- 'surface',
99
+ 'gray',
100
+ 700,
100
101
  ),
101
102
  ),
102
103
 
103
104
  expander-color: (
104
105
  color: (
105
- 'surface',
106
+ 'gray',
107
+ 700,
106
108
  ),
107
109
  ),
108
110
  )
@@ -13,6 +13,7 @@
13
13
  /// @prop {Map} text-color [color: ('gray', 500)] - The text color of an open time picker.
14
14
  /// @prop {Map} hover-text-color [color: ('secondary', 500)] - The hover text color of an open time picker.
15
15
  /// @prop {Map} selected-text-color [color: ('secondary', 500)] - The text color of a selected item in time picker.
16
+ /// @prop {Map} active-item-foreground [color: ('gray', 500)] - The foreground color for current item in focused column inside the time picker.
16
17
  /// @prop {Map} active-item-background [color: ('gray', 100)] - The background color for current item in focused column inside the time picker.
17
18
  /// @prop {Map} disabled-text-color [color: ('gray', 400)] - The text color for disabled values.
18
19
  /// @prop {Color} disabled-item-background [transparent] - The background color for disabled values .
@@ -20,9 +21,11 @@
20
21
  /// @prop {Map} header-hour-text-color [contrast-color: ('secondary', 500)] - The header hour text color of a time picker.
21
22
  /// @prop {Map} header-time-period-color [contrast-color: ('secondary', 500, .8)] - The header AM/PM text color of a time picker.
22
23
  /// @prop {Map} background-color [color: 'surface'] - The time-picker panel background color.
23
- /// @prop {Number} modal-elevation [24] - The elevation level, between 0-24, to be used for the time picker in modal mode.
24
+ /// @prop {Color} border-color [transparent] - The border-color of the time picker.
24
25
  /// @prop {Number} dropdown-elevation [8] - The elevation level, between 0-24, to be used for the time picker in dropdown mode.
25
26
  /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
27
+ /// @prop {List} time-item-size [(rem(28px), rem(32px), rem(36px))] - The height of the time item.
28
+ /// @prop {Number} default-size [2] - the default size.
26
29
  /// @requires {Map} $default-elevation-time-picker
27
30
  $light-time-picker: extend(
28
31
  $default-elevation-time-picker,
@@ -48,6 +51,13 @@ $light-time-picker: extend(
48
51
  ),
49
52
  ),
50
53
 
54
+ active-item-foreground: (
55
+ color: (
56
+ 'gray',
57
+ 500,
58
+ ),
59
+ ),
60
+
51
61
  active-item-background: (
52
62
  color: (
53
63
  'gray',
@@ -96,12 +106,25 @@ $light-time-picker: extend(
96
106
  rem(20px),
97
107
  ),
98
108
  ),
109
+
110
+ border-color: transparent,
111
+
112
+ time-item-size: (
113
+ sizable: (
114
+ rem(28px),
115
+ rem(32px),
116
+ rem(36px),
117
+ ),
118
+ ),
119
+
120
+ default-size: 2,
99
121
  )
100
122
  );
101
123
 
102
124
  /// Generates a light material time-picker schema.
103
125
  /// @type {Map}
104
126
  /// @prop {List} active-item-border-radius [(rem(15px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
127
+ /// @prop {Map} divider-color [color: ('gray', 200)] - The divider color of the time picker.
105
128
  /// @requires {Map} $light-time-picker
106
129
  $material-time-picker: extend(
107
130
  $light-time-picker,
@@ -113,6 +136,13 @@ $material-time-picker: extend(
113
136
  rem(20px),
114
137
  ),
115
138
  ),
139
+
140
+ divider-color: (
141
+ color: (
142
+ 'gray',
143
+ 200,
144
+ ),
145
+ ),
116
146
  )
117
147
  );
118
148
 
@@ -120,6 +150,8 @@ $material-time-picker: extend(
120
150
  /// @type {Map}
121
151
  /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
122
152
  /// @prop {List} active-item-border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
153
+ /// @prop {List} time-item-size [(rem(28px), rem(32px), rem(40px))] - The height of the time item.
154
+ /// @prop {Map} divider-color [color: ('gray', 200)] - The divider color of the time picker.
123
155
  /// @requires $light-time-picker
124
156
  $fluent-time-picker: extend(
125
157
  $light-time-picker,
@@ -138,6 +170,19 @@ $fluent-time-picker: extend(
138
170
  rem(20px),
139
171
  ),
140
172
  ),
173
+ divider-color: (
174
+ color: (
175
+ 'gray',
176
+ 200,
177
+ ),
178
+ ),
179
+ time-item-size: (
180
+ sizable: (
181
+ rem(28px),
182
+ rem(32px),
183
+ rem(40px),
184
+ ),
185
+ ),
141
186
  )
142
187
  );
143
188
 
@@ -146,6 +191,7 @@ $fluent-time-picker: extend(
146
191
  /// @prop {Map} selected-text-color [color: ('primary', 500)] - The text color of a selected item in time picker.
147
192
  /// @prop {Map} hover-text-color [color: ('primary', 600)] - The hover text color of an open time picker.
148
193
  /// @prop {Map} header-background [color: ('primary', 500)] - The header background color of a time picker.
194
+ /// @prop {Map} divider-color [color: ('gray', 300)] - The divider color of the time picker.
149
195
  /// @prop {List} active-item-border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
150
196
  /// @requires $light-time-picker
151
197
  $bootstrap-time-picker: extend(
@@ -179,28 +225,41 @@ $bootstrap-time-picker: extend(
179
225
  rem(20px),
180
226
  ),
181
227
  ),
228
+
229
+ divider-color: (
230
+ color: (
231
+ 'gray',
232
+ 300,
233
+ ),
234
+ ),
182
235
  )
183
236
  );
184
237
 
185
238
  /// Generates an indigo time-picker schema.
186
239
  /// @type {Map}
187
- /// @prop {Map} text-color [color: ('gray', 700)] - The text color of an open time picker.
188
- /// @prop {Map} selected-text-color [color: ('primary', 500)] - The text color of a selected item in time picker.
240
+ /// @prop {Map} text-color [color: ('gray', 800)] - The text color of an open time picker.
189
241
  /// @prop {Map} hover-text-color [color: ('primary', 500)] - The hover text color of an open time picker.
190
- /// @prop {Map} header-background [color: ('primary', 500)] - The header background color of a time picker.
191
- /// @prop {Map} header-hour-text-color [contrast-color: ('primary', 500)] - The header hour text color of a time picker.
192
- /// @prop {Map} header-time-period-color [contrast-color: ('primary', 500)] - The header AM/PM text color of a time picker.
193
- /// @prop {List} border-radius [(rem(3px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
194
- /// @prop {List} active-item-border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
242
+ /// @prop {Map} selected-text-color [color: ('primary', 500)] - The text color of a selected item in time picker.
243
+ /// @prop {Map} active-item-background [color: ('primary', 500)] - The background color for current item in focused column inside the time picker.
244
+ /// @prop {Map} active-item-foreground [contrast-color: ('primary', 900)] - The foreground color for current item in focused column inside the time picker.
245
+ /// @prop {Map} background-color [contrast-color: ('gray', 900)] - The time-picker panel background color.
246
+ /// @prop {Map} header-background [contrast-color: ('gray', 900)] - The header background color of a time picker.
247
+ /// @prop {Map} header-hour-text-color [color: ('gray', 800)] - The header hour text color of a time picker.
248
+ /// @prop {Map} header-time-period-color [color: ('gray', 800)] - The header AM/PM text color of a time picker.
249
+ /// @prop {List} border-radius [(rem(6px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
250
+ /// @prop {List} active-item-border-radius [(rem(32px), rem(0), rem(32px))] - The border radius used for the highlight of the active item in the time-picker.
251
+ /// @prop {Color} border-color [color: ('gray', 400)] - The border-color of the time picker.
252
+ /// @prop {Map} divider-color [color: ('gray', 400)] - The divider color of the time picker.
195
253
  ///
196
254
  /// @requires $light-time-picker
197
255
  $indigo-time-picker: extend(
198
256
  $light-time-picker,
257
+ $indigo-elevation-time-picker,
199
258
  (
200
259
  text-color: (
201
260
  color: (
202
261
  'gray',
203
- 700,
262
+ 800,
204
263
  ),
205
264
  ),
206
265
 
@@ -218,39 +277,75 @@ $indigo-time-picker: extend(
218
277
  ),
219
278
  ),
220
279
 
221
- header-background: (
280
+ active-item-foreground: (
281
+ contrast-color: (
282
+ 'primary',
283
+ 900,
284
+ ),
285
+ ),
286
+
287
+ active-item-background: (
222
288
  color: (
223
289
  'primary',
224
290
  500,
225
291
  ),
226
292
  ),
227
293
 
228
- header-hour-text-color: (
294
+ background-color: (
229
295
  contrast-color: (
230
- 'primary',
231
- 500,
296
+ 'gray',
297
+ 900,
232
298
  ),
233
299
  ),
234
300
 
235
- header-time-period-color: (
301
+ header-background: (
236
302
  contrast-color: (
237
- 'primary',
238
- 500,
303
+ 'gray',
304
+ 900,
305
+ ),
306
+ ),
307
+
308
+ header-hour-text-color: (
309
+ color: (
310
+ 'gray',
311
+ 800,
312
+ ),
313
+ ),
314
+
315
+ header-time-period-color: (
316
+ color: (
317
+ 'gray',
318
+ 800,
239
319
  ),
240
320
  ),
241
321
 
242
322
  border-radius: (
243
323
  border-radius: (
244
- rem(3px),
324
+ rem(6px),
245
325
  rem(0),
246
326
  rem(20px),
247
327
  ),
248
328
  ),
329
+
249
330
  active-item-border-radius: (
250
331
  border-radius: (
251
- rem(20px),
332
+ rem(32px),
252
333
  rem(0),
253
- rem(20px),
334
+ rem(32px),
335
+ ),
336
+ ),
337
+
338
+ border-color: (
339
+ color: (
340
+ 'gray',
341
+ 400,
342
+ ),
343
+ ),
344
+
345
+ divider-color: (
346
+ color: (
347
+ 'gray',
348
+ 400,
254
349
  ),
255
350
  ),
256
351
  )
@@ -18,6 +18,7 @@
18
18
  /// @prop {Map} foreground [contrast-color: ('surface')] - The color used for the tree node content.
19
19
  /// @prop {Map} foreground-active [contrast-color: ('gray', 200)] - The color used for the content in active state of the tree node.
20
20
  /// @prop {Map} foreground-disabled [color: ('gray', 500)] - The color used for the content of the disabled tree node.
21
+ /// @prop {Map} icon-color [contrast-color: ('surface')] - The color used for the tree node icon.
21
22
  /// @prop {Map} drop-area-color [color: ('secondary')] - The background color used for the tree node drop aria.
22
23
  /// @prop {Map} hover-color [color: ('gray', 900, .1)] - The background color used for the tree node on hover.
23
24
  /// @prop {Map} hover-selected-color [color: ('gray', 900, .1)] - The background color used for the selected tree node on hover.
@@ -34,6 +35,11 @@ $light-tree: (
34
35
  'surface',
35
36
  ),
36
37
  ),
38
+ icon-color: (
39
+ contrast-color: (
40
+ 'surface',
41
+ ),
42
+ ),
37
43
  background-selected: (
38
44
  color: (
39
45
  'primary',
@@ -223,61 +229,104 @@ $bootstrap-tree: extend(
223
229
 
224
230
  /// Generates a light indigo tree schema.
225
231
  /// @type {Map}
226
- /// @prop {Map} background-active [color: ('surface')] - The background color used for the active tree node.
227
- /// @prop {Map} foreground-active [contrast-color: ('primary')] - The color used for the content in active state of the tree node.
228
- /// @prop {Map} foreground-selected [contrast-color: ('primary')] - The color used for the content of the selected tree node.
229
- /// @prop {Map} background-active-selected [color: ('primary', 400)] - The background color used for the active selected tree node.
230
- /// @prop {Map} foreground-active-selected [contrast-color: ('primary', 400)] - The color used for the content of the active selected tree node.
231
- /// @prop {Map} border-color [color: ('primary', 300)] - The outline shadow color used for tree node in focus state.
232
- /// @prop {Map} hover-color [color: ('primary', 100)] - The background color used for the tree node on hover.
233
- /// @prop {Map} hover-selected-color [color: ('primary', 100)] - The background color used for the selected tree node on hover.
232
+ /// @prop {Color} background [transparent] - The background color used for the tree node.
233
+ /// @prop {Color} background-selected [transparent] - The background color used for the selected tree node.
234
+ /// @prop {Map} background-active [color: ('primary', 300, 0.3)] - The background color used for the active tree node.
235
+ /// @prop {Map} background-active-selected [color: ('primary', 300, 0.3)] - The background color used for the active selected tree node.
236
+ /// @prop {Color} background-disabled [transparent] - The background color used for the tree node in disabled state.
237
+ /// @prop {Map} foreground [color: ('gray', 800)] - The color used for the tree node content.
238
+ /// @prop {Map} foreground-active [color: ('gray', 900)] - The color used for the content in active state of the tree node.
239
+ /// @prop {Map} foreground-selected [color: ('gray', 900)] - The color used for the content of the selected tree node.
240
+ /// @prop {Map} foreground-active-selected [color: ('gray', 900)] - The color used for the content of the active selected tree node.
241
+ /// @prop {Map} foreground-disabled [color: ('gray', 900, 0.2)] - The color used for the content of the disabled tree node.
242
+ /// @prop {Map} icon-color [color: ('gray', 600)] - The color used for the tree node icon.
243
+ /// @prop {Map} border-color [color: ('primary', 400)] - The outline shadow color used for tree node in focus state.
244
+ /// @prop {Map} hover-color [color: ('gray', 900, .05)] - The background color used for the tree node on hover.
245
+ /// @prop {Map} hover-selected-color [color: ('primary', 300, 0.5)] - The background color used for the selected tree node on hover.
246
+ /// @prop {List} size [(rem(24px), rem(28px), rem(32px))] - The size used for the tree node.
234
247
  /// @requires {Map} $light-tree
235
248
  $indigo-tree: extend(
236
249
  $light-tree,
237
250
  (
251
+ background: transparent,
252
+ foreground: (
253
+ color: (
254
+ 'gray',
255
+ 800,
256
+ ),
257
+ ),
258
+ background-selected: transparent,
259
+ foreground-selected: (
260
+ color: (
261
+ 'gray',
262
+ 900,
263
+ ),
264
+ ),
238
265
  background-active: (
239
266
  color: (
240
- 'surface',
267
+ 'primary',
268
+ 300,
269
+ 0.3,
241
270
  ),
242
271
  ),
243
272
  foreground-active: (
244
273
  color: (
245
- 'primary',
274
+ 'gray',
275
+ 900,
246
276
  ),
247
277
  ),
248
- foreground-selected: (
249
- contrast-color: (
250
- 'primary',
278
+ background-disabled: transparent,
279
+ foreground-disabled: (
280
+ color: (
281
+ 'gray',
282
+ 900,
283
+ 0.2,
251
284
  ),
252
285
  ),
253
286
  background-active-selected: (
254
287
  color: (
255
288
  'primary',
256
- 400,
289
+ 300,
290
+ 0.3,
257
291
  ),
258
292
  ),
259
293
  foreground-active-selected: (
260
- contrast-color: (
261
- 'primary',
262
- 400,
294
+ color: (
295
+ 'gray',
296
+ 900,
297
+ ),
298
+ ),
299
+ icon-color: (
300
+ color: (
301
+ 'gray',
302
+ 600,
263
303
  ),
264
304
  ),
265
305
  border-color: (
266
306
  color: (
267
307
  'primary',
268
- 300,
308
+ 400,
269
309
  ),
270
310
  ),
271
311
  hover-color: (
272
312
  color: (
273
- 'primary',
274
- 100,
313
+ 'gray',
314
+ 900,
315
+ 0.05,
275
316
  ),
276
317
  ),
277
318
  hover-selected-color: (
278
319
  color: (
279
320
  'primary',
280
- 100,
321
+ 300,
322
+ 0.5,
323
+ ),
324
+ ),
325
+ size: (
326
+ sizable: (
327
+ rem(24px),
328
+ rem(28px),
329
+ rem(32px),
281
330
  ),
282
331
  ),
283
332
  )
@@ -46,3 +46,11 @@
46
46
 
47
47
  @return $sign + $result;
48
48
  }
49
+
50
+ /// Removes measurement units from variable.
51
+ /// @access private
52
+ /// @param {Number} $var - The variable to remove the unit of.
53
+ /// @return {Number} - The given variable without units.
54
+ @function unitless($var) {
55
+ @return math.div($var, $var * 0 + 1);
56
+ }