Open YuGer26 opened 1 year ago
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch react-native-unicorn-modals@0.5.1 for the project I'm working on.
react-native-unicorn-modals@0.5.1
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-unicorn-modals/src/themes/default-dark.ts b/node_modules/react-native-unicorn-modals/src/themes/default-dark.ts index 4b8df4a..6a5f3c0 100644 --- a/node_modules/react-native-unicorn-modals/src/themes/default-dark.ts +++ b/node_modules/react-native-unicorn-modals/src/themes/default-dark.ts @@ -8,7 +8,7 @@ const defaultThemeDark: DefaultTheme = { }, cardBackgroundColor: '#111', lineColor: '#222', - overlayBackgroundColor: 'rgba(0, 0, 0, 0.8)', + overlayBackgroundColor: '#0008', textColor: '#ddd', titleTextColor: '#fff', }; diff --git a/node_modules/react-native-unicorn-modals/src/themes/default-light.ts b/node_modules/react-native-unicorn-modals/src/themes/default-light.ts index 4c5f21e..7aff425 100644 --- a/node_modules/react-native-unicorn-modals/src/themes/default-light.ts +++ b/node_modules/react-native-unicorn-modals/src/themes/default-light.ts @@ -8,7 +8,7 @@ const defaultThemeLight: DefaultTheme = { }, cardBackgroundColor: '#eee', lineColor: '#ddd', - overlayBackgroundColor: 'rgba(0, 0, 0, 0.8)', + overlayBackgroundColor: '#0008', textColor: '#333', titleTextColor: '#000', };
This issue body was partially generated by patch-package.
Hi! Could you give me more info about issue?
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch
react-native-unicorn-modals@0.5.1
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.