Skip to content

Commit 1fae450

Browse files
committed
feat(toast): use gray tokens
1 parent cedab14 commit 1fae450

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
$toast-ios-max-height: 478px;
1010

1111
/// @prop - Background Color of the toast wrapper
12-
$toast-ios-background-color: $background-color-step-50;
12+
$toast-ios-background-color: var(--ion-color-gray-50);
1313

1414
/// @prop - Background Color alpha of the toast wrapper when translucent
1515
$toast-ios-translucent-background-color-alpha: 0.8;
@@ -21,7 +21,7 @@ $toast-ios-translucent-background-color: rgba($background-color-rgb, $toast-ios-
2121
$toast-ios-border-radius: 14px;
2222

2323
/// @prop - Color of the toast title
24-
$toast-ios-title-color: $text-color-step-150;
24+
$toast-ios-title-color: var(--ion-color-gray-850);
2525

2626
/// @prop - Font size of the toast title
2727
$toast-ios-header-font-weight: 500;

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

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

66
/// @prop - Background of the toast
7-
$toast-md-background: $background-color-step-800;
7+
$toast-md-background: var(--ion-color-gray-800);
88

99
/// @prop - Box shadow of the toast
1010
$toast-md-box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14),
@@ -14,7 +14,7 @@ $toast-md-box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0,
1414
$toast-md-font-size: dynamic-font(14px);
1515

1616
/// @prop - Color of the toast
17-
$toast-md-color: $text-color-step-950;
17+
$toast-md-color: var(--ion-color-gray-50);
1818

1919
/// @prop - Border radius of the toast wrapper
2020
$toast-md-border-radius: 4px;
@@ -77,7 +77,7 @@ $toast-md-button-opacity-hover: 0.08;
7777
$toast-md-button-background-color-hover: ion-color(primary, base, $toast-md-button-opacity-hover);
7878

7979
/// @prop - Text color of the cancel toast button
80-
$toast-md-button-cancel-text-color: $text-color-step-900;
80+
$toast-md-button-cancel-text-color: var(--ion-color-gray-100);
8181

8282
/// @prop - Background color of the cancel toast button on hover
8383
$toast-md-button-cancel-background-color-hover: rgba($background-color-rgb, $toast-md-button-opacity-hover);

0 commit comments

Comments
 (0)