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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-boxes",
3
- "version": "1.4.48",
3
+ "version": "1.4.51",
4
4
  "description": "A react native library for rapid development of UI using boxes",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -68,10 +68,11 @@ export const DarkColors = {
68
68
  warning: '#FFA726',
69
69
  critical: '#F44336',
70
70
  invert: {
71
- text: '#fff',
72
- caption: '#fff',
73
- heading: '#fff',
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 || theme.colors.invert.text,
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 || theme.colors.invert.text,
239
+ color: tstyle.color || "#fff",
240
240
  }}>
241
241
  {props.text}
242
242
  </TextView>