igniteui-angular 20.0.7 → 20.0.9
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/fesm2022/igniteui-angular.mjs +143 -52
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/index.d.ts +41 -5
- package/lib/core/styles/base/_index.scss +1 -0
- package/lib/core/styles/components/_index.scss +1 -0
- package/lib/core/styles/components/avatar/_avatar-theme.scss +0 -58
- package/lib/core/styles/components/badge/_badge-theme.scss +0 -72
- package/lib/core/styles/components/banner/_banner-theme.scss +0 -62
- package/lib/core/styles/components/bottom-nav/_bottom-nav-theme.scss +0 -100
- package/lib/core/styles/components/button/_button-theme.scss +0 -234
- package/lib/core/styles/components/button-group/_button-group-theme.scss +0 -293
- package/lib/core/styles/components/calendar/_calendar-theme.scss +0 -1075
- package/lib/core/styles/components/card/_card-theme.scss +0 -92
- package/lib/core/styles/components/carousel/_carousel-theme.scss +0 -218
- package/lib/core/styles/components/checkbox/_checkbox-theme.scss +0 -150
- package/lib/core/styles/components/chip/_chip-theme.scss +1 -265
- package/lib/core/styles/components/column-actions/_column-actions-theme.scss +0 -48
- package/lib/core/styles/components/combo/_combo-theme.scss +9 -125
- package/lib/core/styles/components/date-picker/_date-picker-theme.scss +4 -0
- package/lib/core/styles/components/date-range-picker/_date-range-picker-theme.scss +0 -30
- package/lib/core/styles/components/dialog/_dialog-theme.scss +0 -75
- package/lib/core/styles/components/divider/_divider-theme.scss +0 -39
- package/lib/core/styles/components/dock-manager/_dock-manager-theme.scss +0 -68
- package/lib/core/styles/components/drop-down/_drop-down-theme.scss +0 -211
- package/lib/core/styles/components/expansion-panel/_expansion-panel-theme.scss +0 -96
- package/lib/core/styles/components/grid/_excel-filtering-theme.scss +0 -1
- package/lib/core/styles/components/grid/_grid-theme.scss +44 -600
- package/lib/core/styles/components/grid-summary/_grid-summary-theme.scss +0 -84
- package/lib/core/styles/components/grid-toolbar/_grid-toolbar-theme.scss +0 -92
- package/lib/core/styles/components/highlight/highlight-theme.scss +0 -55
- package/lib/core/styles/components/icon/_icon-theme.scss +0 -43
- package/lib/core/styles/components/icon-button/_icon-button-theme.scss +0 -112
- package/lib/core/styles/components/input/_file-input-component.scss +72 -0
- package/lib/core/styles/components/input/_file-input-theme.scss +203 -0
- package/lib/core/styles/components/input/_input-group-component.scss +110 -126
- package/lib/core/styles/components/input/_input-group-theme.scss +409 -648
- package/lib/core/styles/components/label/_label-theme.scss +2 -35
- package/lib/core/styles/components/list/_list-theme.scss +0 -264
- package/lib/core/styles/components/navbar/_navbar-theme.scss +0 -89
- package/lib/core/styles/components/navdrawer/_navdrawer-theme.scss +0 -141
- package/lib/core/styles/components/overlay/_overlay-theme.scss +0 -38
- package/lib/core/styles/components/paginator/_paginator-theme.scss +0 -50
- package/lib/core/styles/components/progress/circular/_circular-theme.scss +0 -73
- package/lib/core/styles/components/progress/linear/_linear-theme.scss +0 -68
- package/lib/core/styles/components/query-builder/_query-builder-theme.scss +0 -101
- package/lib/core/styles/components/radio/_radio-theme.scss +0 -136
- package/lib/core/styles/components/rating/_rating-theme.scss +0 -43
- package/lib/core/styles/components/ripple/_ripple-theme.scss +0 -39
- package/lib/core/styles/components/scrollbar/scrollbar-theme.scss +0 -82
- package/lib/core/styles/components/select/_select-theme.scss +0 -93
- package/lib/core/styles/components/slider/_slider-theme.scss +0 -187
- package/lib/core/styles/components/snackbar/_snackbar-theme.scss +0 -64
- package/lib/core/styles/components/splitter/_splitter-theme.scss +0 -71
- package/lib/core/styles/components/stepper/_stepper-theme.scss +0 -492
- package/lib/core/styles/components/switch/_switch-theme.scss +0 -264
- package/lib/core/styles/components/tabs/_tabs-theme.scss +2 -261
- package/lib/core/styles/components/time-picker/_time-picker-theme.scss +0 -156
- package/lib/core/styles/components/toast/_toast-theme.scss +0 -69
- package/lib/core/styles/components/tooltip/_tooltip-theme.scss +0 -62
- package/lib/core/styles/components/tree/_tree-theme.scss +0 -128
- package/lib/core/styles/components/watermark/_watermark-theme.scss +0 -60
- package/lib/core/styles/themes/_core.scss +2 -0
- package/lib/core/styles/themes/_index.scss +1 -0
- package/lib/core/styles/themes/generators/_base.scss +11 -0
- package/lib/core/styles/typography/_bootstrap.scss +4 -0
- package/lib/core/styles/typography/_fluent.scss +5 -0
- package/lib/core/styles/typography/_indigo.scss +6 -0
- package/lib/core/styles/typography/_material.scss +2 -0
- package/package.json +2 -2
- package/styles/igniteui-angular-dark.css +1 -1
- package/styles/igniteui-angular.css +1 -1
- package/styles/igniteui-bootstrap-dark.css +1 -1
- package/styles/igniteui-bootstrap-light.css +1 -1
- package/styles/igniteui-dark-green.css +1 -1
- package/styles/igniteui-fluent-dark-excel.css +1 -1
- package/styles/igniteui-fluent-dark-word.css +1 -1
- package/styles/igniteui-fluent-dark.css +1 -1
- package/styles/igniteui-fluent-light-excel.css +1 -1
- package/styles/igniteui-fluent-light-word.css +1 -1
- package/styles/igniteui-fluent-light.css +1 -1
- package/styles/igniteui-indigo-dark.css +1 -1
- package/styles/igniteui-indigo-light.css +1 -1
- package/styles/maps/igniteui-angular-dark.css.map +1 -1
- package/styles/maps/igniteui-angular.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
- package/styles/maps/igniteui-dark-green.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-light.css.map +1 -1
- package/styles/maps/igniteui-indigo-dark.css.map +1 -1
- package/styles/maps/igniteui-indigo-light.css.map +1 -1
- package/lib/core/styles/components/button/_contained-button-theme.scss +0 -302
- package/lib/core/styles/components/button/_fab-button-theme.scss +0 -296
- package/lib/core/styles/components/button/_flat-button-theme.scss +0 -356
- package/lib/core/styles/components/button/_outlined-button-theme.scss +0 -419
- package/lib/core/styles/components/icon-button/_contained-icon-button-theme.scss +0 -196
- package/lib/core/styles/components/icon-button/_flat-icon-button-theme.scss +0 -188
- package/lib/core/styles/components/icon-button/_outlined-icon-button-theme.scss +0 -232
|
@@ -1,356 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'sass:meta';
|
|
3
|
-
@use 'sass:color';
|
|
4
|
-
@use 'sass:list';
|
|
5
|
-
@use 'sass:string';
|
|
6
|
-
@use '../../base' as *;
|
|
7
|
-
@use '../../themes/schemas' as *;
|
|
8
|
-
|
|
9
|
-
////
|
|
10
|
-
/// @group themes
|
|
11
|
-
/// @access public
|
|
12
|
-
/// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a>
|
|
13
|
-
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
|
|
14
|
-
////
|
|
15
|
-
|
|
16
|
-
/// If only background color is specified, text/icon color
|
|
17
|
-
/// will be assigned automatically to a contrasting color.
|
|
18
|
-
/// Does ___not___ apply for disabled state colors.
|
|
19
|
-
/// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
|
|
20
|
-
/// @param {Color} $background [null] - The background color of the button.
|
|
21
|
-
/// @param {Color} $foreground [null] - The text color of the button.
|
|
22
|
-
/// @param {Color} $icon-color [null] - The icon color in the button.
|
|
23
|
-
/// @param {Color} $icon-color-hover [null] - The icon color in the button on hover.
|
|
24
|
-
/// @param {Color} $hover-background [null] - The hover background color of the button.
|
|
25
|
-
/// @param {Color} $hover-foreground [null] - The hover text color of the button.
|
|
26
|
-
/// @param {Color} $focus-background [null] - The focus background color of the button.
|
|
27
|
-
/// @param {Color} $focus-foreground [null] - The focus text color of the button.
|
|
28
|
-
/// @param {Color} $focus-hover-background [null] - The background color on focus hovered state of the button.
|
|
29
|
-
/// @param {Color} $focus-hover-foreground [null] - The text color on focus hovered state of the button.
|
|
30
|
-
/// @param {Color} $focus-visible-background [null] - The focus-visible background color of the button.
|
|
31
|
-
/// @param {Color} $focus-visible-foreground [null] - The focus-visible text color of the button.
|
|
32
|
-
/// @param {Color} $active-background [null] - The active background of the button.
|
|
33
|
-
/// @param {Color} $active-foreground [null] - The active text color of the button.
|
|
34
|
-
/// @param {List} $border-radius [null] - The border radius of the button.
|
|
35
|
-
/// @param {Color} $border-color [null] - The border color of the button.
|
|
36
|
-
/// @param {Color} $hover-border-color [null] - The hover border color of the button.
|
|
37
|
-
/// @param {Color} $focus-border-color [null] - The focus border color of the button.
|
|
38
|
-
/// @param {Color} $focus-visible-border-color [null] - The focus-visible border color of the button.
|
|
39
|
-
/// @param {Color} $active-border-color [null] - The active border color of the button.
|
|
40
|
-
/// @param {Color} $shadow-color [null] - The shadow color of the button.
|
|
41
|
-
/// @param {Color} $resting-shadow [null] - The shadow of the button in its idle state.
|
|
42
|
-
/// @param {Color} $hover-shadow [null] - The shadow of the button in its hover state.
|
|
43
|
-
/// @param {Color} $focus-shadow [null] - The shadow of the button in its focus state.
|
|
44
|
-
/// @param {Color} $active-shadow [null] - The shadow of the button in its focus state.
|
|
45
|
-
/// @param {Color} $disabled-background [null] - The disabled background color of the button.
|
|
46
|
-
/// @param {Color} $disabled-foreground [null] - The disabled text color of the button.
|
|
47
|
-
/// @param {Color} $disabled-icon-color [null] - The disabled icon color of the button.
|
|
48
|
-
/// @param {Color} $disabled-border-color [null] - The disabled border color of the button.
|
|
49
|
-
///
|
|
50
|
-
/// @requires $light-material-schema
|
|
51
|
-
///
|
|
52
|
-
/// @example scss Change the text colors in flat buttons
|
|
53
|
-
/// $my-button-theme: flat-button-theme(
|
|
54
|
-
/// $foreground: black,
|
|
55
|
-
/// );
|
|
56
|
-
/// // Pass the theme to the css-vars() mixin
|
|
57
|
-
/// @include css-vars($my-button-theme);
|
|
58
|
-
@function flat-button-theme(
|
|
59
|
-
$schema: $light-material-schema,
|
|
60
|
-
|
|
61
|
-
$background: null,
|
|
62
|
-
$foreground: null,
|
|
63
|
-
|
|
64
|
-
$hover-background: null,
|
|
65
|
-
$hover-foreground: null,
|
|
66
|
-
|
|
67
|
-
$icon-color: $foreground,
|
|
68
|
-
$icon-color-hover: $hover-foreground,
|
|
69
|
-
|
|
70
|
-
$focus-background: null,
|
|
71
|
-
$focus-foreground: null,
|
|
72
|
-
|
|
73
|
-
$focus-hover-background: null,
|
|
74
|
-
$focus-hover-foreground: null,
|
|
75
|
-
|
|
76
|
-
$focus-visible-background: null,
|
|
77
|
-
$focus-visible-foreground: null,
|
|
78
|
-
|
|
79
|
-
$active-background: null,
|
|
80
|
-
$active-foreground: null,
|
|
81
|
-
|
|
82
|
-
$border-radius: null,
|
|
83
|
-
$border-color: null,
|
|
84
|
-
$hover-border-color: null,
|
|
85
|
-
$focus-border-color: null,
|
|
86
|
-
$focus-visible-border-color: null,
|
|
87
|
-
$active-border-color: null,
|
|
88
|
-
|
|
89
|
-
$shadow-color: null,
|
|
90
|
-
|
|
91
|
-
$resting-shadow: null,
|
|
92
|
-
$hover-shadow: null,
|
|
93
|
-
$focus-shadow: null,
|
|
94
|
-
$active-shadow: null,
|
|
95
|
-
|
|
96
|
-
$disabled-background: null,
|
|
97
|
-
$disabled-foreground: null,
|
|
98
|
-
$disabled-icon-color: $disabled-foreground,
|
|
99
|
-
$disabled-border-color: null,
|
|
100
|
-
$size: null
|
|
101
|
-
) {
|
|
102
|
-
$name: 'igx-flat-button';
|
|
103
|
-
$button-schema: ();
|
|
104
|
-
|
|
105
|
-
@if map.has-key($schema, 'button') {
|
|
106
|
-
$button-schema: map.get($schema, 'button');
|
|
107
|
-
|
|
108
|
-
@if map.has-key($button-schema, 'flat') {
|
|
109
|
-
$button-schema: map.get($button-schema, 'flat');
|
|
110
|
-
} @else {
|
|
111
|
-
$button-schema: $schema;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
$theme: digest-schema($button-schema);
|
|
116
|
-
$variant: map.get($schema, '_meta', 'theme');
|
|
117
|
-
|
|
118
|
-
@if not($hover-foreground) and $hover-background {
|
|
119
|
-
$hover-foreground: adaptive-contrast(var(--hover-background));
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
@if not($icon-color-hover) and $hover-foreground {
|
|
123
|
-
$icon-color-hover: var(--hover-foreground);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
@if not($focus-foreground) and $focus-background {
|
|
127
|
-
$focus-foreground: adaptive-contrast(var(--focus-background));
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
@if not($focus-hover-foreground) and $focus-hover-background {
|
|
131
|
-
$focus-hover-foreground: adaptive-contrast(var(--focus-hover-background));
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
@if not($active-foreground) and $active-background {
|
|
135
|
-
$active-foreground: adaptive-contrast(var(--active-background));
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
@if not($focus-visible-background) and $focus-background {
|
|
139
|
-
$focus-visible-background: var(--focus-background);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
@if not($focus-visible-foreground) and $focus-visible-background {
|
|
143
|
-
$focus-visible-foreground: adaptive-contrast(var(--focus-visible-background));
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
@if not($focus-visible-border-color) and $focus-border-color {
|
|
147
|
-
$focus-visible-border-color: var(--focus-border-color);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
@if $variant == 'material' or $variant == 'fluent' {
|
|
151
|
-
@if not($hover-background) and $foreground {
|
|
152
|
-
$hover-background: hsla(from var(--foreground) h s l / 0.08);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
@if not($focus-background) and $foreground {
|
|
156
|
-
$focus-background: hsla(from var(--foreground) h s l / 0.32);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
@if not($focus-hover-background) and $foreground {
|
|
160
|
-
$focus-hover-background: hsla(from var(--foreground) h s l / 0.24);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
@if not($active-background) and $foreground {
|
|
164
|
-
$active-background: hsla(from var(--foreground) h s l / 0.16);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
@if not($hover-foreground) and $hover-background {
|
|
168
|
-
$hover-foreground: hsla(from var(--hover-background) h s l / 1);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
@if not($icon-color-hover) and $hover-foreground {
|
|
172
|
-
$icon-color-hover: var(--hover-foreground);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
@if not($focus-foreground) and $focus-background {
|
|
176
|
-
$focus-foreground: hsla(from var(--focus-background) h s l / 1);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
@if not($focus-hover-foreground) and $focus-hover-background {
|
|
180
|
-
$focus-hover-foreground: hsla(
|
|
181
|
-
from var(--focus-hover-background) h s l / 1
|
|
182
|
-
);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
@if not($active-foreground) and $active-background {
|
|
186
|
-
$active-foreground: hsla(from var(--active-background) h s l / 1);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
@if $variant == 'material' {
|
|
190
|
-
@if not($focus-visible-background) and $foreground {
|
|
191
|
-
$focus-visible-background: hsla(
|
|
192
|
-
from var(--foreground) h s l / 0.16
|
|
193
|
-
);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
@if not($focus-visible-foreground) and $focus-visible-background {
|
|
197
|
-
$focus-visible-foreground: hsla(
|
|
198
|
-
from var(--focus-visible-background) h s l / 1
|
|
199
|
-
);
|
|
200
|
-
}
|
|
201
|
-
} @else {
|
|
202
|
-
@if not($focus-visible-foreground) and $focus-foreground {
|
|
203
|
-
$focus-visible-foreground: var(--focus-foreground);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
@if $variant == 'fluent' {
|
|
208
|
-
@if not($focus-visible-border-color) and $focus-visible-foreground {
|
|
209
|
-
$focus-visible-border-color: var(--focus-visible-foreground);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
@if $variant == 'indigo' {
|
|
215
|
-
@if not($hover-background) and $foreground {
|
|
216
|
-
$hover-background: hsla(from var(--foreground) h s l / 0.08);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
@if not($focus-background) and $foreground {
|
|
220
|
-
$focus-background: hsla(from var(--foreground) h s l / 0.08);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
@if not($focus-hover-background) and $foreground {
|
|
224
|
-
$focus-hover-background: hsla(from var(--foreground) h s l / 0.08);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
@if not($active-background) and $foreground {
|
|
228
|
-
$active-background: hsla(from var(--foreground) h s l / 0.08);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
@if $variant == 'bootstrap' or $variant == 'indigo' {
|
|
233
|
-
@if not($hover-foreground) and $foreground {
|
|
234
|
-
$hover-foreground: hsl(from var(--foreground) h s calc(l * 0.9));
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
@if not($icon-color-hover) and $hover-foreground {
|
|
238
|
-
$icon-color-hover: var(--hover-foreground);
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
@if $variant == 'bootstrap' {
|
|
242
|
-
@if not($focus-foreground) and $foreground {
|
|
243
|
-
$focus-foreground: hsl(
|
|
244
|
-
from var(--foreground) h s calc(l * 0.7)
|
|
245
|
-
);
|
|
246
|
-
}
|
|
247
|
-
} @else {
|
|
248
|
-
@if not($focus-foreground) and $foreground {
|
|
249
|
-
$focus-foreground: hsl(
|
|
250
|
-
from var(--foreground) h s calc(l * 0.9)
|
|
251
|
-
);
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
@if not($focus-hover-foreground) and $foreground {
|
|
256
|
-
$focus-hover-foreground: hsl(
|
|
257
|
-
from var(--foreground) h s calc(l * 0.9)
|
|
258
|
-
);
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
@if not($focus-visible-foreground) and $foreground {
|
|
262
|
-
$focus-visible-foreground: var(--foreground);
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
@if not($disabled-foreground) and $foreground {
|
|
266
|
-
$disabled-foreground: hsl(from (var(--foreground) h s l / 0.5));
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
@if not($disabled-icon-color) and $disabled-foreground {
|
|
270
|
-
$disabled-icon-color: var(--disabled-foreground);
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
@if $variant == 'bootstrap' {
|
|
274
|
-
@if not($active-foreground) and $foreground {
|
|
275
|
-
$active-foreground: hsl(
|
|
276
|
-
from var(--foreground) h s calc(l * 0.7)
|
|
277
|
-
);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
@if not($shadow-color) and $focus-visible-foreground {
|
|
281
|
-
$shadow-color: hsla(
|
|
282
|
-
from var(--focus-visible-foreground) h s l / 0.5
|
|
283
|
-
);
|
|
284
|
-
}
|
|
285
|
-
} @else {
|
|
286
|
-
@if not($active-foreground) and $foreground {
|
|
287
|
-
$active-foreground: hsl(
|
|
288
|
-
from var(--foreground) h s calc(l * 0.9)
|
|
289
|
-
);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
@if not($shadow-color) and $focus-visible-foreground {
|
|
293
|
-
$shadow-color: hsla(
|
|
294
|
-
from var(--focus-visible-foreground) h s l / 0.2
|
|
295
|
-
);
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
@if not($resting-shadow) {
|
|
301
|
-
$resting-elevation: map.get($button-schema, 'resting-elevation');
|
|
302
|
-
$resting-shadow: elevation($resting-elevation);
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
@if not($hover-shadow) {
|
|
306
|
-
$hover-elevation: map.get($button-schema, 'hover-elevation');
|
|
307
|
-
$hover-shadow: elevation($hover-elevation);
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
@if not($focus-shadow) {
|
|
311
|
-
$focus-elevation: map.get($button-schema, 'focus-elevation');
|
|
312
|
-
$focus-shadow: elevation($focus-elevation);
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
@if not($active-shadow) {
|
|
316
|
-
$active-elevation: map.get($button-schema, 'active-elevation');
|
|
317
|
-
$active-shadow: elevation($active-elevation);
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
@return extend(
|
|
321
|
-
$theme,
|
|
322
|
-
(
|
|
323
|
-
name: $name,
|
|
324
|
-
background: $background,
|
|
325
|
-
foreground: $foreground,
|
|
326
|
-
icon-color: $icon-color,
|
|
327
|
-
icon-color-hover: $icon-color-hover,
|
|
328
|
-
hover-background: $hover-background,
|
|
329
|
-
hover-foreground: $hover-foreground,
|
|
330
|
-
focus-background: $focus-background,
|
|
331
|
-
focus-foreground: $focus-foreground,
|
|
332
|
-
focus-hover-background: $focus-hover-background,
|
|
333
|
-
focus-hover-foreground: $focus-hover-foreground,
|
|
334
|
-
focus-visible-background: $focus-visible-background,
|
|
335
|
-
focus-visible-foreground: $focus-visible-foreground,
|
|
336
|
-
active-background: $active-background,
|
|
337
|
-
active-foreground: $active-foreground,
|
|
338
|
-
border-radius: $border-radius,
|
|
339
|
-
border-color: $border-color,
|
|
340
|
-
hover-border-color: $hover-border-color,
|
|
341
|
-
focus-border-color: $focus-border-color,
|
|
342
|
-
focus-visible-border-color: $focus-visible-border-color,
|
|
343
|
-
active-border-color: $active-border-color,
|
|
344
|
-
shadow-color: $shadow-color,
|
|
345
|
-
resting-shadow: $resting-shadow,
|
|
346
|
-
hover-shadow: $hover-shadow,
|
|
347
|
-
focus-shadow: $focus-shadow,
|
|
348
|
-
active-shadow: $active-shadow,
|
|
349
|
-
disabled-background: $disabled-background,
|
|
350
|
-
disabled-foreground: $disabled-foreground,
|
|
351
|
-
disabled-icon-color: $disabled-icon-color,
|
|
352
|
-
disabled-border-color: $disabled-border-color,
|
|
353
|
-
size: $size,
|
|
354
|
-
)
|
|
355
|
-
);
|
|
356
|
-
}
|