@umituz/react-native-splash 1.4.0 → 1.4.1

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-splash",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Generic splash screen for React Native apps with animations, gradients, and customizable branding. SOLID, DRY, KISS principles applied.",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -53,7 +53,7 @@ export const SplashScreen: React.FC<SplashScreenProps> = ({
53
53
  const finalBackgroundColor = backgroundColor || colors.primary;
54
54
 
55
55
  // Generate gradient colors based on theme
56
- const gradientColors = backgroundColor
56
+ const gradientColors: [string, string] = backgroundColor
57
57
  ? [backgroundColor, adjustColorBrightness(backgroundColor, isDark ? -15 : 10)]
58
58
  : isDark
59
59
  ? [colors.primary, adjustColorBrightness(colors.primary, -20)]
@@ -101,7 +101,7 @@ export const SplashScreen: React.FC<SplashScreenProps> = ({
101
101
  <AtomicIcon
102
102
  name={logo || "Sparkles"}
103
103
  size="xl"
104
- color={isDark ? "primary" : "white"}
104
+ color={isDark ? "primary" : "textInverse"}
105
105
  />
106
106
  ) : logo ? (
107
107
  logo
@@ -109,7 +109,7 @@ export const SplashScreen: React.FC<SplashScreenProps> = ({
109
109
  <AtomicIcon
110
110
  name="Sparkles"
111
111
  size="xl"
112
- color={isDark ? "primary" : "white"}
112
+ color={isDark ? "primary" : "textInverse"}
113
113
  />
114
114
  )}
115
115
  </View>