igniteui-theming 8.1.0 → 9.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": "8.1.0",
3
+ "version": "9.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": {
@@ -82,7 +82,6 @@ $base-stepper: (
82
82
  900,
83
83
  ),
84
84
  ),
85
-
86
85
  invalid-indicator-color: (
87
86
  color: (
88
87
  'gray',
@@ -151,33 +150,206 @@ $dark-bootstrap-stepper: extend(
151
150
 
152
151
  /// Generates a dark indigo stepper schema.
153
152
  /// @type {Map}
154
- /// @prop {Map} indicator-color [color: ('gray', 900)] - The text color of the incomplete step indicator.
155
- /// @prop {Map} indicator-outline [color: ('gray', 600)] - The outline color of the incomplete step indicator.
156
- /// @prop {Map} disabled-indicator-outline [color: ('gray', 300)] - The outline color of the disabled step indicator.
153
+ /// @prop {Map} content-foreground [contrast-color: ('gray', 50, .8)] - The foreground of the step content.
154
+ /// @prop {Map} indicator-color [color: ('gray', 50)] - The text color of the incomplete step indicator.
155
+ /// @prop {Map} indicator-background [contrast-color: ('gray', 50, .8)] - The background color of the incomplete step indicator.
156
+ /// @prop {Map} title-color [contrast-color: ('gray', 50)] - The text color of the step title.
157
+ /// @prop {Map} title-hover-color [contrast-color: ('gray', 50)] - The text color of the step title on hover.
158
+ /// @prop {Map} title-focus-color [contrast-color: ('gray', 50)] - The text color of the step title on focus.
159
+ /// @prop {Map} subtitle-color [contrast-color: ('gray', 50, .8)] - The text color of the step subtitle.
160
+ /// @prop {Map} subtitle-hover-color [contrast-color: ('gray', 50, .8)] - The text color of the step subtitle on hover.
161
+ /// @prop {Map} subtitle-focus-color [contrast-color: ('gray', 50, .8)] - The text color of the step subtitle on focus.
162
+ /// @prop {Map} step-hover-background [contrast-color: ('gray', 50, .15)] - The background of the step header on hover.
163
+ /// @prop {Map} step-focus-background [contrast-color: ('gray', 50, .15)] - The background of the step header on hover.
164
+ /// @prop {Map} current-step-hover-background [contrast-color: ('gray', 50, .15)] - The background of the current step header on hover.
165
+ /// @prop {Map} current-step-focus-background [contrast-color: ('gray', 50, .15)] - The background of the current step header on focus.
166
+ /// @prop {Map} complete-step-hover-background [contrast-color: ('gray', 50, .15)] - The background of the complete step header on hover.
167
+ /// @prop {Map} complete-step-focus-background [contrast-color: ('gray', 50, .15)] - The background of the complete step header on focus.
168
+ /// @prop {Map} invalid-step-hover-background [contrast-color: ('gray', 50, .15)] - The background of the invalid step header on hover.
169
+ /// @prop {Map} invalid-step-focus-background [contrast-color: ('gray', 50, .15)] - The background of the invalid step header on focus.
170
+ /// @prop {Map} complete-indicator-background [contrast-color: ('gray', 50, .15)] - The background color of the completed step indicator.
171
+ /// @prop {Map} complete-indicator-color [contrast-color: ('gray', 50, .8)] - The color of the completed step indicator.
172
+ /// @prop {Map} disabled-indicator-color [contrast-color: ('gray', 50, .2)] - The color of the disabled step indicator, title, and subtitle.
173
+ /// @prop {Map} disabled-indicator-background [contrast-color: ('gray', 50, .1)] - The background color of the disabled step indicator.
174
+ /// @prop {Map} disabled-title-color [contrast-color: ('gray', 50, .2)] - The title color of the disabled step.
175
+ /// @prop {Map} disabled-subtitle-color [contrast-color: ('gray', 50, .2)] - The subtitle color of the disabled step.
176
+ /// @prop {Map} step-separator-color [contrast-color: ('gray', 50, .3)] - The separator border-color of between the steps.
177
+ /// @prop {Map} complete-step-separator-color [contrast-color: ('gray', 50, .3)] - The separator border-color between the completed steps.
157
178
  /// @requires $indigo-stepper
158
179
  /// @requires $base-stepper
159
180
  $dark-indigo-stepper: extend(
160
181
  $indigo-stepper,
161
182
  $base-stepper,
162
183
  (
184
+ content-foreground: (
185
+ contrast-color: (
186
+ 'gray',
187
+ 50,
188
+ 0.8,
189
+ ),
190
+ ),
163
191
  indicator-color: (
164
192
  color: (
165
193
  'gray',
166
- 900,
194
+ 50,
167
195
  ),
168
196
  ),
169
-
170
- indicator-outline: (
171
- color: (
197
+ indicator-background: (
198
+ contrast-color: (
172
199
  'gray',
173
- 600,
200
+ 50,
201
+ 0.8,
174
202
  ),
175
203
  ),
176
-
177
- disabled-indicator-outline: (
178
- color: (
204
+ title-color: (
205
+ contrast-color: (
179
206
  'gray',
180
- 300,
207
+ 50,
208
+ ),
209
+ ),
210
+ title-hover-color: (
211
+ contrast-color: (
212
+ 'gray',
213
+ 50,
214
+ ),
215
+ ),
216
+ title-focus-color: (
217
+ contrast-color: (
218
+ 'gray',
219
+ 50,
220
+ ),
221
+ ),
222
+ subtitle-color: (
223
+ contrast-color: (
224
+ 'gray',
225
+ 50,
226
+ 0.8,
227
+ ),
228
+ ),
229
+ subtitle-hover-color: (
230
+ contrast-color: (
231
+ 'gray',
232
+ 50,
233
+ 0.8,
234
+ ),
235
+ ),
236
+ subtitle-focus-color: (
237
+ contrast-color: (
238
+ 'gray',
239
+ 50,
240
+ 0.8,
241
+ ),
242
+ ),
243
+ step-hover-background: (
244
+ contrast-color: (
245
+ 'gray',
246
+ 50,
247
+ 0.15,
248
+ ),
249
+ ),
250
+ step-focus-background: (
251
+ contrast-color: (
252
+ 'gray',
253
+ 50,
254
+ 0.15,
255
+ ),
256
+ ),
257
+ current-step-hover-background: (
258
+ contrast-color: (
259
+ 'gray',
260
+ 50,
261
+ 0.15,
262
+ ),
263
+ ),
264
+ current-step-focus-background: (
265
+ contrast-color: (
266
+ 'gray',
267
+ 50,
268
+ 0.15,
269
+ ),
270
+ ),
271
+ complete-step-hover-background: (
272
+ contrast-color: (
273
+ 'gray',
274
+ 50,
275
+ 0.15,
276
+ ),
277
+ ),
278
+ complete-step-focus-background: (
279
+ contrast-color: (
280
+ 'gray',
281
+ 50,
282
+ 0.15,
283
+ ),
284
+ ),
285
+ invalid-step-hover-background: (
286
+ contrast-color: (
287
+ 'gray',
288
+ 50,
289
+ 0.15,
290
+ ),
291
+ ),
292
+ invalid-step-focus-background: (
293
+ contrast-color: (
294
+ 'gray',
295
+ 50,
296
+ 0.15,
297
+ ),
298
+ ),
299
+ complete-indicator-background: (
300
+ contrast-color: (
301
+ 'gray',
302
+ 50,
303
+ 0.15,
304
+ ),
305
+ ),
306
+ complete-indicator-color: (
307
+ contrast-color: (
308
+ 'gray',
309
+ 50,
310
+ 0.8,
311
+ ),
312
+ ),
313
+ disabled-indicator-color: (
314
+ contrast-color: (
315
+ 'gray',
316
+ 50,
317
+ 0.2,
318
+ ),
319
+ ),
320
+ disabled-indicator-background: (
321
+ contrast-color: (
322
+ 'gray',
323
+ 50,
324
+ 0.1,
325
+ ),
326
+ ),
327
+ disabled-title-color: (
328
+ contrast-color: (
329
+ 'gray',
330
+ 50,
331
+ 0.2,
332
+ ),
333
+ ),
334
+ disabled-subtitle-color: (
335
+ contrast-color: (
336
+ 'gray',
337
+ 50,
338
+ 0.2,
339
+ ),
340
+ ),
341
+ step-separator-color: (
342
+ contrast-color: (
343
+ 'gray',
344
+ 50,
345
+ 0.3,
346
+ ),
347
+ ),
348
+ complete-step-separator-color: (
349
+ contrast-color: (
350
+ 'gray',
351
+ 50,
352
+ 0.3,
181
353
  ),
182
354
  ),
183
355
  )
@@ -1,5 +1,6 @@
1
1
  @use '../../../../utils/map' as *;
2
2
  @use '../light/toast' as *;
3
+ @use '../elevation/toast' as *;
3
4
 
4
5
  ////
5
6
  /// @package theming
@@ -72,6 +73,26 @@ $dark-bootstrap-toast: extend(
72
73
 
73
74
  /// Generates a dark indigo toast schema.
74
75
  /// @type {Map}
76
+ /// @prop {Map} background [color: ('gray', 300)] - The background color used for the toast.
77
+ /// @prop {Map} text-color [contrast-color: ('gray', 50)] - The text-color used for the toast.
75
78
  /// @requires $indigo-toast
76
- /// @requires $dark-base-toast
77
- $dark-indigo-toast: extend($indigo-toast, $dark-base-toast);
79
+ /// @requires $dark-indigo-elevation-toast
80
+ $dark-indigo-toast: extend(
81
+ $indigo-toast,
82
+ $dark-indigo-elevation-toast,
83
+ (
84
+ background: (
85
+ color: (
86
+ 'gray',
87
+ 300,
88
+ ),
89
+ ),
90
+
91
+ text-color: (
92
+ contrast-color: (
93
+ 'gray',
94
+ 50,
95
+ ),
96
+ ),
97
+ )
98
+ );
@@ -1,5 +1,6 @@
1
1
  @use '../../../../utils/map' as *;
2
2
  @use '../light/tooltip' as *;
3
+ @use '../elevation/tooltip' as *;
3
4
 
4
5
  ////
5
6
  /// @package theming
@@ -24,20 +25,26 @@ $dark-bootstrap-tooltip: $bootstrap-tooltip;
24
25
 
25
26
  /// Generates a dark indigo tooltip schema.
26
27
  /// @type {Map}
27
- /// @prop {Map} background [contrast-color: ('surface')] - The background color of the tooltip.
28
- /// @prop {Map} text-color [text-color: (color: 'surface')] - The text color of the tooltip.
29
- /// @requires $indigo-tooltip
28
+ /// @prop {Map} background [color: ('gray', 300)] - The background color of the tooltip.
29
+ /// @prop {Map} text-color [contrast-color: ('gray', 50)] - The text color of the tooltip.
30
+ /// @prop {Number} elevation [9] - The elevation level, between 0-24, to be used for the tooltip.
31
+ /// @requires {Map} $indigo-tooltip
32
+ /// @requires {Map} $dark-indigo-elevation-tooltip
30
33
  $dark-indigo-tooltip: extend(
31
34
  $indigo-tooltip,
35
+ $dark-indigo-elevation-tooltip,
32
36
  (
33
37
  background: (
34
- contrast-color: (
35
- 'surface',
38
+ color: (
39
+ 'gray',
40
+ 300,
36
41
  ),
37
42
  ),
38
-
39
43
  text-color: (
40
- color: 'surface',
44
+ contrast-color: (
45
+ 'gray',
46
+ 50,
47
+ ),
41
48
  ),
42
49
  )
43
50
  );
@@ -5,13 +5,25 @@
5
5
  ////
6
6
 
7
7
  /// @type Map
8
- /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the toast.
8
+ /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the default toast.
9
9
  $default-elevation-toast: (
10
10
  elevation: 0,
11
11
  );
12
12
 
13
13
  /// @type Map
14
- /// @prop {Number} elevation [10] - The elevation level, between 0-24, to be used for the toast.
14
+ /// @prop {Number} elevation [10] - The elevation level, between 0-24, to be used for the bootstrap toast.
15
15
  $bootstrap-elevation-toast: (
16
16
  elevation: 10,
17
17
  );
18
+
19
+ /// @type Map
20
+ /// @prop {Number} elevation [10] - The elevation level, between 0-24, to be used for the indigo toast.
21
+ $indigo-elevation-toast: (
22
+ elevation: 10,
23
+ );
24
+
25
+ /// @type Map
26
+ /// @prop {Number} elevation [11] - The elevation level, between 0-24, to be used for the dark indigo toast.
27
+ $dark-indigo-elevation-toast: (
28
+ elevation: 11,
29
+ );
@@ -0,0 +1,23 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the tooltip.
9
+ $default-elevation-tooltip: (
10
+ elevation: 0,
11
+ );
12
+
13
+ /// @type Map
14
+ /// @prop {Number} elevation [8] - The elevation level, between 0-24, to be used for the tooltip.
15
+ $indigo-elevation-tooltip: (
16
+ elevation: 8,
17
+ );
18
+
19
+ /// @type Map
20
+ /// @prop {Number} elevation [9] - The elevation level, between 0-24, to be used for the tooltip.
21
+ $dark-indigo-elevation-tooltip: (
22
+ elevation: 9,
23
+ );
@@ -23,7 +23,7 @@
23
23
  /// @prop {Map} indicator-outline [color: ('gray', 400)] - The outline color of the incomplete step indicator.
24
24
  /// @prop {Color} invalid-step-background [transparent] - The background of the invalid step header.
25
25
  /// @prop {Map} invalid-step-hover-background [color: ('gray', 200)] - The background of the invalid step header on hover.
26
- /// @prop {Map} invalid-step-focus-background [color: 'gray', 100)] - The background of the invalid step header on focus.
26
+ /// @prop {Map} invalid-step-focus-background [color: ('gray', 100)] - The background of the invalid step header on focus.
27
27
  /// @prop {Map} invalid-title-color [color: ('error')] - The color of the invalid step title.
28
28
  /// @prop {Map} invalid-title-hover-color [color: ('error')] - The color of the invalid step title on hover.
29
29
  /// @prop {Map} invalid-title-focus-color [color: ('error')] - The color of the invalid step title on focus.
@@ -35,7 +35,7 @@
35
35
  /// @prop {Map} invalid-indicator-outline [color: ('error')] - The outline color of the invalid step indicator.
36
36
  /// @prop {Color} current-step-background [transparent] - The background of the current step header.
37
37
  /// @prop {Map} current-step-hover-background [color: ('gray', 200)] - The background of the current step header on hover.
38
- /// @prop {Map} current-step-focus-background [color: 'gray', 100)] - The background of the current step header on focus.
38
+ /// @prop {Map} current-step-focus-background [color: ('gray', 100)] - The background of the current step header on focus.
39
39
  /// @prop {Map} current-title-color [color: ('gray', 900)] - The color of the current step title.
40
40
  /// @prop {Map} current-title-hover-color [color: ('gray', 900)] - The color of the current step title on hover.
41
41
  /// @prop {Map} current-title-focus-color [color: ('gray', 900)] - The color of the current step title on focus.
@@ -47,7 +47,7 @@
47
47
  /// @prop {Map} current-indicator-outline [color: ('primary', 500)] - The outline color of the current step indicator.
48
48
  /// @prop {Color} complete-step-background [transparent] - The background of the complete step header.
49
49
  /// @prop {Map} complete-step-hover-background [color: ('gray', 200)] - The background of the complete step header on hover.
50
- /// @prop {Map} complete-step-focus-background [color: 'gray', 100)] - The background of the complete step header on focus.
50
+ /// @prop {Map} complete-step-focus-background [color: ('gray', 100)] - The background of the complete step header on focus.
51
51
  /// @prop {Map} complete-title-color [color: ('gray', 900)] - The color of the complete step title.
52
52
  /// @prop {Map} complete-title-hover-color [color: ('gray', 900)] - The color of the complete step title on hover.
53
53
  /// @prop {Map} complete-title-focus-color [color: ('gray', 900)] - The color of the complete step title on focus.
@@ -65,8 +65,16 @@
65
65
  /// @prop {String} complete-step-separator-style ['solid'] - The separator border-style between the completed steps.
66
66
  /// @prop {List} border-radius-indicator [(rem(100px), rem(0), rem(100px))] - The indicator border radius.
67
67
  /// @prop {List} border-radius-step-header [(rem(0), rem(0), rem(100px))] - The header border radius.
68
+ /// @prop {Map} content-foreground [color: ('gray', 900)] - The foreground of the step content.
68
69
  $light-stepper: (
69
70
  // Step incomplete
71
+ content-foreground:
72
+ (
73
+ color: (
74
+ 'gray',
75
+ 900,
76
+ ),
77
+ ),
70
78
  step-background: transparent,
71
79
  step-hover-background: (
72
80
  color: (
@@ -629,34 +637,169 @@ $bootstrap-stepper: extend(
629
637
 
630
638
  /// Generates an indigo stepper schema.
631
639
  /// @type {Map}
632
- /// @prop {Map} complete-indicator-color [color: ('primary', 500)] - The color of the completed step indicator.
633
- /// @prop {Map} complete-indicator-background [color: ('primary', 100)] - The background color of the completed step indicator.
634
- /// @prop {Map} complete-indicator-outline [color: ('primary', 100)] - The outline color of the completed step indicator.
635
- /// @prop {String} step-separator-style ['solid'] - The separator border-style of between the steps.
640
+ /// @prop {Map} complete-indicator-background [color: ('gray', 600)] - The background color of the completed step indicator.
641
+ /// @prop {Color} complete-indicator-outline [transparent] - The outline color of the completed step indicator.
642
+ /// @prop {Map} complete-indicator-color [contrast-color: ('gray', 900)] - The color of the completed step indicator.
643
+ /// @prop {Map} step-separator-color [color: ('gray', 900, .3)] - The separator border-color of between the steps.
644
+ /// @prop {Map} complete-step-separator-color [color: ('gray', 900, .3)] - The separator border-color between the completed steps.
645
+ /// @prop {Map} indicator-background [color: ('gray', 900, .15)] - The background color of the incomplete step indicator.
646
+ /// @prop {Color} indicator-outline [transparent] - The outline color of the incomplete step indicator.
647
+ /// @prop {Map} indicator-color [color: ('gray', 800)] - The text color of the incomplete step indicator.
648
+ /// @prop {Map} step-hover-background [color: ('gray', 900, .15)] - The background of the step header on hover.
649
+ /// @prop {Map} step-focus-background [color: ('gray', 900,. 15)] - The background of the step header on focus.
650
+ /// @prop {Map} current-step-hover-background [color: ('gray', 900, .15)] - The background of the current step header on hover.
651
+ /// @prop {Map} current-step-focus-background [color: ('gray', 900, .15)] - The background of the current step header on focus.
652
+ /// @prop {Map} complete-step-hover-background [color: ('gray', 900, .15)] - The background of the complete step header on hover.
653
+ /// @prop {Map} complete-step-focus-background [color: ('gray', 900, .15)] - The background of the complete step header on focus.
654
+ /// @prop {Map} invalid-step-hover-background [color: ('gray', 900, .15)] - The background of the invalid step header on hover.
655
+ /// @prop {Map} invalid-step-focus-background [color: ('gray', 900, .15)] - The background of the invalid step header on focus.
656
+ /// @prop {Map} disabled-title-color [color: ('gray', 900, .2)] - The title color of the disabled step.
657
+ /// @prop {Map} disabled-subtitle-color [color: ('gray', 900, .2)] - The subtitle color of the disabled step.
658
+ /// @prop {Map} disabled-indicator-color [color: ('gray', 900, .2)] - The color of the disabled step indicator, title, and subtitle.
659
+ /// @prop {Map} disabled-indicator-background [color: ('gray', 900, .05)] - The background color of the disabled step indicator.
660
+ /// @prop {Color} disabled-indicator-outline [transparent] - The outline color of the disabled step indicator.
661
+ /// @prop {()} border-radius-step-header [rem(4px)] - The header border radius.
662
+ /// @prop {Color} current-indicator-outline [transparent] - The outline color of the current step indicator.
663
+ /// @prop {Map} content-foreground [color: ('gray', 700)] - The foreground of the step content.
664
+ /// @prop {Color} invalid-indicator-outline [transparent] - The outline color of the invalid step indicator.
636
665
  /// @requires $light-stepper
637
666
  $indigo-stepper: extend(
638
667
  $light-stepper,
639
668
  (
640
- // Complete
641
- complete-indicator-background:
642
- (
643
- color: (
644
- 'primary',
645
- 100,
646
- ),
669
+ content-foreground: (
670
+ color: (
671
+ 'gray',
672
+ 700,
647
673
  ),
648
- complete-indicator-outline: (
674
+ ),
675
+ complete-indicator-background: (
649
676
  color: (
650
- 'primary',
651
- 100,
677
+ 'gray',
678
+ 600,
652
679
  ),
653
680
  ),
681
+ complete-indicator-outline: transparent,
654
682
  complete-indicator-color: (
683
+ contrast-color: (
684
+ 'gray',
685
+ 900,
686
+ ),
687
+ ),
688
+ step-separator-color: (
655
689
  color: (
656
- 'primary',
657
- 500,
690
+ 'gray',
691
+ 900,
692
+ 0.3,
693
+ ),
694
+ ),
695
+ complete-step-separator-color: (
696
+ color: (
697
+ 'gray',
698
+ 900,
699
+ 0.3,
700
+ ),
701
+ ),
702
+ indicator-background: (
703
+ color: (
704
+ 'gray',
705
+ 900,
706
+ 0.15,
707
+ ),
708
+ ),
709
+ indicator-outline: transparent,
710
+ indicator-color: (
711
+ color: (
712
+ 'gray',
713
+ 800,
658
714
  ),
659
715
  ),
660
- step-separator-style: 'solid'
716
+ step-hover-background: (
717
+ color: (
718
+ 'gray',
719
+ 900,
720
+ 0.15,
721
+ ),
722
+ ),
723
+ step-focus-background: (
724
+ color: (
725
+ 'gray',
726
+ 900,
727
+ 0.15,
728
+ ),
729
+ ),
730
+ current-step-hover-background: (
731
+ color: (
732
+ 'gray',
733
+ 900,
734
+ 0.15,
735
+ ),
736
+ ),
737
+ current-step-focus-background: (
738
+ color: (
739
+ 'gray',
740
+ 900,
741
+ 0.15,
742
+ ),
743
+ ),
744
+ complete-step-hover-background: (
745
+ color: (
746
+ 'gray',
747
+ 900,
748
+ 0.15,
749
+ ),
750
+ ),
751
+ complete-step-focus-background: (
752
+ color: (
753
+ 'gray',
754
+ 900,
755
+ 0.15,
756
+ ),
757
+ ),
758
+ invalid-step-hover-background: (
759
+ color: (
760
+ 'gray',
761
+ 900,
762
+ 0.15,
763
+ ),
764
+ ),
765
+ invalid-step-focus-background: (
766
+ color: (
767
+ 'gray',
768
+ 900,
769
+ 0.15,
770
+ ),
771
+ ),
772
+ disabled-title-color: (
773
+ color: (
774
+ 'gray',
775
+ 900,
776
+ 0.2,
777
+ ),
778
+ ),
779
+ disabled-subtitle-color: (
780
+ color: (
781
+ 'gray',
782
+ 900,
783
+ 0.2,
784
+ ),
785
+ ),
786
+ disabled-indicator-color: (
787
+ color: (
788
+ 'gray',
789
+ 900,
790
+ 0.2,
791
+ ),
792
+ ),
793
+ disabled-indicator-background: (
794
+ color: (
795
+ 'gray',
796
+ 900,
797
+ 0.05,
798
+ ),
799
+ ),
800
+ disabled-indicator-outline: transparent,
801
+ border-radius-step-header: rem(4px),
802
+ current-indicator-outline: transparent,
803
+ invalid-indicator-outline: transparent,
661
804
  )
662
805
  );
@@ -117,14 +117,34 @@ $bootstrap-toast: extend(
117
117
 
118
118
  /// Generates an indigo toast schema.
119
119
  /// @type {Map}
120
- /// @prop {List} border-radius [(rem(24px), rem(0), rem(26px))] - The border radius used for toast.
121
- /// @requires {Map} $light-toast
120
+ /// @prop {Map} background [color: ('gray', 200)] - The background color used for the toast.
121
+ /// @prop {Color} border-color [transparent] - The border color used for the toast.
122
+ /// @prop {Map} text-color [color: ('gray', 700)] - The text-color used for the toast.
123
+ /// @prop {List} border-radius [(rem(6px), rem(0), rem(26px))] - The border radius used for toast.
124
+ /// @prop {Number} elevation [10] - The elevation level, between 0-24, to be used for the toast.
125
+ /// @requires {Map} $indigo-elevation-toast
122
126
  $indigo-toast: extend(
123
- $light-toast,
127
+ $indigo-elevation-toast,
124
128
  (
129
+ background: (
130
+ color: (
131
+ 'gray',
132
+ 200,
133
+ ),
134
+ ),
135
+
136
+ border-color: transparent,
137
+
138
+ text-color: (
139
+ color: (
140
+ 'gray',
141
+ 700,
142
+ ),
143
+ ),
144
+
125
145
  border-radius: (
126
146
  border-radius: (
127
- rem(24px),
147
+ rem(6px),
128
148
  rem(0),
129
149
  rem(26px),
130
150
  ),
@@ -1,5 +1,6 @@
1
1
  @use '../../../../utils/map' as *;
2
2
  @use '../../../../typography/functions' as *;
3
+ @use '../elevation/tooltip' as *;
3
4
 
4
5
  ////
5
6
  /// @package theming
@@ -9,32 +10,37 @@
9
10
 
10
11
  /// Generates a base light tooltip schema.
11
12
  /// @type {Map}
12
- /// @prop {Map} background [color: ('gray', 700, .9),] - The background color of the tooltip.
13
+ /// @prop {Map} background [color: ('gray', 700, .9)] - The background color of the tooltip.
13
14
  /// @prop {Map} text-color [contrast-color: ('gray', 700)] - The text color of the tooltip.
14
15
  /// @prop {List} border-radius [(rem(4px), rem(0), rem(16px))] - The border radius used for tooltip.
15
- $light-tooltip: (
16
- background: (
17
- color: (
18
- 'gray',
19
- 700,
20
- 0.9,
16
+ /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the tooltip.
17
+ /// @requires {Map} $default-elevation-tooltip
18
+ $light-tooltip: extend(
19
+ $default-elevation-tooltip,
20
+ (
21
+ background: (
22
+ color: (
23
+ 'gray',
24
+ 700,
25
+ 0.9,
26
+ ),
21
27
  ),
22
- ),
23
28
 
24
- text-color: (
25
- contrast-color: (
26
- 'gray',
27
- 700,
29
+ text-color: (
30
+ contrast-color: (
31
+ 'gray',
32
+ 700,
33
+ ),
28
34
  ),
29
- ),
30
35
 
31
- border-radius: (
32
36
  border-radius: (
33
- rem(4px),
34
- rem(0),
35
- rem(16px),
37
+ border-radius: (
38
+ rem(4px),
39
+ rem(0),
40
+ rem(16px),
41
+ ),
36
42
  ),
37
- ),
43
+ )
38
44
  );
39
45
 
40
46
  /// Generates a light material tooltip schema.
@@ -102,14 +108,25 @@ $bootstrap-tooltip: extend(
102
108
 
103
109
  /// Generates an indigo tooltip schema.
104
110
  /// @type {Map}
105
- /// @prop {List} border-radius [(rem(3px), rem(0), rem(16px))] - The border radius used for tooltip.
111
+ /// @prop {Map} background [color: ('gray', 600)] - The background color of the tooltip.
112
+ /// @prop {List} border-radius [(rem(4px), rem(0), rem(16px))] - The border radius used for tooltip.
113
+ /// @prop {Number} elevation [8] - The elevation level, between 0-24, to be used for the tooltip.
106
114
  /// @requires {Map} $light-tooltip
115
+ /// @requires {Map} $indigo-elevation-tooltip
107
116
  $indigo-tooltip: extend(
108
117
  $light-tooltip,
118
+ $indigo-elevation-tooltip,
109
119
  (
120
+ background: (
121
+ color: (
122
+ 'gray',
123
+ 600,
124
+ ),
125
+ ),
126
+
110
127
  border-radius: (
111
128
  border-radius: (
112
- rem(3px),
129
+ rem(4px),
113
130
  rem(0),
114
131
  rem(16px),
115
132
  ),