MOBILE-3021 styles: Make it easy to change ionic colors

main
Pau Ferrer Ocaña 2019-07-19 12:41:16 +02:00 committed by Dani Palou
parent 762dc4b0f6
commit 2615710081
1 changed files with 23 additions and 12 deletions

View File

@ -35,7 +35,6 @@ $core-color: $orange;
// -------------------------------------------------- // --------------------------------------------------
@import "bmma"; @import "bmma";
$blue-light: mix($blue, white, 20%) !default; // Background. $blue-light: mix($blue, white, 20%) !default; // Background.
$blue-dark: darken($blue, 10%) !default; $blue-dark: darken($blue, 10%) !default;
@ -76,19 +75,31 @@ $content-padding: 10px;
// colors so you can add, rename and remove colors as needed. // colors so you can add, rename and remove colors as needed.
// The "primary" color is the only required color in the map. // The "primary" color is the only required color in the map.
$primary: $core-color !default;
$secondary: $turquoise !default;
$danger: $red !default;
$light: $gray-lighter !default;
$color-gray: $gray-dark !default;
$dark: $black !default;
$warning: $yellow !default;
$success: $green !default;
$info: $blue !default;
$inverted-base: $white !default;
$inverted-contrast: $primary !default;
$colors: ( $colors: (
primary: $core-color, primary: $primary,
secondary: $turquoise, secondary: $secondary,
danger: $red, danger: $danger,
light: $gray-lighter, light: $light,
gray: $gray-dark, gray: $color-gray,
dark: $black, dark: $dark,
warning: $yellow, warning: $warning,
success: $green, success: $success,
info: $blue, info: $info,
inverted: ( inverted: (
base: $white, base: $inverted-base,
contrast: $core-color contrast: $inverted-contrast
) )
); );