igniteui-theming 1.4.5 → 1.4.6

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.
Files changed (94) hide show
  1. package/package.json +1 -1
  2. package/sass/themes/schemas/components/dark/_action-strip.scss +50 -0
  3. package/sass/themes/schemas/components/dark/_badge.scss +39 -0
  4. package/sass/themes/schemas/components/dark/_banner.scss +54 -0
  5. package/sass/themes/schemas/components/dark/_bottom-nav.scss +61 -0
  6. package/sass/themes/schemas/components/dark/_button-group.scss +190 -0
  7. package/sass/themes/schemas/components/dark/_calendar.scss +338 -0
  8. package/sass/themes/schemas/components/dark/_card.scss +71 -0
  9. package/sass/themes/schemas/components/dark/_carousel.scss +127 -0
  10. package/sass/themes/schemas/components/dark/_checkbox.scss +1 -6
  11. package/sass/themes/schemas/components/dark/_chip.scss +111 -0
  12. package/sass/themes/schemas/components/dark/_column-actions.scss +28 -0
  13. package/sass/themes/schemas/components/dark/_date-range-picker.scss +28 -0
  14. package/sass/themes/schemas/components/dark/_dialog.scss +55 -0
  15. package/sass/themes/schemas/components/dark/_divider.scss +43 -0
  16. package/sass/themes/schemas/components/dark/_dock-manager.scss +349 -0
  17. package/sass/themes/schemas/components/dark/_expansion-panel.scss +87 -0
  18. package/sass/themes/schemas/components/dark/_grid-filtering.scss +28 -0
  19. package/sass/themes/schemas/components/dark/_grid-summary.scss +83 -0
  20. package/sass/themes/schemas/components/dark/_grid-toolbar.scss +36 -0
  21. package/sass/themes/schemas/components/dark/_grid.scss +684 -0
  22. package/sass/themes/schemas/components/dark/_highlight.scss +72 -0
  23. package/sass/themes/schemas/components/dark/_index.scss +214 -30
  24. package/sass/themes/schemas/components/dark/_list.scss +116 -0
  25. package/sass/themes/schemas/components/dark/_navdrawer.scss +142 -0
  26. package/sass/themes/schemas/components/dark/_overlay.scss +34 -0
  27. package/sass/themes/schemas/components/dark/_pagination.scss +44 -0
  28. package/sass/themes/schemas/components/dark/_pivot-data-selector.scss +27 -0
  29. package/sass/themes/schemas/components/dark/_progress.scss +107 -0
  30. package/sass/themes/schemas/components/dark/_query-builder.scss +35 -0
  31. package/sass/themes/schemas/components/dark/_radio.scss +1 -6
  32. package/sass/themes/schemas/components/dark/_ripple.scss +28 -0
  33. package/sass/themes/schemas/components/dark/_scrollbar.scss +69 -0
  34. package/sass/themes/schemas/components/dark/_snackbar.scss +55 -0
  35. package/sass/themes/schemas/components/dark/_splitter.scss +68 -0
  36. package/sass/themes/schemas/components/dark/_stepper.scss +186 -0
  37. package/sass/themes/schemas/components/dark/_switch.scss +0 -1
  38. package/sass/themes/schemas/components/dark/_time-picker.scss +54 -0
  39. package/sass/themes/schemas/components/dark/_toast.scss +67 -0
  40. package/sass/themes/schemas/components/dark/_tooltip.scss +44 -0
  41. package/sass/themes/schemas/components/dark/_watermark.scss +48 -0
  42. package/sass/themes/schemas/components/elevation/_badge.scss +17 -0
  43. package/sass/themes/schemas/components/elevation/_bottom-nav.scss +23 -0
  44. package/sass/themes/schemas/components/elevation/_button-group.scss +29 -0
  45. package/sass/themes/schemas/components/elevation/_card.scss +37 -0
  46. package/sass/themes/schemas/components/elevation/_carousel.scss +29 -0
  47. package/sass/themes/schemas/components/elevation/_chip.scss +29 -0
  48. package/sass/themes/schemas/components/elevation/_dialog.scss +17 -0
  49. package/sass/themes/schemas/components/elevation/_grid.scss +21 -0
  50. package/sass/themes/schemas/components/elevation/_navdrawer.scss +17 -0
  51. package/sass/themes/schemas/components/elevation/_snackbar.scss +17 -0
  52. package/sass/themes/schemas/components/elevation/_time-picker.scss +13 -0
  53. package/sass/themes/schemas/components/elevation/_toast.scss +17 -0
  54. package/sass/themes/schemas/components/light/_action-strip.scss +89 -0
  55. package/sass/themes/schemas/components/light/_avatar.scss +1 -1
  56. package/sass/themes/schemas/components/light/_badge.scss +82 -0
  57. package/sass/themes/schemas/components/light/_banner.scss +96 -0
  58. package/sass/themes/schemas/components/light/_bottom-nav.scss +61 -0
  59. package/sass/themes/schemas/components/light/_button-group.scss +426 -0
  60. package/sass/themes/schemas/components/light/_calendar.scss +908 -0
  61. package/sass/themes/schemas/components/light/_card.scss +207 -0
  62. package/sass/themes/schemas/components/light/_carousel.scss +195 -0
  63. package/sass/themes/schemas/components/light/_chip.scss +538 -0
  64. package/sass/themes/schemas/components/light/_column-actions.scss +42 -0
  65. package/sass/themes/schemas/components/light/_date-range-picker.scss +35 -0
  66. package/sass/themes/schemas/components/light/_dialog.scss +102 -0
  67. package/sass/themes/schemas/components/light/_divider.scss +33 -0
  68. package/sass/themes/schemas/components/light/_dock-manager.scss +548 -0
  69. package/sass/themes/schemas/components/light/_expansion-panel.scss +172 -0
  70. package/sass/themes/schemas/components/light/_grid-filtering.scss +105 -0
  71. package/sass/themes/schemas/components/light/_grid-summary.scss +138 -0
  72. package/sass/themes/schemas/components/light/_grid-toolbar.scss +117 -0
  73. package/sass/themes/schemas/components/light/_grid.scss +1330 -0
  74. package/sass/themes/schemas/components/light/_highlight.scss +86 -0
  75. package/sass/themes/schemas/components/light/_icon.scss +4 -14
  76. package/sass/themes/schemas/components/light/_index.scss +214 -30
  77. package/sass/themes/schemas/components/light/_list.scss +321 -0
  78. package/sass/themes/schemas/components/light/_navdrawer.scss +214 -0
  79. package/sass/themes/schemas/components/light/_overlay.scss +42 -0
  80. package/sass/themes/schemas/components/light/_pagination.scss +97 -0
  81. package/sass/themes/schemas/components/light/_pivot-data-selector.scss +38 -0
  82. package/sass/themes/schemas/components/light/_progress.scss +208 -0
  83. package/sass/themes/schemas/components/light/_query-builder.scss +138 -0
  84. package/sass/themes/schemas/components/light/_ripple.scss +36 -0
  85. package/sass/themes/schemas/components/light/_scrollbar.scss +79 -0
  86. package/sass/themes/schemas/components/light/_slider.scss +0 -4
  87. package/sass/themes/schemas/components/light/_snackbar.scss +131 -0
  88. package/sass/themes/schemas/components/light/_splitter.scss +99 -0
  89. package/sass/themes/schemas/components/light/_stepper.scss +695 -0
  90. package/sass/themes/schemas/components/light/_switch.scss +0 -5
  91. package/sass/themes/schemas/components/light/_time-picker.scss +210 -0
  92. package/sass/themes/schemas/components/light/_toast.scss +89 -0
  93. package/sass/themes/schemas/components/light/_tooltip.scss +96 -0
  94. package/sass/themes/schemas/components/light/_watermark.scss +77 -0
