Skip to content

Commit 8de58d8

Browse files
committed
fix(select): update colors based on if there's a selected value
1 parent 0d0d39c commit 8de58d8

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

core/src/components/select/select.ionic.scss

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
color: globals.$ion-text-subtlest;
4343
}
4444

45+
:host(.has-value) .select-text {
46+
color: globals.$ion-text-default;
47+
}
48+
4549
// Select Label
4650
// ----------------------------------------------------------------
4751

@@ -210,6 +214,12 @@
210214

211215
.select-icon {
212216
transition: transform 0.15s globals.$ion-transition-curve-expressive;
217+
218+
color: globals.$ion-text-subtlest;
219+
}
220+
221+
:host(.has-value) .select-icon {
222+
color: globals.$ion-text-subtle;
213223
}
214224

215225
/**
@@ -221,10 +231,6 @@
221231
@include globals.transform(rotate(180deg));
222232
}
223233

224-
.select-icon {
225-
color: globals.$ion-primitives-neutral-800;
226-
}
227-
228234
// States
229235
// ----------------------------------------------------------------
230236

0 commit comments

Comments
 (0)