Skip to content

Commit 826a7e4

Browse files
committed
feat(searchbar): use gray tokens
1 parent c9cddad commit 826a7e4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

core/src/components/searchbar/searchbar.ios.vars.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ $searchbar-ios-cancel-button-background-color: transparent;
2929
$searchbar-ios-input-search-icon-size: dynamic-font(22px);
3030

3131
/// @prop - Color of the searchbar input search icon
32-
$searchbar-ios-input-search-icon-color: $text-color-step-400;
32+
$searchbar-ios-input-search-icon-color: var(--ion-color-gray-600);
3333

3434
/// @prop - Minimum Height of the searchbar input
3535
$searchbar-ios-input-min-height: 36px;
@@ -56,7 +56,7 @@ $searchbar-ios-cancel-transition: all 300ms ease;
5656
$searchbar-ios-input-icon-opacity: 0.5;
5757

5858
/// @prop - Color of the searchbar input clear icon
59-
$searchbar-ios-input-clear-icon-color: $text-color-step-400;
59+
$searchbar-ios-input-clear-icon-color: var(--ion-color-gray-600);
6060

6161
/// @prop - Size of the searchbar input clear icon
6262
$searchbar-ios-input-clear-icon-size: dynamic-font(18px);

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $searchbar-md-padding-start: $searchbar-md-padding-end;
1919
$searchbar-md-background: inherit;
2020

2121
/// @prop - Color of the searchbar cancel button
22-
$searchbar-md-cancel-button-color: $text-color-step-100;
22+
$searchbar-md-cancel-button-color: var(--ion-color-gray-900);
2323

2424
/// @prop - Background color of the searchbar cancel button
2525
$searchbar-md-cancel-button-background-color: transparent;
@@ -28,7 +28,7 @@ $searchbar-md-cancel-button-background-color: transparent;
2828
$searchbar-md-cancel-button-font-size: 1.5em;
2929

3030
/// @prop - Color of the searchbar input search icon
31-
$searchbar-md-input-search-icon-color: $text-color-step-400;
31+
$searchbar-md-input-search-icon-color: var(--ion-color-gray-600);
3232

3333
/// @prop - Size of the searchbar input search icon
3434
$searchbar-md-input-search-icon-size: dynamic-font(21px);
@@ -44,7 +44,7 @@ $searchbar-md-input-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px
4444
0 1px 5px 0 rgba(0, 0, 0, 0.12);
4545

4646
/// @prop - Color of the searchbar input text
47-
$searchbar-md-input-text-color: $text-color-step-150;
47+
$searchbar-md-input-text-color: var(--ion-color-gray-850);
4848

4949
/// @prop - Background of the searchbar input
5050
$searchbar-md-input-background-color: $background-color;

0 commit comments

Comments
 (0)