Skip to content

Commit 307afa1

Browse files
committed
feat(select): use gray tokens
1 parent 16a10dd commit 307afa1

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

core/src/components/select/select.ios.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
// Color deviates from the iOS spec, but satisfies WCAG AAA:
1818
// https://www.w3.org/TR/WCAG20-TECHS/G18.html
19-
color: #{$text-color-step-350};
19+
color: var(--ion-color-gray-650);
2020
}
2121

2222
// Select Inner Wrapper

core/src/components/select/select.md.outline.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// ----------------------------------------------------------------
55

66
:host(.select-fill-outline) {
7-
--border-color: #{$background-color-step-300};
7+
--border-color: var(--ion-color-gray-300);
88
--border-radius: 4px;
99
--padding-start: 16px;
1010
--padding-end: 16px;
@@ -33,7 +33,7 @@
3333
*/
3434
@media (any-hover: hover) {
3535
:host(.select-fill-outline:hover) {
36-
--border-color: #{$background-color-step-750};
36+
--border-color: var(--ion-color-gray-750);
3737
}
3838
}
3939

core/src/components/select/select.md.solid.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
// ----------------------------------------------------------------
55

66
:host(.select-fill-solid) {
7-
--background: #{$background-color-step-50};
8-
--border-color: #{$background-color-step-500};
7+
--background: var(--ion-color-gray-50);
8+
--border-color: var(--ion-color-gray-500);
99
--border-radius: 4px;
1010
--padding-start: 16px;
1111
--padding-end: 16px;
@@ -47,8 +47,8 @@
4747
*/
4848
@media (any-hover: hover) {
4949
:host(.select-fill-solid:hover) {
50-
--background: #{$background-color-step-100};
51-
--border-color: #{$background-color-step-750};
50+
--background: var(--ion-color-gray-100);
51+
--border-color: var(--ion-color-gray-750);
5252
}
5353
}
5454

@@ -58,7 +58,7 @@
5858
*/
5959
:host(.select-fill-solid.select-expanded),
6060
:host(.select-fill-solid.has-focus) {
61-
--background: #{$background-color-step-150};
61+
--background: var(--ion-color-gray-150);
6262
--border-color: var(--highlight-color);
6363
}
6464

core/src/components/select/select.md.vars.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
$select-md-icon-size: dynamic-font(13px);
99

1010
/// @prop - Color of the select icon
11-
$select-md-icon-color: $text-color-step-500;
11+
$select-md-icon-color: var(--ion-color-gray-500);
1212

1313
/// @prop - The amount of whitespace to display on either side of the floating label
1414
$select-md-floating-label-padding: 4px;

core/src/components/select/select.native.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
// ----------------------------------------------------------------
7979

8080
.select-bottom .helper-text {
81-
color: $text-color-step-300;
81+
color: var(--ion-color-gray-700);
8282
}
8383

8484
// Select Text

0 commit comments

Comments
 (0)