@@ -0,0 +1,54 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../light/time-picker' as *;
3
+
4
+ ////
5
+ /// @package theming
6
+ /// @group schemas
7
+ /// @access public
8
+ ////
9
+
10
+ /// Generates a dark time-picker schema.
11
+ /// @type {Map}
12
+ /// @requires $light-time-picker
13
+ $dark-time-picker: $light-time-picker;
14
+
15
+ /// Generates a dark fluent time-picker schema.
16
+ /// @type {Map}
17
+ /// @requires $fluent-time-picker
18
+ $dark-fluent-time-picker: $fluent-time-picker;
19
+
20
+ /// Generates a dark bootstrap time-picker schema.
21
+ /// @type {Map}
22
+ /// @requires $bootstrap-time-picker
23
+ $dark-bootstrap-time-picker: $bootstrap-time-picker;
24
+
25
+ /// Generates a dark indigo time-picker schema.
26
+ /// @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.
30
+ /// @requires $indigo-time-picker
31
+ $dark-indigo-time-picker: extend(
32
+ $indigo-time-picker,
33
+ (
34
+ text-color: (
35
+ contrast-color: (
36
+ 'surface',
37
+ ),
38
+ ),
39
+
40
+ hover-text-color: (
41
+ color: (
42
+ 'primary',
43
+ 300,
44
+ ),
45
+ ),
46
+
47
+ selected-text-color: (
48
+ color: (
49
+ 'primary',
50
+ 300,
51
+ ),
52
+ ),
53
+ )
54
+ );
@@ -0,0 +1,67 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../light/toast' as *;
3
+
4
+ ////
5
+ /// @package theming
6
+ /// @group schemas
7
+ /// @access public
8
+ ////
9
+
10
+ /// Generates a dark base toast schema.
11
+ /// @type {Map}
12
+ /// @prop {Map} background [color: ('gray', 500, .9)] - The background color used for the toast.
13
+ /// @prop {Map} text-color [contrast-color: ('gray', 500)] - The text-color used for the toast.
14
+ $dark-base-toast: (
15
+ background: (
16
+ color: (
17
+ 'gray',
18
+ 500,
19
+ 0.9,
20
+ ),
21
+ ),
22
+
23
+ text-color: (
24
+ contrast-color: (
25
+ 'gray',
26
+ 500,
27
+ ),
28
+ ),
29
+ );
30
+
31
+ /// Generates a dark toast schema.
32
+ /// @type {Map}
33
+ /// @requires $light-toast
34
+ $dark-toast: extend($light-toast, $dark-base-toast);
35
+
36
+ /// Generates a dark fluent toast schema.
37
+ /// @type {Map}
38
+ /// @requires $fluent-toast
39
+ $dark-fluent-toast: extend($fluent-toast, $dark-base-toast);
40
+
41
+ /// Generates a dark bootstrap toast schema.
42
+ /// @type {Map}
43
+ /// @prop {Map} background [contrast-color: ('surface')] - The background color used for the toast.
44
+ /// @prop {Map} text-color [contrast-color: ('gray', 600)] - The text-color used for the toast.
45
+ /// @requires $bootstrap-toast
46
+ $dark-bootstrap-toast: extend(
47
+ $bootstrap-toast,
48
+ (
49
+ background: (
50
+ contrast-color: (
51
+ 'surface',
52
+ ),
53
+ ),
54
+
55
+ text-color: (
56
+ contrast-color: (
57
+ 'gray',
58
+ 900,
59
+ ),
60
+ ),
61
+ )
62
+ );
63
+
64
+ /// Generates a dark indigo toast schema.
65
+ /// @type {Map}
66
+ /// @requires $indigo-toast
67
+ $dark-indigo-toast: extend($indigo-toast, $dark-base-toast);
@@ -0,0 +1,44 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../light/tooltip' as *;
3
+
4
+ ////
5
+ /// @package theming
6
+ /// @group schemas
7
+ /// @access public
8
+ ////
9
+
10
+ /// Generates a dark tooltip schema.
11
+ /// @type {Map}
12
+ /// @requires $light-tooltip
13
+ $dark-tooltip: $light-tooltip;
14
+
15
+ /// Generates a dark fluent tooltip schema.
16
+ /// @type {Map}
17
+ /// @requires $fluent-tooltip
18
+ $dark-fluent-tooltip: $fluent-tooltip;
19
+
20
+ /// Generates a dark bootstrap tooltip schema.
21
+ /// @type {Map}
22
+ /// @requires $bootstrap-tooltip
23
+ $dark-bootstrap-tooltip: $bootstrap-tooltip;
24
+
25
+ /// Generates a dark indigo tooltip schema.
26
+ /// @type {Map}
27
+ ///
28
+ /// @prop {Map} background [contrast-color: ('surface')] - The background color of the tooltip.
29
+ /// @prop {Map} text-color [text-color: (color: 'surface')] - The text color of the tooltip.
30
+ /// @requires $indigo-tooltip
31
+ $dark-indigo-tooltip: extend(
32
+ $indigo-tooltip,
33
+ (
34
+ background: (
35
+ contrast-color: (
36
+ 'surface',
37
+ ),
38
+ ),
39
+
40
+ text-color: (
41
+ color: 'surface',
42
+ ),
43
+ )
44
+ );
@@ -0,0 +1,48 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../light/watermark' as *;
3
+
4
+ ////
5
+ /// @package theming
6
+ /// @group schemas
7
+ /// @access public
8
+ ////
9
+
10
+ /// Generates a dark watermark schema.
11
+ /// @type {Map}
12
+ /// @requires $light-watermark
13
+ $dark-watermark: extend(
14
+ $light-watermark,
15
+ (
16
+ image-opacity: 15%,
17
+ )
18
+ );
19
+
20
+ /// Generates a dark fluent watermark schema.
21
+ /// @type {Map}
22
+ /// @requires $fluent-watermark
23
+ $dark-fluent-watermark: extend(
24
+ $fluent-watermark,
25
+ (
26
+ image-opacity: 15%,
27
+ )
28
+ );
29
+
30
+ /// Generates a dark bootstrap watermark schema.
31
+ /// @type {Map}
32
+ /// @requires $bootstrap-watermark
33
+ $dark-bootstrap-watermark: extend(
34
+ $bootstrap-watermark,
35
+ (
36
+ image-opacity: 15%,
37
+ )
38
+ );
39
+
40
+ /// Generates a dark indigo watermark schema.
41
+ /// @type {Map}
42
+ /// @requires $bootstrap-watermark
43
+ $dark-indigo-watermark: extend(
44
+ $indigo-watermark,
45
+ (
46
+ image-opacity: 15%,
47
+ )
48
+ );
@@ -0,0 +1,17 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} elevation [1] - The elevation level, between 0-24, to be used for the badge shadow.
9
+ $default-elevation-badge: (
10
+ elevation: 1,
11
+ );
12
+
13
+ /// @type Map
14
+ /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the badge shadow.
15
+ $bootstrap-elevation-badge: (
16
+ elevation: 0,
17
+ );
@@ -0,0 +1,23 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} elevation [8] - The elevation level, between 0-24, to be used for the bottom nav.
9
+ $default-elevation-bottom-nav: (
10
+ elevation: 8,
11
+ );
12
+
13
+ /// @type Map
14
+ /// @prop {Number} elevation [1] - The elevation level, between 0-24, to be used for the bottom nav.
15
+ $fluent-elevation-bottom-nav: (
16
+ elevation: 1,
17
+ );
18
+
19
+ /// @type Map
20
+ /// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used for the bottom nav.
21
+ $indigo-elevation-bottom-nav: (
22
+ elevation: 4,
23
+ );
@@ -0,0 +1,29 @@
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 button group shadow.
9
+ $_flat-button-group: (
10
+ elevation: 0,
11
+ );
12
+
13
+ /// @type Map
14
+ /// @prop {Number} elevation [2] - The elevation level, between 0-24, to be used for the button group shadow.
15
+ $default-elevation-button-group: (
16
+ elevation: 2,
17
+ );
18
+
19
+ /// @type Map
20
+ /// @requires {Map} $_flat-button-group
21
+ $fluent-elevation-button-group: $_flat-button-group;
22
+
23
+ /// @type Map
24
+ /// @requires {Map} $_flat-button-group
25
+ $bootstrap-elevation-button-group: $_flat-button-group;
26
+
27
+ /// @type Map
28
+ /// @requires {Map} $_flat-button-group
29
+ $indigo-elevation-button-group: $_flat-button-group;
@@ -0,0 +1,37 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
9
+ /// @prop {Number} hover-elevation [8] - The elevation level, between 0-24, to be used for the hover state.
10
+ $default-elevation-card: (
11
+ resting-elevation: 2,
12
+ hover-elevation: 8,
13
+ );
14
+
15
+ /// @type Map
16
+ /// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
17
+ /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
18
+ $flat-card: (
19
+ resting-elevation: 0,
20
+ hover-elevation: 0,
21
+ );
22
+
23
+ /// @type Map
24
+ /// @requires {Map} $flat-card
25
+ $fluent-elevation-card: $flat-card;
26
+
27
+ /// @type Map
28
+ /// @requires {Map} $flat-card
29
+ $bootstrap-elevation-card: $flat-card;
30
+
31
+ /// @type Map
32
+ /// @prop {Number} resting-elevation [4] - The elevation level, between 0-24, to be used for the resting state.
33
+ /// @prop {Number} hover-elevation [6] - The elevation level, between 0-24, to be used for the hover state.
34
+ $indigo-elevation-card: (
35
+ resting-elevation: 4,
36
+ hover-elevation: 6,
37
+ );
@@ -0,0 +1,29 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} button-elevation [1] - The elevation level, between 0-24, to be used for the carousel buttons.
9
+ $default-elevation-carousel: (
10
+ button-elevation: 1,
11
+ );
12
+
13
+ /// @type Map
14
+ /// @prop {Number} button-elevation [0] - The elevation level, between 0-24, to be used for the carousel buttons.
15
+ $flat-carousel: (
16
+ button-elevation: 0,
17
+ );
18
+
19
+ /// @type Map
20
+ /// @requires {Map} $flat-carousel
21
+ $fluent-elevation-carousel: $flat-carousel;
22
+
23
+ /// @type Map
24
+ /// @requires {Map} $flat-carousel
25
+ $bootstrap-elevation-carousel: $flat-carousel;
26
+
27
+ /// @type Map
28
+ /// @requires {Map} $flat-carousel
29
+ $indigo-elevation-carousel: $flat-carousel;
@@ -0,0 +1,29 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} ghost-elevation [8] - The elevation level, between 0-24, to be used for the chip's ghost (dragging mode).
9
+ $default-elevation-chip: (
10
+ ghost-elevation: 8,
11
+ );
12
+
13
+ /// @type Map
14
+ /// @prop {Number} ghost-elevation [2] - The elevation level, between 0-24, to be used for the chip's ghost (dragging mode).
15
+ $fluent-elevation-chip: (
16
+ ghost-elevation: 2,
17
+ );
18
+
19
+ /// @type Map
20
+ /// @prop {Number} ghost-elevation [0] - The elevation level, between 0-24, to be used for the chip's ghost (dragging mode).
21
+ $bootstrap-elevation-chip: (
22
+ ghost-elevation: 0,
23
+ );
24
+
25
+ /// @type Map
26
+ /// @prop {Number} ghost-elevation [0] - The elevation level, between 0-24, to be used for the chip's ghost (dragging mode).
27
+ $indigo-elevation-chip: (
28
+ ghost-elevation: 1,
29
+ );
@@ -0,0 +1,17 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} elevation [24] - The elevation level, between 0-24, to be used for the dialog.
9
+ $default-elevation-dialog: (
10
+ elevation: 24,
11
+ );
12
+
13
+ /// @type Map
14
+ /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the dialog.
15
+ $bootstrap-elevation-dialog: (
16
+ elevation: 0,
17
+ );
@@ -0,0 +1,21 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {number} grid-elevation [2] - The elevation level, between 0-24, to be used for the grid.
9
+ /// @prop {number} drag-elevation [5] - The elevation level, between 0-24, to be used for movable elements (ex. column header).
10
+ $default-elevation-grid: (
11
+ grid-elevation: 2,
12
+ drag-elevation: 5,
13
+ );
14
+
15
+ /// @type Map
16
+ /// @prop {number} grid-elevation [0] - The elevation level, between 0-24, to be used for the grid.
17
+ /// @prop {number} drag-elevation [1] - The elevation level, between 0-24, to be used for movable elements (ex. column header).
18
+ $fluent-elevation-grid: (
19
+ grid-elevation: 0,
20
+ drag-elevation: 1,
21
+ );
@@ -0,0 +1,17 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Map} elevation [16] - The elevation level, between 0-24, to be used for the drawer.
9
+ $default-elevation-navdrawer: (
10
+ elevation: 16,
11
+ );
12
+
13
+ /// @type Map
14
+ /// @prop {Map} elevation [0] - The elevation level, between 0-24, to be used for the drawer.
15
+ $indigo-elevation-navdrawer: (
16
+ elevation: 0,
17
+ );
@@ -0,0 +1,17 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used in the snackbar.
9
+ $default-elevation-snackbar: (
10
+ elevation: 4,
11
+ );
12
+
13
+ /// @type Map
14
+ /// @prop {Number} elevation [10] - The elevation level, between 0-24, to be used in the snackbar.
15
+ $bootstrap-elevation-snackbar: (
16
+ elevation: 10,
17
+ );
@@ -0,0 +1,13 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} modal-elevation [24] - The elevation level, between 0-24, to be used for the time picker in modal mode.
9
+ /// @prop {Number} dropdown-elevation [8] - The elevation level, between 0-24, to be used for the time picker in dropdown mode.
10
+ $default-elevation-time-picker: (
11
+ modal-elevation: 24,
12
+ dropdown-elevation: 8,
13
+ );
@@ -0,0 +1,17 @@
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 toast.
9
+ $default-elevation-toast: (
10
+ elevation: 0,
11
+ );
12
+
13
+ /// @type Map
14
+ /// @prop {Number} elevation [10] - The elevation level, between 0-24, to be used for the toast.
15
+ $bootstrap-elevation-toast: (
16
+ elevation: 10,
17
+ );
@@ -0,0 +1,89 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+
4
+ ////
5
+ /// @package theming
6
+ /// @group schemas
7
+ /// @access public
8
+ ////
9
+
10
+ /// Generates a light action-strip schema.
11
+ /// @type {Map}
12
+ /// @prop {Color} icon-color ["'currentColor'"] - The color used for the actions icons.
13
+ /// @prop {Map} background [color: ('gray', 100, .38)] - The color used for the action strip component content background.
14
+ /// @prop {Map} actions-background [color: ('gray', 200)] - The color used for actions background.
15
+ /// @prop {Map} delete-action [color: ('error')] - The color used for the delete icon in action strip component.
16
+ /// @prop {Number} actions-border-radius [24px] - The border radius used for action strip actions container. Can be a fraction between 0 and 1, pixels, or percent.
17
+ $light-action-strip: extend(
18
+ (
19
+ actions-background: (
20
+ color: (
21
+ 'gray',
22
+ 200,
23
+ ),
24
+ ),
25
+
26
+ background: (
27
+ color: (
28
+ 'gray',
29
+ 100,
30
+ 0.38,
31
+ ),
32
+ ),
33
+
34
+ icon-color: "'currentColor'",
35
+
36
+ delete-action: (
37
+ color: (
38
+ 'error',
39
+ ),
40
+ ),
41
+
42
+ actions-border-radius: rem(24px),
43
+ )
44
+ );
45
+
46
+ /// Generates a fluent action strip schema.
47
+ /// @type {Map}
48
+ /// @prop {Number} actions-border-radius [24px] - The border radius used for action strip actions container. Can be a fraction between 0 and 1, pixels, or percent.
49
+ /// @requires {Map} $light-action-strip
50
+ $fluent-action-strip: extend(
51
+ $light-action-strip,
52
+ (
53
+ actions-border-radius: rem(0),
54
+ )
55
+ );
56
+
57
+ /// Generates a bootstrap action strip schema.
58
+ /// @type {Map}
59
+ /// @prop {Number} actions-border-radius [4px] - The border radius used for action strip actions container. Can be a fraction between 0 and 1, pixels, or percent.
60
+ /// @requires {Map} $light-action-strip
61
+ $bootstrap-action-strip: extend(
62
+ $light-action-strip,
63
+ (
64
+ actions-border-radius: rem(4px),
65
+ )
66
+ );
67
+
68
+ /// Generates an indigo action strip schema.
69
+ /// @type {Map}
70
+ /// @prop {Map} icon-color [contrast-color: 'primary'] - The color used for the actions icons.
71
+ /// @prop {Map} actions-background [color: ('primary')] - The color used for actions background.
72
+ /// @prop {Number} actions-border-radius [3px] - The border radius used for action strip actions container. Can be a fraction between 0 and 1, pixels, or percent.
73
+ /// @requires {Map} $light-action-strip
74
+ $indigo-action-strip: extend(
75
+ $light-action-strip,
76
+ (
77
+ actions-background: (
78
+ color: (
79
+ 'primary',
80
+ ),
81
+ ),
82
+
83
+ icon-color: (
84
+ contrast-color: 'primary',
85
+ ),
86
+
87
+ actions-border-radius: rem(3px),
88
+ )
89
+ );
@@ -34,7 +34,7 @@ $light-avatar: (
34
34
  /// Generates a fluent avatar schema.
35
35
  /// @type {Map}
36
36
  /// @requires {Map} $light-avatar
37
- $fluent-avatar: extend($light-avatar);
37
+ $fluent-avatar: $light-avatar;
38
38
 
39
39
  /// Generates a bootstrap avatar schema.
40
40
  /// @type {Map}
@@ -0,0 +1,82 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../elevation/badge' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /// Generates a light badge schema.
12
+ /// @type {Map}
13
+ /// @prop {Map} icon-color [contrast-color: ('primary', 500)] - The icon color used.
14
+ /// @prop {Map} text-color [contrast-color: ('primary', 500)] - The text color used.
15
+ /// @prop {Map} border-color [color: ('gray', 50)] - The border color used.
16
+ /// @prop {Map} background-color [color: ('primary', 500)] - The background color used.
17
+ /// @prop {Number} border-width [0] - The border width of the badge component.
18
+ /// @prop {Number} elevation [1] - The elevation level, between 0-24, to be used for the badge shadow.
19
+ /// @prop {Number} border-radius [0] - The border radius used for badge. Can be a fraction between 0 and 1, pixels, or percent.
20
+ /// @requires {Map} $default-elevation-badge
21
+ $light-badge: extend(
22
+ $default-elevation-badge,
23
+ (
24
+ icon-color: (
25
+ contrast-color: (
26
+ 'primary',
27
+ 500,
28
+ ),
29
+ ),
30
+
31
+ text-color: (
32
+ contrast-color: (
33
+ 'primary',
34
+ 500,
35
+ ),
36
+ ),
37
+
38
+ border-color: (
39
+ color: (
40
+ 'gray',
41
+ 50,
42
+ ),
43
+ ),
44
+
45
+ background-color: (
46
+ color: (
47
+ 'primary',
48
+ 500,
49
+ ),
50
+ ),
51
+
52
+ border-width: 0,
53
+
54
+ border-radius: 0,
55
+ )
56
+ );
57
+
58
+ /// Generates a fluent badge schema.
59
+ /// @type {Map}
60
+ /// @requires {Map} $light-badge
61
+ $fluent-badge: $light-badge;
62
+
63
+ /// Generates a bootstrap badge schema.
64
+ /// @type {Map}
65
+ /// @prop {Number} border-width [1px] - The border width of the badge component.
66
+ /// @prop {Number} border-radius [4px] - The border radius used for badge. Can be a fraction between 0 and 1, pixels, or percent.
67
+ /// @requires {Map} $light-badge
68
+ /// @requires {Map} $bootstrap-elevation-badge
69
+ $bootstrap-badge: extend(
70
+ $light-badge,
71
+ $bootstrap-elevation-badge,
72
+ (
73
+ border-width: 1px,
74
+
75
+ border-radius: rem(4px),
76
+ )
77
+ );
78
+
79
+ /// Generates an indigo badge schema.
80
+ /// @type {Map}
81
+ /// @requires {Map} $light-badge
82
+ $indigo-badge: $light-badge;