@umituz/react-native-subscription 2.12.5 → 2.12.6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-subscription",
3
- "version": "2.12.5",
3
+ "version": "2.12.6",
4
4
  "description": "Complete subscription management with RevenueCat, paywall UI, and credits system for React Native apps",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -9,11 +9,13 @@ import type { DesignTokens } from "@umituz/react-native-design-system";
9
9
  export const createPaywallFeedbackStyles = (
10
10
  tokens: DesignTokens,
11
11
  canSubmit: boolean
12
- ) =>
13
- StyleSheet.create({
12
+ ) => {
13
+ const overlayColor = tokens.colors.backgroundPrimary + '99';
14
+
15
+ return StyleSheet.create({
14
16
  overlay: {
15
17
  flex: 1,
16
- backgroundColor: "rgba(0, 0, 0, 0.6)",
18
+ backgroundColor: overlayColor,
17
19
  justifyContent: "center",
18
20
  alignItems: "center",
19
21
  padding: 20,
@@ -119,3 +121,4 @@ export const createPaywallFeedbackStyles = (
119
121
  fontWeight: "600",
120
122
  },
121
123
  });
124
+ };