mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(sass): remove usage of colors other than primary, improve error (#8907)
* fix(sass): remove usage of colors other than primary, improve error fixes #8266 * refactor(sass): add variables to override all modes for fab and input * refactor(fab): rename Sass variable from in-list to list-button BREAKING CHANGE: - `$fab-<mode>-in-list-background-color` -> `$fab-<mode>-list-button-background-color` - `$fab-<mode>-in-list-text-color` -> `$fab-<mode>-list-button-text-color` - `$fab-<mode>-in-list-background-color-activated` -> `$fab-<mode>-list-button-background-color-activated`
This commit is contained in:
committed by
Manu Mtz.-Almeida
parent
a98284a0a6
commit
eb0b05df88
@@ -43,10 +43,10 @@ $text-input-ios-show-invalid-highlight: $text-input-ios-show-focus-highlight
|
||||
$text-input-ios-highlight-color: color($colors-ios, primary) !default;
|
||||
|
||||
/// @prop - Color of the input highlight when valid
|
||||
$text-input-ios-highlight-color-valid: color($colors-ios, secondary) !default;
|
||||
$text-input-ios-highlight-color-valid: $text-input-highlight-color-valid !default;
|
||||
|
||||
/// @prop - Color of the input highlight when invalid
|
||||
$text-input-ios-highlight-color-invalid: color($colors-ios, danger) !default;
|
||||
$text-input-ios-highlight-color-invalid: $text-input-highlight-color-invalid !default;
|
||||
|
||||
|
||||
// iOS Default Input
|
||||
|
||||
@@ -43,10 +43,10 @@ $text-input-md-show-invalid-highlight: $text-input-md-show-focus-highlight
|
||||
$text-input-md-highlight-color: color($colors-md, primary) !default;
|
||||
|
||||
/// @prop - Color of the input highlight when valid
|
||||
$text-input-md-highlight-color-valid: color($colors-md, secondary) !default;
|
||||
$text-input-md-highlight-color-valid: $text-input-highlight-color-valid !default;
|
||||
|
||||
/// @prop - Color of the input highlight when invalid
|
||||
$text-input-md-highlight-color-invalid: color($colors-md, danger) !default;
|
||||
$text-input-md-highlight-color-invalid: $text-input-highlight-color-invalid !default;
|
||||
|
||||
|
||||
// Material Design Default Input
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
@import "../../themes/ionic.globals";
|
||||
|
||||
// Input
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Color of the input highlight when valid
|
||||
$text-input-highlight-color-valid: #32db64 !default;
|
||||
|
||||
/// @prop - Color of the input highlight when invalid
|
||||
$text-input-highlight-color-invalid: #f53d3d !default;
|
||||
|
||||
|
||||
// Input/Textarea Wrapper
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
@@ -58,10 +58,10 @@ $text-input-wp-show-invalid-highlight: $text-input-wp-show-focus-highlight
|
||||
$text-input-wp-highlight-color: color($colors-wp, primary) !default;
|
||||
|
||||
/// @prop - Color of the input highlight when valid
|
||||
$text-input-wp-highlight-color-valid: color($colors-wp, secondary) !default;
|
||||
$text-input-wp-highlight-color-valid: $text-input-highlight-color-valid !default;
|
||||
|
||||
/// @prop - Color of the input highlight when invalid
|
||||
$text-input-wp-highlight-color-invalid: color($colors-wp, danger) !default;
|
||||
$text-input-wp-highlight-color-invalid: $text-input-highlight-color-invalid !default;
|
||||
|
||||
|
||||
// Windows Default Input
|
||||
|
||||
Reference in New Issue
Block a user