File tree 6 files changed +32
-11
lines changed
6 files changed +32
-11
lines changed Original file line number Diff line number Diff line change 6
6
-->
7
7
< ion-header >
8
8
9
- < ion-navbar >
9
+ < ion-navbar color =" primary " >
10
10
< ion-title > Comments</ ion-title >
11
11
</ ion-navbar >
12
12
18
18
< ion-card *ngIf ="post.selftext ">
19
19
< ion-card-content >
20
20
< p class ="selftext "> {{post.selftext}}</ p >
21
- < ion-row class ="post-author ">
21
+ < ion-row class ="post-info ">
22
22
< ion-col center text-left >
23
- < ion-note >
24
- by {{post.author}}
23
+ < ion-note class =" post-author " >
24
+ {{post.author}}
25
25
</ ion-note >
26
26
</ ion-col >
27
27
< ion-col center text-right >
Original file line number Diff line number Diff line change 1
1
page-comments {
2
- .post-author {
2
+ .post-info {
3
3
font-size : 1.2rem ;
4
4
color : #2b2b2b ;
5
+
6
+ .post-author {
7
+ color : color ($colors , primary );
8
+ }
5
9
}
6
10
7
11
.comments-load-spinner {
@@ -11,5 +15,9 @@ page-comments {
11
15
left : 0 ;
12
16
right : 0 ;
13
17
bottom : 0 ;
18
+
19
+ * {
20
+ stroke : color ($colors , primary );
21
+ }
14
22
}
15
23
}
Original file line number Diff line number Diff line change 16
16
.comment-head {
17
17
font-size : 1rem ;
18
18
margin-bottom : 5px ;
19
+
20
+ .comment-author {
21
+ color : color ($colors , primary );
22
+ }
19
23
}
20
24
21
25
ion-label {
Original file line number Diff line number Diff line change 1
1
< ion-header >
2
- < ion-navbar >
2
+ < ion-navbar color =" primary " >
3
3
< ion-title >
4
4
Ionic2 Reddit Reader
5
5
</ ion-title >
29
29
</ ion-note >
30
30
</ ion-col >
31
31
< ion-col >
32
- < button ion-button icon-left clear small (click) ="goToComments(post) ">
32
+ < button ion-button icon-left clear small color =" primary " (click) ="goToComments(post) ">
33
33
< ion-icon name ="ios-text-outline "> </ ion-icon >
34
34
< div > {{post.num_comments}}</ div >
35
35
</ button >
38
38
</ ion-card >
39
39
40
40
< ion-infinite-scroll (ionInfinite) ="loadMore($event) ">
41
- < ion-infinite-scroll-content >
42
- loadingSpinner="bubbles "
41
+ < ion-infinite-scroll-content color =" primary " >
42
+ loadingSpinner="crescent "
43
43
loadingText="Loading more fun...">
44
44
</ ion-infinite-scroll-content >
45
45
</ ion-infinite-scroll >
Original file line number Diff line number Diff line change @@ -6,6 +6,16 @@ page-posts {
6
6
left : 0 ;
7
7
right : 0 ;
8
8
bottom : 0 ;
9
+
10
+ * {
11
+ stroke : color ($colors , primary );
12
+ }
13
+ }
14
+
15
+ ion-infinite-scroll .infinite-loading-spinner {
16
+ * {
17
+ stroke : color ($colors , primary );
18
+ }
9
19
}
10
20
11
21
.post-title {
Original file line number Diff line number Diff line change @@ -23,14 +23,13 @@ $background-color: #fff;
23
23
// The "primary" color is the only required color in the map.
24
24
25
25
$colors : (
26
- primary : #387ef5 ,
26
+ primary : #089de3 ,
27
27
secondary : #32db64 ,
28
28
danger : #f53d3d ,
29
29
light : #f4f4f4 ,
30
30
dark : #222
31
31
);
32
32
33
-
34
33
// App iOS Variables
35
34
// --------------------------------------------------
36
35
// iOS only Sass variables can go here
You can’t perform that action at this time.
0 commit comments