mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
refactor(themes): update to new ionic colors (#19279)
BREAKING CHANGES The Ionic default colors have been updated to the following: primary: #3880ff secondary: #3dc2ff tertiary: #5260ff success: #2dd36f warning: #ffc409 danger: #eb445a light: #f4f5f8 medium: #92949c dark: #222428 `primary`, `light` and `dark` have not changed. The contrast color for `warning` has been updated to `#000`.
This commit is contained in:
@ -15,13 +15,13 @@
|
||||
// - tint: 10% lighter version of the base color (mix with white)
|
||||
|
||||
$primary: #3880ff !default;
|
||||
$secondary: #0cd1e8 !default;
|
||||
$tertiary: #7044ff !default;
|
||||
$success: #10dc60 !default;
|
||||
$warning: #ffce00 !default;
|
||||
$danger: #f04141 !default;
|
||||
$secondary: #3dc2ff !default;
|
||||
$tertiary: #5260ff !default;
|
||||
$success: #2dd36f !default;
|
||||
$warning: #ffc409 !default;
|
||||
$danger: #eb445a !default;
|
||||
$light: #f4f5f8 !default;
|
||||
$medium: #989aa2 !default;
|
||||
$medium: #92949c !default;
|
||||
$dark: #222428 !default;
|
||||
|
||||
$colors: (
|
||||
@ -51,7 +51,7 @@ $colors: (
|
||||
),
|
||||
warning: (
|
||||
base: $warning,
|
||||
contrast: #fff,
|
||||
contrast: #000,
|
||||
shade: get-color-shade($warning),
|
||||
tint: get-color-tint($warning)
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user