diff --git a/config/default.js b/config/default.js index 8b26469d..63c85033 100644 --- a/config/default.js +++ b/config/default.js @@ -8,6 +8,9 @@ export const DefaultConfig = { defaultTab: toArray(config('DRIVER_NAVIGATOR_DEFAULT_TAB', 'DriverDashboardTab')), }, defaultLocale: config('DEFAULT_LOCALE', 'en'), + colors: { + loginBackground: config('LOGIN_BG_COLOR', '#111827'), + }, }; export function createNavigatorConfig(userConfig = {}) { diff --git a/package.json b/package.json index b4bff781..71715867 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fleetbase/navigator-app", - "version": "2.0.3", + "version": "2.0.4", "license": "AGPL-3.0-or-later", "author": "Fleetbase Pte Ltd ", "description": "Order management, geolocation tracking and navigation for Fleetbase drivers.", @@ -48,7 +48,7 @@ "@react-navigation/native": "^7.0.0", "@react-navigation/native-stack": "^7.0.0", "@tamagui/babel-plugin": "^1.121.5", - "@tamagui/config": "^1.116.14", + "@tamagui/config": "1.125.20", "add": "^2.0.6", "countries-list": "^3.0.6", "country-locale-map": "^1.9.0", @@ -101,7 +101,7 @@ "react-redux": "^9.0.4", "recyclerlistview": "^4.2.1", "socketcluster-client": "^19.2.3", - "tamagui": "^1.121.5", + "tamagui": "1.125.20", "yarn": "^1.22.22" }, "devDependencies": { @@ -122,11 +122,19 @@ "babel-jest": "^29.6.3", "babel-loader": "^9.2.1", "babel-plugin-preval": "^5.1.0", + "babel-plugin-react-native-web": "^0.19.13", + "css-loader": "^7.1.2", + "dotenv": "^16.4.7", "eslint": "^8.19.0", + "html-webpack-plugin": "^5.6.3", "jest": "^29.6.3", + "metro-react-native-babel-preset": "^0.77.0", "prettier": "^3.3.3", "react-test-renderer": "18.3.1", + "style-loader": "^4.0.0", + "tamagui-loader": "1.125.20", "typescript": "5.0.4", + "url-loader": "^4.1.1", "webpack": "^5.97.1", "webpack-cli": "^6.0.0", "webpack-dev-server": "^5.2.0" diff --git a/src/components/Buttons.tsx b/src/components/Buttons.tsx index e9490f30..cadd95ba 100644 --- a/src/components/Buttons.tsx +++ b/src/components/Buttons.tsx @@ -10,7 +10,7 @@ export const PhoneLoginButton = ({ onPress, ...props }) => { const theme = useTheme(); return ( -