igniteui-theming 1.4.2 → 1.4.3-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.
Files changed (109) hide show
  1. package/index.js +3 -0
  2. package/json/colors/meta/multipliers.json +1 -1
  3. package/package.json +21 -14
  4. package/sass/animations/_easings.scss +23 -23
  5. package/sass/animations/entrances/_bounce.scss +3 -3
  6. package/sass/animations/entrances/_flicker.scss +10 -26
  7. package/sass/animations/exits/_bounce.scss +6 -6
  8. package/sass/animations/exits/_flicker.scss +12 -28
  9. package/sass/animations/exits/_flip.scss +8 -8
  10. package/sass/animations/exits/_puff.scss +11 -11
  11. package/sass/animations/exits/_roll.scss +4 -4
  12. package/sass/animations/exits/_rotate.scss +25 -25
  13. package/sass/animations/exits/_scale.scss +15 -15
  14. package/sass/animations/exits/_slide.scss +34 -34
  15. package/sass/animations/exits/_slit.scss +4 -4
  16. package/sass/animations/exits/_swing.scss +8 -8
  17. package/sass/animations/exits/_swirl.scss +18 -18
  18. package/sass/animations/generic/_flip.scss +4 -4
  19. package/sass/animations/generic/_rotate.scss +5 -5
  20. package/sass/animations/generic/_scale.scss +31 -31
  21. package/sass/animations/generic/_shadows.scss +12 -68
  22. package/sass/bem/_index.scss +9 -3
  23. package/sass/color/_charts.scss +1 -1
  24. package/sass/color/_functions.scss +22 -56
  25. package/sass/color/_multipliers.scss +14 -14
  26. package/sass/color/_types.scss +6 -1
  27. package/sass/color/presets/dark/_bootstrap.scss +1 -1
  28. package/sass/color/presets/dark/_fluent.scss +3 -3
  29. package/sass/color/presets/dark/_indigo.scss +1 -1
  30. package/sass/color/presets/dark/_material.scss +1 -1
  31. package/sass/color/presets/light/_bootstrap.scss +1 -1
  32. package/sass/color/presets/light/_extra.scss +2 -2
  33. package/sass/color/presets/light/_fluent.scss +3 -3
  34. package/sass/color/presets/light/_indigo.scss +1 -1
  35. package/sass/color/presets/light/_material.scss +1 -1
  36. package/sass/elevations/presets/_index.scss +1 -5
  37. package/sass/elevations/presets/_material.scss +1 -1
  38. package/sass/themes/_functions.scss +2 -12
  39. package/sass/themes/_index.scss +1 -0
  40. package/sass/themes/_mixins.scss +4 -5
  41. package/sass/themes/charts/_category-chart-theme.scss +15 -11
  42. package/sass/themes/charts/_data-chart-theme.scss +4 -7
  43. package/sass/themes/charts/_doughnut-chart-theme.scss +2 -2
  44. package/sass/themes/charts/_financial-chart-theme.scss +15 -11
  45. package/sass/themes/charts/_funnel-chart-theme.scss +22 -18
  46. package/sass/themes/charts/_gauge-theme.scss +8 -16
  47. package/sass/themes/charts/_geo-map-theme.scss +10 -11
  48. package/sass/themes/charts/_graph-theme.scss +3 -3
  49. package/sass/themes/charts/_pie-chart-theme.scss +21 -20
  50. package/sass/themes/charts/_shape-chart-theme.scss +15 -11
  51. package/sass/themes/charts/_sparkline-theme.scss +2 -2
  52. package/sass/themes/schemas/_index.scss +10 -33
  53. package/sass/themes/schemas/charts/light/_category-chart.scss +68 -24
  54. package/sass/themes/schemas/charts/light/_data-chart.scss +12 -3
  55. package/sass/themes/schemas/charts/light/_financial-chart.scss +1 -1
  56. package/sass/themes/schemas/charts/light/_gauge.scss +14 -5
  57. package/sass/themes/schemas/charts/light/_geo-map.scss +2 -2
  58. package/sass/themes/schemas/charts/light/_graph.scss +20 -5
  59. package/sass/themes/schemas/charts/light/_pie-chart.scss +4 -1
  60. package/sass/themes/schemas/charts/light/_shape-chart.scss +8 -2
  61. package/sass/themes/schemas/charts/light/_sparkline.scss +4 -1
  62. package/sass/themes/schemas/components/_index.scss +2 -0
  63. package/sass/themes/schemas/components/dark/_avatar.scss +46 -0
  64. package/sass/themes/schemas/components/dark/_button.scss +491 -0
  65. package/sass/themes/schemas/components/dark/_checkbox.scss +88 -0
  66. package/sass/themes/schemas/components/dark/_combo.scss +56 -0
  67. package/sass/themes/schemas/components/dark/_drop-down.scss +86 -0
  68. package/sass/themes/schemas/components/dark/_icon.scss +39 -0
  69. package/sass/themes/schemas/components/dark/_index.scss +120 -0
  70. package/sass/themes/schemas/components/dark/_input-group.scss +170 -0
  71. package/sass/themes/schemas/components/dark/_navbar.scss +27 -0
  72. package/sass/themes/schemas/components/dark/_radio.scss +144 -0
  73. package/sass/themes/schemas/components/dark/_rating.scss +29 -0
  74. package/sass/themes/schemas/components/dark/_select.scss +56 -0
  75. package/sass/themes/schemas/components/dark/_slider.scss +136 -0
  76. package/sass/themes/schemas/components/dark/_switch.scss +216 -0
  77. package/sass/themes/schemas/components/dark/_tabs.scss +65 -0
  78. package/sass/themes/schemas/components/dark/_tree.scss +132 -0
  79. package/sass/themes/schemas/components/elevation/_button.scss +63 -0
  80. package/sass/themes/schemas/components/elevation/_drop-down.scss +29 -0
  81. package/sass/themes/schemas/components/elevation/_input-group.scss +37 -0
  82. package/sass/themes/schemas/components/elevation/_navbar.scss +23 -0
  83. package/sass/themes/schemas/components/elevation/_switch.scss +15 -0
  84. package/sass/themes/schemas/components/light/_avatar.scss +69 -0
  85. package/sass/themes/schemas/components/light/_button.scss +1700 -0
  86. package/sass/themes/schemas/components/light/_checkbox.scss +285 -0
  87. package/sass/themes/schemas/components/light/_combo.scss +317 -0
  88. package/sass/themes/schemas/components/light/_drop-down.scss +376 -0
  89. package/sass/themes/schemas/components/light/_icon.scss +55 -0
  90. package/sass/themes/schemas/components/light/_index.scss +121 -0
  91. package/sass/themes/schemas/components/light/_input-group.scss +794 -0
  92. package/sass/themes/schemas/components/light/_navbar.scss +116 -0
  93. package/sass/themes/schemas/components/light/_radio.scss +279 -0
  94. package/sass/themes/schemas/components/light/_rating.scss +129 -0
  95. package/sass/themes/schemas/components/light/_select.scss +176 -0
  96. package/sass/themes/schemas/components/light/_slider.scss +362 -0
  97. package/sass/themes/schemas/components/light/_switch.scss +473 -0
  98. package/sass/themes/schemas/components/light/_tabs.scss +402 -0
  99. package/sass/themes/schemas/components/light/_tree.scss +288 -0
  100. package/sass/typography/_functions.scss +7 -5
  101. package/sass/typography/_mixins.scss +1 -3
  102. package/sass/typography/_types.scss +2 -16
  103. package/sass/typography/presets/_bootstrap.scss +24 -24
  104. package/sass/typography/presets/_fluent.scss +23 -23
  105. package/sass/typography/presets/_indigo.scss +24 -24
  106. package/sass/typography/presets/_material.scss +23 -23
  107. package/sass/utils/_css.scss +6 -1
  108. package/sass/utils/_map.scss +4 -8
  109. package/sass/utils/_string.scss +14 -6
