@@ -6,6 +6,7 @@ import { TextTransform } from "../text-base";
6
6
7
7
// Requires
8
8
import { Color } from "../../color" ;
9
+ import { backgroundColor , blueColor , labelColor } from "../../color/compatibility-colors.ios" ;
9
10
import { fromFileOrResource , fromFontIconCode , ImageSource } from "../../image-source" ;
10
11
import { ios as iosUtils , isFontIconURI , layout } from "../../utils/utils" ;
11
12
import { ios as iosView , View } from "../core/view" ;
@@ -91,10 +92,15 @@ class UIPageViewControllerImpl extends UIPageViewController {
91
92
}
92
93
93
94
tabBar . delegate = this . tabBarDelegate = MDCTabBarDelegateImpl . initWithOwner ( new WeakRef ( owner ) ) ;
94
- tabBar . tintColor = UIColor . blueColor ;
95
- tabBar . barTintColor = UIColor . whiteColor ;
96
- tabBar . setTitleColorForState ( UIColor . blackColor , MDCTabBarItemState . Normal ) ;
97
- tabBar . setTitleColorForState ( UIColor . blackColor , MDCTabBarItemState . Selected ) ;
95
+ tabBar . tintColor = blueColor ( ) ;
96
+ tabBar . barTintColor = backgroundColor ( ) ;
97
+ tabBar . setTitleColorForState ( labelColor ( ) , MDCTabBarItemState . Normal ) ;
98
+ tabBar . setTitleColorForState ( labelColor ( ) , MDCTabBarItemState . Selected ) ;
99
+
100
+ if ( majorVersion >= 13 ) {
101
+ tabBar . inkColor = UIColor . clearColor ;
102
+ }
103
+
98
104
tabBar . autoresizingMask = UIViewAutoresizing . FlexibleWidth | UIViewAutoresizing . FlexibleBottomMargin ;
99
105
tabBar . alignment = MDCTabBarAlignment . Leading ;
100
106
tabBar . sizeToFit ( ) ;
0 commit comments