@evlop/native-components 1.0.220 → 1.0.221
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -98,7 +98,7 @@ function RenderTabs({ tabs, animatedScrollPostion }) {
|
|
|
98
98
|
const tabBackgroundColor = (_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b['header-background'];
|
|
99
99
|
const tabTintColor = (_c = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _c === void 0 ? void 0 : _c['header-tint'];
|
|
100
100
|
const activeTabTintColor = (0, react_1.useMemo)(() => {
|
|
101
|
-
return (0, polished_1.mix)(0.
|
|
101
|
+
return (0, polished_1.mix)(0.2, tabTintColor, primaryColor);
|
|
102
102
|
}, [primaryColor, tabTintColor]);
|
|
103
103
|
const tabRoutes = (0, react_1.useMemo)(() => tabs.map((tab) => ({
|
|
104
104
|
key: tab.id,
|