@@ -0,0 +1,144 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/radio' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /// Generates a dark radio schema.
12
+ /// @type {Map}
13
+ /// @requires $light-radio
14
+ $dark-radio: extend(
15
+ $light-radio,
16
+ (
17
+ type: 'dark',
18
+ )
19
+ );
20
+
21
+ /// Generates a dark fluent radio schema.
22
+ /// @type {Map}
23
+ /// @prop {Map} hover-color [color: ('gray', 400)] - The border and dot colors on hover.
24
+ /// @prop {Map} fill-color [color: ('primary', 300)] - The checked border and dot colors.
25
+ /// @prop {Map} fill-hover-border-color [color: ('primary', 100)] - The text color used for the label text.
26
+ /// @prop {Map} fill-color-hover [color: ('primary', 100)] - The checked border and dot colors on hover.
27
+ /// @prop {Map} error-color-hover [color: ('error', 200)] - The border and dot color in invalid state on hover.
28
+ /// @prop {Map} disabled-color [color: ('gray', 100)] - The disabled border and dot colors.
29
+ /// @prop {Map} disabled-label-color [color: ('gray', 300)] - The disabled label color.
30
+ /// @requires $fluent-radio
31
+ $dark-fluent-radio: extend(
32
+ $fluent-radio,
33
+ (
34
+ hover-color: (
35
+ color: (
36
+ 'gray',
37
+ 400,
38
+ ),
39
+ ),
40
+ fill-color: (
41
+ color: (
42
+ 'primary',
43
+ 300,
44
+ ),
45
+ ),
46
+ fill-hover-border-color: (
47
+ color: (
48
+ 'primary',
49
+ 100,
50
+ ),
51
+ ),
52
+ fill-color-hover: (
53
+ color: (
54
+ 'primary',
55
+ 100,
56
+ ),
57
+ ),
58
+ error-color-hover: (
59
+ color: (
60
+ 'error',
61
+ 200,
62
+ ),
63
+ ),
64
+ disabled-color: (
65
+ color: (
66
+ 'gray',
67
+ 100,
68
+ ),
69
+ ),
70
+ disabled-label-color: (
71
+ color: (
72
+ 'gray',
73
+ 300,
74
+ ),
75
+ ),
76
+ )
77
+ );
78
+
79
+ /// Generates a dark bootstrap radio schema.
80
+ /// @type {Map}
81
+ /// @prop {Map} fill-hover-border-color [color: ('gray', 900)] - The text color used for the label text.
82
+ /// @prop {Map} fill-color-hover [color: ('gray', 900)] - The checked border and dot colors on hover.
83
+ /// @requires $bootstrap-radio
84
+ $dark-bootstrap-radio: extend(
85
+ $bootstrap-radio,
86
+ (
87
+ fill-hover-border-color: (
88
+ color: (
89
+ 'gray',
90
+ 900,
91
+ ),
92
+ ),
93
+ fill-color-hover: (
94
+ color: (
95
+ 'gray',
96
+ 900,
97
+ ),
98
+ ),
99
+ )
100
+ );
101
+
102
+ /// Generates a dark indigo radio schema.
103
+ /// @type {Map}
104
+ /// @prop {Map} fill-hover-border-color [color: ('gray', 900)] - The text color used for the label text.
105
+ /// @prop {Map} empty-color [color: ('gray', 700)] - The unchecked border color.
106
+ /// @prop {Map} fill-color [color: ('gray', 900)] - The checked border and dot colors.
107
+ /// @prop {Map} fill-color-hover [color: ('gray', 900)] - The checked border and dot colors on hover.
108
+ /// @prop {Map} disabled-color [color: ('gray', 400)] - The disabled border and dot colors.
109
+ /// @requires $indigo-radio
110
+ $dark-indigo-radio: extend(
111
+ $indigo-radio,
112
+ (
113
+ fill-hover-border-color: (
114
+ color: (
115
+ 'gray',
116
+ 900,
117
+ ),
118
+ ),
119
+ fill-color: (
120
+ color: (
121
+ 'gray',
122
+ 900,
123
+ ),
124
+ ),
125
+ fill-color-hover: (
126
+ color: (
127
+ 'gray',
128
+ 900,
129
+ ),
130
+ ),
131
+ empty-color: (
132
+ color: (
133
+ 'gray',
134
+ 700,
135
+ ),
136
+ ),
137
+ disabled-color: (
138
+ color: (
139
+ 'gray',
140
+ 400,
141
+ ),
142
+ ),
143
+ )
144
+ );
@@ -0,0 +1,29 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/rating' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /// Generates a dark rating schema.
12
+ /// @type {Map}
13
+ /// @requires $light-rating
14
+ $dark-rating: $light-rating;
15
+
16
+ /// Generates a dark fluent rating schema.
17
+ /// @type {Map}
18
+ /// @requires $fluent-rating
19
+ $dark-fluent-rating: $fluent-rating;
20
+
21
+ /// Generates a dark bootstrap rating schema.
22
+ /// @type {Map}
23
+ /// @requires $bootstrap-rating
24
+ $dark-bootstrap-rating: $bootstrap-rating;
25
+
26
+ /// Generates a dark indigo rating schema.
27
+ /// @type {Map}
28
+ /// @requires $indigo-rating
29
+ $dark-indigo-rating: $indigo-rating;
@@ -0,0 +1,56 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/select' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /* stylelint-disable max-line-length */
12
+
13
+ /// Generates a dark select schema.
14
+ /// @type {Map}
15
+ /// @requires $light-select
16
+ $dark-select: $light-select;
17
+
18
+ /// Generates a dark fluent select schema.
19
+ /// @type {Map}
20
+ /// @requires $fluent-select
21
+ $dark-fluent-select: $fluent-select;
22
+
23
+ /// Generates a dark bootstrap select schema.
24
+ /// @type {Map}
25
+ /// @requires $bootstrap-select
26
+ $dark-bootstrap-select: extend($bootstrap-select);
27
+
28
+ /// Generates a dark indigo select schema.
29
+ /// @type {Map}
30
+ /// @prop {Map} toggle-button-foreground [color: ('gray', 600)] - The select toggle button foreground color.
31
+ /// @prop {Map} toggle-button-foreground-focus [color: ('gray', 600)] - The select toggle button foreground color when the select is focused.
32
+ /// @prop {Map} toggle-button-foreground-filled [color: ('gray', 600)] - The select toggle button foreground color when the select is focused.
33
+ /// @requires $indigo-select
34
+ $dark-indigo-select: extend(
35
+ $indigo-select,
36
+ (
37
+ toggle-button-foreground: (
38
+ color: (
39
+ 'gray',
40
+ 600,
41
+ ),
42
+ ),
43
+ toggle-button-foreground-focus: (
44
+ color: (
45
+ 'gray',
46
+ 600,
47
+ ),
48
+ ),
49
+ toggle-button-foreground-filled: (
50
+ color: (
51
+ 'gray',
52
+ 600,
53
+ ),
54
+ ),
55
+ )
56
+ );
@@ -0,0 +1,136 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/slider' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /* stylelint-disable max-line-length */
12
+
13
+ /// Generates a dark slider schema.
14
+ /// @type {Map}
15
+ /// @requires $light-slider
16
+ $dark-slider: $light-slider;
17
+
18
+ /// Generates a dark fluent slider schema.
19
+ /// @type {Map}
20
+ /// @prop {Map} base-track-color [color: ('gray', 300)] - The base background color of the track.
21
+ /// @prop {Map} base-track-hover-color [color: ('gray', 300)] - The base background color of the track on hover.
22
+ /// @prop {Map} track-color [color: ('gray', 600)] - The color of the track.
23
+ /// @prop {Map} track-hover-color [color: ('primary', 300)] - The color of the track on hover.
24
+ /// @prop {Map} thumb-border-color [color: ('gray', 400)] - The thumb border color.
25
+ /// @prop {Map} thumb-focus-color [color: ('primary', 100)] - The focus outline color of the thumb.
26
+ /// @prop {Map} thumb-disabled-border-color [color: ('gray', 200)] - The thumb border color when it's disabled.
27
+ /// @prop {Map} disabled-base-track-color [color: ('gray', 100)] - The base background color of the track when is disabled.
28
+ /// @prop {Map} disabled-fill-track-color [color: ('gray', 300)] - The background color of the fill track when is disabled.
29
+ /// @requires $fluent-slider
30
+ $dark-fluent-slider: extend(
31
+ $fluent-slider,
32
+ (
33
+ base-track-color: (
34
+ color: (
35
+ 'gray',
36
+ 300,
37
+ ),
38
+ ),
39
+ base-track-hover-color: (
40
+ color: (
41
+ 'gray',
42
+ 300,
43
+ ),
44
+ ),
45
+ track-color: (
46
+ color: (
47
+ 'gray',
48
+ 600,
49
+ ),
50
+ ),
51
+ track-hover-color: (
52
+ color: (
53
+ 'primary',
54
+ 300,
55
+ ),
56
+ ),
57
+ thumb-border-color: (
58
+ color: (
59
+ 'gray',
60
+ 400,
61
+ ),
62
+ ),
63
+ thumb-focus-color: (
64
+ color: (
65
+ 'primary',
66
+ 100,
67
+ ),
68
+ ),
69
+ thumb-disabled-border-color: (
70
+ color: (
71
+ 'gray',
72
+ 200,
73
+ ),
74
+ ),
75
+ disabled-base-track-color: (
76
+ color: (
77
+ 'gray',
78
+ 100,
79
+ ),
80
+ ),
81
+ disabled-fill-track-color: (
82
+ color: (
83
+ 'gray',
84
+ 300,
85
+ ),
86
+ ),
87
+ )
88
+ );
89
+
90
+ /// Generates a dark bootstrap slider schema.
91
+ /// @type {Map}
92
+ /// @prop {Map} base-track-color [color: ('secondary', 500, .48)] - The base background color of the track.
93
+ /// @prop {Map} base-track-hover-color [color: ('secondary', 500, .48)] - The base background color of the track on hover.
94
+ /// @requires $bootstrap-slider
95
+ $dark-bootstrap-slider: extend(
96
+ $bootstrap-slider,
97
+ (
98
+ base-track-color: (
99
+ color: (
100
+ 'secondary',
101
+ 500,
102
+ 0.48,
103
+ ),
104
+ ),
105
+ base-track-hover-color: (
106
+ color: (
107
+ 'secondary',
108
+ 500,
109
+ 0.48,
110
+ ),
111
+ ),
112
+ )
113
+ );
114
+
115
+ /// Generates a dark indigo slider schema.
116
+ /// @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.
119
+ /// @requires $indigo-slider
120
+ $dark-indigo-slider: extend(
121
+ $indigo-slider,
122
+ (
123
+ base-track-color: (
124
+ color: (
125
+ 'gray',
126
+ 200,
127
+ ),
128
+ ),
129
+ base-track-hover-color: (
130
+ color: (
131
+ 'gray',
132
+ 400,
133
+ ),
134
+ ),
135
+ )
136
+ );
@@ -0,0 +1,216 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/switch' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /* stylelint-disable max-line-length */
12
+
13
+ /// Generates a base dark switch schema.
14
+ /// @type {Map}
15
+ /// @prop {Color} thumb-disabled-color [color: ('gray', 200)] - The color of the thumb when the switch is disabled.
16
+ $base-dark-switch: (
17
+ type: 'dark',
18
+ thumb-disabled-color: (
19
+ color: (
20
+ 'gray',
21
+ 200,
22
+ ),
23
+ ),
24
+ );
25
+
26
+ /// Generates a dark switch schema based on a mix of $light-switch and $base-dark-switch.
27
+ /// @type {Map}
28
+ /// @requires $light-switch
29
+ /// @requires $base-dark-switch
30
+ $dark-switch: extend($light-switch, $base-dark-switch);
31
+
32
+ /// Generates a dark fluent switch schema based on a mix of $fluent-switch and $base-dark-switch.
33
+ /// @type {Map}
34
+ /// @prop {Map} border-color [color: ('gray', 500)] - The border color of the switch.
35
+ /// @prop {Map} border-on-color [color('primary', 300)] - The border color of the on-switch.
36
+ /// @prop {Map} border-on-hover-color [color('primary',100)] - The border color of the on-switch.
37
+ /// @prop {Map} border-disabled-color [color: ('gray', 200)] - The border color of the disabled switch.
38
+ /// @prop {Map} track-on-color [color: ('primary', 300)] - The color of the track when the switch is on.
39
+ /// @prop {Map} track-on-disabled-color [color: ('gray', 200)] - The color of the track when the switch is on and disabled.
40
+ /// @prop {Map} track-on-hover-color [color: ('primary', 100)] - The color of the track when the switch is on and hovered.
41
+ /// @prop {Map} thumb-off-color [color: ('gray', 500)] - The color of the thumb when the switch is off.
42
+ /// @prop {Map} thumb-disabled-color [color: ('gray', 200)] - The color of the thumb when the switch is disabled.
43
+ /// @prop {Map} error-color [color: ('gray', 500)] - The border and thumb color in invalid state.
44
+ ///
45
+ /// @requires $fluent-switch
46
+ /// @requires $base-dark-switch
47
+ $dark-fluent-switch: extend(
48
+ $fluent-switch,
49
+ $base-dark-switch,
50
+ (
51
+ border-color: (
52
+ color: (
53
+ 'gray',
54
+ 500,
55
+ ),
56
+ ),
57
+ thumb-off-color: (
58
+ color: (
59
+ 'gray',
60
+ 500,
61
+ ),
62
+ ),
63
+ border-on-color: (
64
+ color: (
65
+ 'primary',
66
+ 300,
67
+ ),
68
+ ),
69
+ border-on-hover-color: (
70
+ color: (
71
+ 'primary',
72
+ 100,
73
+ ),
74
+ ),
75
+ track-on-color: (
76
+ color: (
77
+ 'primary',
78
+ 300,
79
+ ),
80
+ ),
81
+ track-on-hover-color: (
82
+ color: (
83
+ 'primary',
84
+ 100,
85
+ ),
86
+ ),
87
+ border-disabled-color: (
88
+ color: (
89
+ 'gray',
90
+ 200,
91
+ ),
92
+ ),
93
+ thumb-disabled-color: (
94
+ color: (
95
+ 'gray',
96
+ 200,
97
+ ),
98
+ ),
99
+ track-on-disabled-color: (
100
+ color: (
101
+ 'gray',
102
+ 200,
103
+ ),
104
+ ),
105
+ error-color: (
106
+ color: (
107
+ 'gray',
108
+ 500,
109
+ ),
110
+ ),
111
+ )
112
+ );
113
+
114
+ /// Generates a dark bootstrap switch schema based on a mix of $bootstrap-switch and $base-dark-switch.
115
+ /// @type {Map}
116
+ /// @prop {Color} thumb-on-color [color: ('gray', 900)] - The color of the thumb when the switch is on.
117
+ /// @prop {Color} thumb-on-disabled-color [color: ('gray', 900)] - The color of the thumb when the switch is on and disabled.
118
+ /// @requires $bootstrap-switch
119
+ /// @requires $base-dark-switch
120
+ $dark-bootstrap-switch: extend(
121
+ $bootstrap-switch,
122
+ $base-dark-switch,
123
+ (
124
+ thumb-on-color: (
125
+ color: (
126
+ 'gray',
127
+ 900,
128
+ ),
129
+ ),
130
+ thumb-on-disabled-color: (
131
+ color: (
132
+ 'gray',
133
+ 900,
134
+ ),
135
+ ),
136
+ )
137
+ );
138
+
139
+ /// Generates a dark indigo switch schema.
140
+ /// @type {Map}
141
+ /// @prop {Color} thumb-on-color [color: 'surface'] - The color of the thumb when the switch is on.
142
+ /// @prop {Map} track-on-color [color: ('gray', 900)] - The color of the track when the switch is on.
143
+ /// @prop {Map} thumb-off-color [color: ('gray', 700)] - The color of the thumb when the switch is off.
144
+ /// @prop {Color} track-off-color [transparent] - The color of the track when the switch is off.
145
+ ///
146
+ /// @prop {Map} border-color [color: ('gray', 700)] - The border color of the switch.
147
+ /// @prop {Map} border-hover-color [color: ('gray', 700)] - The border color of the switch on hover.
148
+ /// @prop {Map} border-disabled-color [color: ('gray', 400)] - The border color of the disabled switch.
149
+ /// @prop {Map} border-on-color [color: ('gray', 900)] - The border color of the on-switch.
150
+ /// @prop {Map} border-on-hover-color [color: ('gray', 900)] - The border color of the on-switch.
151
+ /// @prop {Map} label-disabled-color [color: ('gray', 400)] - The color of the switch label when the switch is disabled
152
+ /// @prop {Map} error-color [color: ('gray', 700)] - The border and thumb color in invalid state.
153
+ /// @requires $indigo-switch
154
+ $dark-indigo-switch: extend(
155
+ $indigo-switch,
156
+ (
157
+ border-color: (
158
+ color: (
159
+ 'gray',
160
+ 700,
161
+ ),
162
+ ),
163
+ border-hover-color: (
164
+ color: (
165
+ 'gray',
166
+ 700,
167
+ ),
168
+ ),
169
+ border-disabled-color: (
170
+ color: (
171
+ 'gray',
172
+ 400,
173
+ ),
174
+ ),
175
+ border-on-color: (
176
+ color: (
177
+ 'gray',
178
+ 900,
179
+ ),
180
+ ),
181
+ border-on-hover-color: (
182
+ color: (
183
+ 'gray',
184
+ 900,
185
+ ),
186
+ ),
187
+ thumb-on-color: (
188
+ color: 'surface',
189
+ ),
190
+ thumb-off-color: (
191
+ color: (
192
+ 'gray',
193
+ 700,
194
+ ),
195
+ ),
196
+ track-on-color: (
197
+ color: (
198
+ 'gray',
199
+ 900,
200
+ ),
201
+ ),
202
+ track-off-color: transparent,
203
+ label-disabled-color: (
204
+ color: (
205
+ 'gray',
206
+ 400,
207
+ ),
208
+ ),
209
+ error-color: (
210
+ color: (
211
+ 'gray',
212
+ 700,
213
+ ),
214
+ ),
215
+ )
216
+ );
@@ -0,0 +1,65 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/tabs' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /* stylelint-disable max-line-length */
12
+
13
+ /// Generates a base dark tabs schema.
14
+ /// @type {Map}
15
+ /// @prop {Map} item-hover-background [color: ('gray', 100, .5)] - The background used for the tabs on hover.
16
+ /// @prop {Map} item-active-background [color: ('gray', 100, .5)] - The color used for the active/focused tab background.
17
+ $base-dark-tabs: (
18
+ item-hover-background: (
19
+ color: (
20
+ 'gray',
21
+ 100,
22
+ 0.5,
23
+ ),
24
+ ),
25
+ item-active-background: (
26
+ color: (
27
+ 'gray',
28
+ 100,
29
+ 0.5,
30
+ ),
31
+ ),
32
+ );
33
+
34
+ /// Generates a dark tabs schema based on a mix of $light-tabs and $base-dark-tabs.
35
+ /// @type {Map}
36
+ /// @requires $light-tabs
37
+ /// @requires $base-dark-tabs
38
+ $dark-tabs: extend($light-tabs, $base-dark-tabs);
39
+
40
+ /// Generates a dark fluent tabs schema based on a mix of $fluent-tabs and $base-dark-tabs.
41
+ /// @type {Map}
42
+ /// @requires $fluent-tabs
43
+ /// @requires $base-dark-tabs
44
+ $dark-fluent-tabs: extend($fluent-tabs, $base-dark-tabs);
45
+
46
+ /// Generates a dark bootstrap tabs schema based on a mix of $bootstrap-tabs and $base-dark-tabs.
47
+ /// @type {Map}
48
+ /// @prop {Map} item-background [color: ('primary', 400)] - The background color used for the tabs header.
49
+ /// @requires $bootstrap-tabs
50
+ $dark-bootstrap-tabs: extend(
51
+ $bootstrap-tabs,
52
+ (
53
+ item-hover-color: (
54
+ color: (
55
+ 'primary',
56
+ 400,
57
+ ),
58
+ ),
59
+ )
60
+ );
61
+
62
+ /// Generates a dark indigo tabs schema.
63
+ /// @type {Map}
64
+ /// @requires $indigo-tabs
65
+ $dark-indigo-tabs: extend($indigo-tabs);