Skip to content

Commit 966e81a

Browse files
matmkiangcornut
authored andcommitted
chore(color): remove forced icon colors on states
1 parent 3e6fba3 commit 966e81a

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

packages/lumx-core/src/scss/core/state/_mixins.scss

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@
3232
@if $state == lumx-base-const('state', 'DEFAULT') {
3333
background-color: lumx-color-variant($color, 'L5');
3434
color: lumx-color-variant($color, 'N');
35-
36-
@if $color == 'dark' {
37-
.#{$lumx-base-prefix}-icon {
38-
color: lumx-color-variant('dark', 'L1');
39-
}
40-
}
4135
} @else if $state == lumx-base-const('state', 'HOVER') {
4236
background-color: lumx-color-variant($color, 'L4');
4337
} @else if $state == lumx-base-const('state', 'ACTIVE') {
@@ -56,10 +50,6 @@
5650
@if $state == lumx-base-const('state', 'DEFAULT') {
5751
background-color: lumx-color-variant('primary', 'L5');
5852
color: lumx-color-variant('primary', 'D2');
59-
60-
.#{$lumx-base-prefix}-icon {
61-
color: lumx-color-variant('primary', 'D2');
62-
}
6353
} @else if $state == lumx-base-const('state', 'HOVER') {
6454
background-color: lumx-color-variant('primary', 'L4');
6555
} @else if $state == lumx-base-const('state', 'ACTIVE') {
@@ -75,10 +65,6 @@
7565
@if $state == lumx-base-const('state', 'DEFAULT') {
7666
background-color: lumx-color-variant('light', 'L3');
7767
color: lumx-color-variant('light', 'N');
78-
79-
.#{$lumx-base-prefix}-icon {
80-
color: lumx-color-variant('light', 'N');
81-
}
8268
} @else if $state == lumx-base-const('state', 'HOVER') {
8369
background-color: lumx-color-variant('light', 'L4');
8470
} @else if $state == lumx-base-const('state', 'ACTIVE') {
@@ -96,13 +82,6 @@
9682
@mixin lumx-state-low($state, $color, $has-focus-inset: false) {
9783
@if $state == lumx-base-const('state', 'DEFAULT') {
9884
background-color: transparent;
99-
color: lumx-color-variant($color, 'N');
100-
101-
@if $color == 'dark' {
102-
.#{$lumx-base-prefix}-icon {
103-
color: lumx-color-variant('dark', 'L1');
104-
}
105-
}
10685
} @else if $state == lumx-base-const('state', 'HOVER') {
10786
background-color: lumx-color-variant($color, 'L5');
10887
} @else if $state == lumx-base-const('state', 'ACTIVE') {

0 commit comments

Comments
 (0)