@mehul214/react-native-flash-toast 1.0.0 → 1.0.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/src/styles.ts CHANGED
@@ -57,22 +57,22 @@ export const styles = StyleSheet.create({
57
57
  ios: {
58
58
  shadowColor: '#000000',
59
59
  shadowOffset: { width: 0, height: 6 },
60
- shadowOpacity: 0.18,
61
- shadowRadius: 12,
60
+ shadowOpacity: 0.2,
61
+ shadowRadius: 14,
62
62
  },
63
63
  android: {
64
64
  elevation: 8,
65
65
  },
66
66
  web: {
67
- boxShadow: '0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1)',
67
+ boxShadow: '0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.15)',
68
68
  } as any,
69
69
  }),
70
70
  },
71
71
  floatingContainer: {
72
72
  marginHorizontal: 16,
73
- borderRadius: 14,
74
- borderWidth: StyleSheet.hairlineWidth,
75
- borderColor: 'rgba(255, 255, 255, 0.15)',
73
+ borderRadius: 16,
74
+ borderWidth: 1,
75
+ borderColor: 'rgba(255, 255, 255, 0.16)',
76
76
  },
77
77
  edgeToEdgeContainer: {
78
78
  marginHorizontal: 0,
@@ -82,7 +82,7 @@ export const styles = StyleSheet.create({
82
82
  flex: 1,
83
83
  flexDirection: 'row',
84
84
  alignItems: 'center',
85
- paddingVertical: 14,
85
+ paddingVertical: 13,
86
86
  paddingHorizontal: 16,
87
87
  },
88
88
  iconContainer: {
@@ -90,6 +90,14 @@ export const styles = StyleSheet.create({
90
90
  justifyContent: 'center',
91
91
  alignItems: 'center',
92
92
  },
93
+ iconBadge: {
94
+ width: 32,
95
+ height: 32,
96
+ borderRadius: 16,
97
+ backgroundColor: 'rgba(255, 255, 255, 0.22)',
98
+ justifyContent: 'center',
99
+ alignItems: 'center',
100
+ },
93
101
  textContainer: {
94
102
  flex: 1,
95
103
  justifyContent: 'center',
@@ -98,25 +106,28 @@ export const styles = StyleSheet.create({
98
106
  fontSize: 15,
99
107
  fontWeight: '600',
100
108
  letterSpacing: -0.2,
109
+ lineHeight: 20,
101
110
  color: '#FFFFFF',
102
111
  },
103
112
  descriptionText: {
104
113
  fontSize: 13,
105
114
  fontWeight: '400',
106
- color: 'rgba(255, 255, 255, 0.88)',
115
+ color: 'rgba(255, 255, 255, 0.9)',
107
116
  marginTop: 2,
108
117
  lineHeight: 18,
109
118
  },
110
119
  actionButton: {
111
- marginLeft: 10,
120
+ marginLeft: 12,
112
121
  paddingHorizontal: 12,
113
122
  paddingVertical: 6,
114
123
  borderRadius: 8,
115
- backgroundColor: 'rgba(255, 255, 255, 0.2)',
124
+ backgroundColor: 'rgba(255, 255, 255, 0.22)',
125
+ borderWidth: 1,
126
+ borderColor: 'rgba(255, 255, 255, 0.2)',
116
127
  },
117
128
  actionButtonText: {
118
129
  fontSize: 13,
119
- fontWeight: '700',
130
+ fontWeight: '600',
120
131
  color: '#FFFFFF',
121
132
  },
122
133
  progressBarContainer: {
@@ -125,11 +136,10 @@ export const styles = StyleSheet.create({
125
136
  left: 0,
126
137
  right: 0,
127
138
  height: 3,
128
- backgroundColor: 'rgba(255, 255, 255, 0.25)',
139
+ backgroundColor: 'rgba(255, 255, 255, 0.2)',
129
140
  },
130
141
  progressBarFill: {
131
142
  height: '100%',
132
- backgroundColor: '#FFFFFF',
143
+ backgroundColor: 'rgba(255, 255, 255, 0.9)',
133
144
  },
134
145
  });
135
-