File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 4
4
// --------------------------------------------------
5
5
6
6
$badge-ios-border-radius : 10px !default ;
7
+ $badge-ios-background-color : map-get ($colors-ios , primary ) !default ;
7
8
8
9
9
10
ion-badge {
10
11
border-radius : $badge-ios-border-radius ;
12
+ background-color : $badge-ios-background-color ;
13
+ color : inverse ($badge-ios-background-color );
11
14
}
12
15
13
16
Original file line number Diff line number Diff line change 3
3
// Material Design Badge
4
4
// --------------------------------------------------
5
5
6
- $badge-md-border-radius : 4px !default ;
6
+ $badge-md-border-radius : 4px !default ;
7
+ $badge-md-background-color : map-get ($colors-md , primary ) !default ;
7
8
8
9
9
10
ion-badge {
10
11
border-radius : $badge-md-border-radius ;
12
+ background-color : $badge-md-background-color ;
13
+ color : inverse ($badge-md-background-color );
11
14
}
12
15
13
16
Original file line number Diff line number Diff line change 5
5
6
6
$badge-font-size : 1.3rem !default ;
7
7
$badge-font-weight : bold !default ;
8
- $badge-background-color : map-get ($colors , primary );
9
8
10
9
11
10
ion-badge {
@@ -22,9 +21,6 @@ ion-badge {
22
21
font-weight : $badge-font-weight ;
23
22
line-height : 1 ;
24
23
25
- background-color : $badge-background-color ;
26
- color : inverse ($badge-background-color );
27
-
28
24
& :empty {
29
25
display : none ;
30
26
}
You can’t perform that action at this time.
0 commit comments