From 7feb98f7cec878ce0477786a6f96f47839ac345a Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Sat, 24 Sep 2022 15:59:52 +1200 Subject: [PATCH] Make fab text black when primary color is cyan --- App.tsx | 8 ++++---- MassiveFab.tsx | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/App.tsx b/App.tsx index b388185..7395d4a 100644 --- a/App.tsx +++ b/App.tsx @@ -26,19 +26,19 @@ export type DrawerParamList = { }; export const CombinedDefaultTheme = { - ...PaperDefaultTheme, ...NavigationDefaultTheme, + ...PaperDefaultTheme, colors: { - ...PaperDefaultTheme.colors, ...NavigationDefaultTheme.colors, + ...PaperDefaultTheme.colors, }, }; export const CombinedDarkTheme = { - ...PaperDarkTheme, ...NavigationDarkTheme, + ...PaperDarkTheme, colors: { - ...PaperDarkTheme.colors, ...NavigationDarkTheme.colors, + ...PaperDarkTheme.colors, primary: '#B3E5fC', background: '#0e0e0e', }, diff --git a/MassiveFab.tsx b/MassiveFab.tsx index 16f2f29..5c52524 100644 --- a/MassiveFab.tsx +++ b/MassiveFab.tsx @@ -11,6 +11,7 @@ export default function MassiveFab(