|
@@ -116,45 +116,45 @@ function convertStyleParams(originalStyleObject) {
|
116
|
116
|
}
|
117
|
117
|
|
118
|
118
|
let ret = {
|
119
|
|
- statusBarColor: originalStyleObject.statusBarColor,
|
120
|
|
- topBarColor: originalStyleObject.navBarBackgroundColor,
|
|
119
|
+ statusBarColor: processColor(originalStyleObject.statusBarColor),
|
|
120
|
+ topBarColor: processColor(originalStyleObject.navBarBackgroundColor),
|
121
|
121
|
topBarTransparent: originalStyleObject.navBarTransparent,
|
122
|
122
|
topBarTranslucent: originalStyleObject.navBarTranslucent,
|
123
|
123
|
collapsingToolBarImage: originalStyleObject.collapsingToolBarImage,
|
124
|
|
- collapsingToolBarCollapsedColor: originalStyleObject.collapsingToolBarCollapsedColor,
|
|
124
|
+ collapsingToolBarCollapsedColor: processColor(originalStyleObject.collapsingToolBarCollapsedColor),
|
125
|
125
|
titleBarHidden: originalStyleObject.navBarHidden,
|
126
|
126
|
titleBarHideOnScroll: originalStyleObject.navBarHideOnScroll,
|
127
|
|
- titleBarTitleColor: originalStyleObject.navBarTextColor,
|
128
|
|
- titleBarSubtitleColor: originalStyleObject.navBarTextSubtitleColor,
|
129
|
|
- titleBarButtonColor: originalStyleObject.navBarButtonColor,
|
130
|
|
- titleBarDisabledButtonColor: originalStyleObject.titleBarDisabledButtonColor,
|
|
127
|
+ titleBarTitleColor: processColor(originalStyleObject.navBarTextColor),
|
|
128
|
+ titleBarSubtitleColor: processColor(originalStyleObject.navBarTextSubtitleColor),
|
|
129
|
+ titleBarButtonColor: processColor(originalStyleObject.navBarButtonColor),
|
|
130
|
+ titleBarDisabledButtonColor: processColor(originalStyleObject.titleBarDisabledButtonColor),
|
131
|
131
|
backButtonHidden: originalStyleObject.backButtonHidden,
|
132
|
132
|
topTabsHidden: originalStyleObject.topTabsHidden,
|
133
|
|
- contextualMenuStatusBarColor: originalStyleObject.contextualMenuStatusBarColor,
|
134
|
|
- contextualMenuBackgroundColor: originalStyleObject.contextualMenuBackgroundColor,
|
135
|
|
- contextualMenuButtonsColor: originalStyleObject.contextualMenuButtonsColor,
|
|
133
|
+ contextualMenuStatusBarColor: processColor(originalStyleObject.contextualMenuStatusBarColor),
|
|
134
|
+ contextualMenuBackgroundColor: processColor(originalStyleObject.contextualMenuBackgroundColor),
|
|
135
|
+ contextualMenuButtonsColor: processColor(originalStyleObject.contextualMenuButtonsColor),
|
136
|
136
|
|
137
|
137
|
drawBelowTopBar: !originalStyleObject.drawUnderNavBar,
|
138
|
138
|
|
139
|
|
- topTabTextColor: originalStyleObject.topTabTextColor,
|
140
|
|
- selectedTopTabTextColor: originalStyleObject.selectedTopTabTextColor,
|
|
139
|
+ topTabTextColor: processColor(originalStyleObject.topTabTextColor),
|
|
140
|
+ selectedTopTabTextColor: processColor(originalStyleObject.selectedTopTabTextColor),
|
141
|
141
|
selectedTopTabIndicatorHeight: originalStyleObject.selectedTopTabIndicatorHeight,
|
142
|
|
- selectedTopTabIndicatorColor: originalStyleObject.selectedTopTabIndicatorColor,
|
|
142
|
+ selectedTopTabIndicatorColor: processColor(originalStyleObject.selectedTopTabIndicatorColor),
|
143
|
143
|
|
144
|
|
- screenBackgroundColor: originalStyleObject.screenBackgroundColor,
|
|
144
|
+ screenBackgroundColor: processColor(originalStyleObject.screenBackgroundColor),
|
145
|
145
|
|
146
|
146
|
drawScreenAboveBottomTabs: !originalStyleObject.drawUnderTabBar,
|
147
|
147
|
|
148
|
|
- bottomTabsColor: originalStyleObject.tabBarBackgroundColor,
|
149
|
|
- bottomTabsButtonColor: originalStyleObject.tabBarButtonColor,
|
150
|
|
- bottomTabsSelectedButtonColor: originalStyleObject.tabBarSelectedButtonColor,
|
|
148
|
+ bottomTabsColor: processColor(originalStyleObject.tabBarBackgroundColor),
|
|
149
|
+ bottomTabsButtonColor: processColor(originalStyleObject.tabBarButtonColor),
|
|
150
|
+ bottomTabsSelectedButtonColor: processColor(originalStyleObject.tabBarSelectedButtonColor),
|
151
|
151
|
bottomTabsHidden: originalStyleObject.tabBarHidden,
|
152
|
152
|
bottomTabsHiddenOnScroll: originalStyleObject.bottomTabsHiddenOnScroll,
|
153
|
153
|
forceTitlesDisplay: originalStyleObject.forceTitlesDisplay,
|
154
|
|
- bottomTabBadgeTextColor: originalStyleObject.bottomTabBadgeTextColor,
|
155
|
|
- bottomTabBadgeBackgroundColor: originalStyleObject.bottomTabBadgeBackgroundColor,
|
|
154
|
+ bottomTabBadgeTextColor: processColor(originalStyleObject.bottomTabBadgeTextColor),
|
|
155
|
+ bottomTabBadgeBackgroundColor: processColor(originalStyleObject.bottomTabBadgeBackgroundColor),
|
156
|
156
|
|
157
|
|
- navigationBarColor: originalStyleObject.navigationBarColor
|
|
157
|
+ navigationBarColor: processColor(originalStyleObject.navigationBarColor)
|
158
|
158
|
}
|
159
|
159
|
|
160
|
160
|
if (originalStyleObject.collapsingToolBarImage) {
|