Make fab text black when primary color is cyan
This commit is contained in:
parent
0f571ac3ea
commit
7feb98f7ce
8
App.tsx
8
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',
|
||||
},
|
||||
|
|
|
@ -11,6 +11,7 @@ export default function MassiveFab(
|
|||
<FAB
|
||||
{...props}
|
||||
icon="add"
|
||||
color={color === '#B3E5fC' ? 'black' : undefined}
|
||||
style={{
|
||||
position: 'absolute',
|
||||
right: 10,
|
||||
|
|
Loading…
Reference in New Issue
Block a user