Skip to content

Commit a22e2cf

Browse files
committed
update mode link colors
1 parent 5ae94e6 commit a22e2cf

3 files changed

Lines changed: 44 additions & 23 deletions

File tree

ionic/components/app/modes/ios.scss

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
// iOS App
44
// --------------------------------------------------
55

6+
7+
a {
8+
color: $link-ios-color;
9+
}
10+
611
hr {
712
border-width: 0;
813
height: 1px;
@@ -12,3 +17,21 @@ hr {
1217
&.hairlines hr {
1318
height: 0.55px;
1419
}
20+
21+
@each $color-name, $color-value in $colors-ios {
22+
h1, h2, h3, h4, h5, h6,
23+
p,
24+
span,
25+
a:not([button]),
26+
small,
27+
b,
28+
i,
29+
strong,
30+
em,
31+
sub,
32+
sup {
33+
&[#{$color-name}] {
34+
color: $color-value !important;
35+
}
36+
}
37+
}

ionic/components/app/modes/md.scss

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,30 @@
44
// --------------------------------------------------
55

66

7+
a {
8+
color: $link-md-color;
9+
}
710

811
hr {
912
border-width: 0;
1013
height: 1px;
1114
background-color: rgba(0, 0, 0, 0.08);
1215
}
16+
17+
@each $color-name, $color-value in $colors-md {
18+
h1, h2, h3, h4, h5, h6,
19+
p,
20+
span,
21+
a:not([button]),
22+
small,
23+
b,
24+
i,
25+
strong,
26+
em,
27+
sub,
28+
sup {
29+
&[#{$color-name}] {
30+
color: $color-value !important;
31+
}
32+
}
33+
}

ionic/components/content/modes/ios.scss

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ ion-content {
1010
background-color: $background-ios-color;
1111
}
1212

13-
a {
14-
color: $link-ios-color;
15-
}
16-
1713
.outer-content {
1814
background: $outer-content-ios-background-color;
1915
}
@@ -22,22 +18,3 @@ ion-nav.has-views,
2218
ion-tab.has-views {
2319
background: #000;
2420
}
25-
26-
@each $color-name, $color-value in $colors-ios {
27-
h1, h2, h3, h4, h5, h6,
28-
p,
29-
span,
30-
a:not([button]),
31-
small,
32-
b,
33-
i,
34-
u,
35-
strong,
36-
em,
37-
sub,
38-
sup {
39-
&[#{$color-name}] {
40-
color: $color-value !important;
41-
}
42-
}
43-
}

0 commit comments

Comments
 (0)