mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00

BREAKING CHANGE: Can now pass contrast to the colors map: ``` $colors-wp: ( primary: ( base: #327eff, contrast: yellow ), secondary: ( base: #32db64, contrast: hotpink ), danger: #d91e18, light: #f4f4f4, dark: #222 ) !default; ``` references #5445
45 lines
526 B
SCSS
45 lines
526 B
SCSS
@import "../../globals.wp";
|
|
|
|
// Windows App
|
|
// --------------------------------------------------
|
|
|
|
ion-content {
|
|
color: $text-wp-color;
|
|
}
|
|
|
|
p {
|
|
color: $paragraph-wp-color;
|
|
}
|
|
|
|
a {
|
|
color: $link-wp-color;
|
|
}
|
|
|
|
hr {
|
|
background-color: rgba(0, 0, 0, .08);
|
|
}
|
|
|
|
@each $color-name, $color-base, $color-contrast in get-colors($colors-wp) {
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6,
|
|
p,
|
|
span,
|
|
a:not([button]),
|
|
small,
|
|
b,
|
|
i,
|
|
strong,
|
|
em,
|
|
sub,
|
|
sup,
|
|
ion-icon {
|
|
&[#{$color-name}] {
|
|
color: $color-base;
|
|
}
|
|
}
|
|
}
|