mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
fix(themes): update primary color
This commit is contained in:

committed by
mhartington

parent
e404b19733
commit
bcb6bbb1d8
@ -12,7 +12,7 @@
|
|||||||
For example:
|
For example:
|
||||||
|
|
||||||
$colors: (
|
$colors: (
|
||||||
primary: #327eff,
|
primary: #488aff,
|
||||||
secondary: (base: #32db64, contrast: #000),
|
secondary: (base: #32db64, contrast: #000),
|
||||||
);";
|
);";
|
||||||
|
|
||||||
@ -28,7 +28,7 @@
|
|||||||
For example:
|
For example:
|
||||||
|
|
||||||
$colors: (
|
$colors: (
|
||||||
#{$color-name}: #327eff
|
#{$color-name}: #488aff
|
||||||
);";
|
);";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -253,7 +253,7 @@
|
|||||||
//
|
//
|
||||||
// Example values
|
// Example values
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
// primary | #327eff | #444
|
// primary | #488aff | #444
|
||||||
// map key | map value | hex color not in map
|
// map key | map value | hex color not in map
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
//
|
//
|
||||||
@ -278,7 +278,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If the value is a map then get the contrast
|
// If the value is a map then get the contrast
|
||||||
// from the map (e.g. (base: #327eff, contrast: blue))
|
// from the map (e.g. (base: #488aff, contrast: blue))
|
||||||
@if (type-of($color-value) == map) {
|
@if (type-of($color-value) == map) {
|
||||||
// If the map has the contrast key then use that
|
// If the map has the contrast key then use that
|
||||||
// otherwise it is a map with just a base so get
|
// otherwise it is a map with just a base so get
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
$colors: (
|
$colors: (
|
||||||
|
|
||||||
primary: #327eff,
|
primary: #488aff,
|
||||||
secondary: #32db64,
|
secondary: #32db64,
|
||||||
danger: #f53d3d,
|
danger: #f53d3d,
|
||||||
light: #f4f4f4,
|
light: #f4f4f4,
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
For example:
|
For example:
|
||||||
|
|
||||||
$colors: (
|
$colors: (
|
||||||
primary: #327eff,
|
primary: #488aff,
|
||||||
secondary: (base: #32db64, contrast: #000),
|
secondary: (base: #32db64, contrast: #000),
|
||||||
);";
|
);";
|
||||||
|
|
||||||
@ -28,7 +28,7 @@
|
|||||||
For example:
|
For example:
|
||||||
|
|
||||||
$colors: (
|
$colors: (
|
||||||
#{$color-name}: #327eff
|
#{$color-name}: #488aff
|
||||||
);";
|
);";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -253,7 +253,7 @@
|
|||||||
//
|
//
|
||||||
// Example values
|
// Example values
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
// primary | #327eff | #444
|
// primary | #488aff | #444
|
||||||
// map key | map value | hex color not in map
|
// map key | map value | hex color not in map
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
//
|
//
|
||||||
@ -278,7 +278,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If the value is a map then get the contrast
|
// If the value is a map then get the contrast
|
||||||
// from the map (e.g. (base: #327eff, contrast: blue))
|
// from the map (e.g. (base: #488aff, contrast: blue))
|
||||||
@if (type-of($color-value) == map) {
|
@if (type-of($color-value) == map) {
|
||||||
// If the map has the contrast key then use that
|
// If the map has the contrast key then use that
|
||||||
// otherwise it is a map with just a base so get
|
// otherwise it is a map with just a base so get
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
$colors: (
|
$colors: (
|
||||||
|
|
||||||
primary: #327eff,
|
primary: #488aff,
|
||||||
secondary: #32db64,
|
secondary: #32db64,
|
||||||
danger: #f53d3d,
|
danger: #f53d3d,
|
||||||
light: #f4f4f4,
|
light: #f4f4f4,
|
||||||
|
Reference in New Issue
Block a user