Skip to content
Permalink
Browse files

fix(toast): allow button-color CSS variable to be overridden (#18133)

fixes #18127
  • Loading branch information...
liamdebeasi authored and brandyscarney committed May 6, 2019
1 parent 38ffb98 commit 0c83fd3f1af3b8e7d0485a7d9c9f18d4f9b944bf
@@ -69,7 +69,6 @@
border: 0;

background-color: $toast-ios-button-background-color;
color: $toast-ios-button-text-color;

font-family: var(--ion-font-family);
font-size: $toast-ios-button-font-size;
@@ -39,8 +39,8 @@ $toast-ios-content-padding-bottom: $toast-ios-content-padding-top
/// @prop - Padding start of the toast content
$toast-ios-content-padding-start: $toast-ios-content-padding-end !default;

/// @prop - Color of the toast button
$toast-ios-button-color: $text-color-step-400 !default;
/// @prop - Color of the toast button
$toast-ios-button-color: #{ion-color(primary, base)} !default;

/// @prop - Filter of the translucent toast
$toast-ios-translucent-filter: saturate(180%) blur(20px) !default;
@@ -66,9 +66,6 @@ $toast-ios-button-font-size: 17px !default;
/// @prop - Font size of the toast button
$toast-ios-button-font-weight: 500 !default;

/// @prop - Color of the text in the toast button
$toast-ios-button-text-color: ion-color(primary, base) !default;

/// @prop - Background color alpha of the toast activated button
$toast-ios-button-opacity-activated: .4 !default;

@@ -64,7 +64,6 @@
position: relative;

background-color: $toast-md-button-background-color;
color: $toast-md-button-text-color;

font-family: var(--ion-font-family);
font-size: $toast-md-button-font-size;
@@ -63,9 +63,6 @@ $toast-md-button-font-weight: 500 !default;
/// @prop - Letter spacing of the toast button
$toast-md-button-letter-spacing: 0.84px !default;

/// @prop - Text color of the toast button
$toast-md-button-text-color: ion-color(primary, base) !default;

/// @prop - Background color of the toast button
$toast-md-button-background-color: transparent !default;

0 comments on commit 0c83fd3

Please sign in to comment.
You can’t perform that action at this time.