react-native-boxes 1.4.48 → 1.4.51
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 +1 -1
- package/sample-app/Styles.tsx +5 -4
- package/src/Button.tsx +2 -2
package/package.json
CHANGED
package/sample-app/Styles.tsx
CHANGED
|
@@ -68,10 +68,11 @@ export const DarkColors = {
|
|
|
68
68
|
warning: '#FFA726',
|
|
69
69
|
critical: '#F44336',
|
|
70
70
|
invert: {
|
|
71
|
-
text: '#
|
|
72
|
-
caption: '#
|
|
73
|
-
heading: '#
|
|
74
|
-
background: '#E6E6E6'
|
|
71
|
+
text: '#444444',
|
|
72
|
+
caption: '#A9A9A9',
|
|
73
|
+
heading: '#222222',
|
|
74
|
+
background: '#E6E6E6',
|
|
75
|
+
forground: '#fff'
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
78
|
|
package/src/Button.tsx
CHANGED
|
@@ -161,7 +161,7 @@ export function ButtonView(props: ButtonViewProps) {
|
|
|
161
161
|
//@ts-ignore
|
|
162
162
|
fontFamily: tstyle.fontFamily || theme.fonts.Bold,
|
|
163
163
|
//@ts-ignore
|
|
164
|
-
color: tstyle.color ||
|
|
164
|
+
color: tstyle.color || "#fff",
|
|
165
165
|
}, props.textStyle]}>
|
|
166
166
|
{props.text || props.children}
|
|
167
167
|
</TextView>
|
|
@@ -236,7 +236,7 @@ export function RightIconButton(props: ButtonViewProps) {
|
|
|
236
236
|
//@ts-ignore
|
|
237
237
|
fontFamily: tstyle.fontFamily,
|
|
238
238
|
//@ts-ignore
|
|
239
|
-
color: tstyle.color ||
|
|
239
|
+
color: tstyle.color || "#fff",
|
|
240
240
|
}}>
|
|
241
241
|
{props.text}
|
|
242
242
|
</TextView>
|