|
9 | 9 | /// @param {Map} $palette [null] - The palette used as basis for styling the component.
|
10 | 10 | /// @param {Map} $schema [$light-schema] - The schema used as basis for styling the component.
|
11 | 11 | ///
|
12 |
| -/// @param {Color} $color [null] - The color used for the actions icons. |
| 12 | +/// @param {Color} $icon-color [null] - The color used for the actions icons. |
13 | 13 | /// @param {Color} $background [null] - The color used for the action strip component content background.
|
14 | 14 | /// @param {Color} $actions-background [null] - The color used for the actions background.
|
15 | 15 | /// @param {Color} $delete-action [null] - The color used for the delete icon in action strip component.
|
|
30 | 30 |
|
31 | 31 | $background: null,
|
32 | 32 | $actions-background: null,
|
33 |
| - $color: null, |
| 33 | + $icon-color: null, |
34 | 34 | $delete-action: null,
|
35 | 35 | $actions-border-radius: null,
|
36 | 36 | ) {
|
|
49 | 49 | if($actions-border-radius, $actions-border-radius, map-get($action-strip-schema, 'actions-border-radius')), 0, 24px
|
50 | 50 | );
|
51 | 51 |
|
52 |
| - @if not($color) and $actions-background { |
53 |
| - $color: text-contrast($actions-background); |
| 52 | + @if not($icon-color) and $actions-background { |
| 53 | + $icon-color: text-contrast($actions-background); |
54 | 54 | }
|
55 | 55 |
|
56 | 56 | @return extend($theme, (
|
57 | 57 | name: $name,
|
58 | 58 | palette: $palette,
|
59 | 59 | background: $background,
|
60 | 60 | actions-background: $actions-background,
|
61 |
| - color: $color, |
| 61 | + icon-color: $icon-color, |
62 | 62 | delete-action: $delete-action,
|
63 | 63 | actions-border-radius: $actions-border-radius,
|
64 | 64 | ));
|
|
175 | 175 | justify-content: center;
|
176 | 176 | pointer-events: all;
|
177 | 177 | position: relative;
|
178 |
| - color: --var($theme, 'color'); |
| 178 | + color: --var($theme, 'icon-color'); |
179 | 179 | border-radius: --var($theme, 'actions-border-radius');
|
180 | 180 | background: --var($theme, 'actions-background');
|
181 | 181 | max-height: 36px;
|
|
185 | 185 | }
|
186 | 186 |
|
187 | 187 | igx-icon {
|
188 |
| - color: --var($theme, 'color'); |
| 188 | + color: --var($theme, 'icon-color'); |
189 | 189 | }
|
190 | 190 |
|
191 | 191 | [igxButton='icon'] {
|
192 | 192 | igx-icon {
|
193 |
| - color: --var($theme, 'color'); |
| 193 | + color: --var($theme, 'icon-color'); |
194 | 194 | }
|
195 | 195 |
|
196 | 196 | @if $variant == 'indigo-design' {
|
|
0 commit comments