@dropi/react-native-design-system 0.1.23 → 0.1.25

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/README.md CHANGED
@@ -14,7 +14,7 @@ El **Design System de Dropi** para aplicaciones **React Native**. Este paquete r
14
14
  # Tabla de contenido
15
15
  - [📦 Instalación](#instalación)
16
16
 
17
- - [🎨 Tokens](#-tokens)
17
+ - [🎨 Tokens](#tokens)
18
18
  - [Radius](#radius)
19
19
  - [Spacing](#spacing)
20
20
  - [Sizes](#sizes)
@@ -26,11 +26,11 @@ const TextButton = ({
26
26
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
27
27
  style: styles.settingsButton,
28
28
  ...rest,
29
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
29
+ children: [preIcon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
30
30
  style: {
31
31
  marginRight: label != '' || postIcon ? _constants.spacing['size-2'] : 0
32
32
  },
33
- children: preIcon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative2.Icon, {
33
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative2.Icon, {
34
34
  name: preIcon,
35
35
  size: !_utils.isTablet ? iconSize : tabletIconSize,
36
36
  color: color
@@ -14,7 +14,9 @@ const Body = ({
14
14
  ...rest
15
15
  }) => {
16
16
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
17
- style: [styles[type], style],
17
+ style: [styles[type], {
18
+ color: _constants.colors.Black.light
19
+ }, style],
18
20
  ...rest
19
21
  });
20
22
  };
@@ -14,7 +14,9 @@ const Caption = ({
14
14
  ...rest
15
15
  }) => {
16
16
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
17
- style: [styles[type], style],
17
+ style: [styles[type], {
18
+ color: _constants.colors.Black.light
19
+ }, style],
18
20
  ...rest
19
21
  });
20
22
  };
@@ -14,7 +14,9 @@ const Heading = ({
14
14
  ...rest
15
15
  }) => {
16
16
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
17
- style: [styles[type], style],
17
+ style: [styles[type], {
18
+ color: _constants.colors.Black.light
19
+ }, style],
18
20
  ...rest
19
21
  });
20
22
  };
@@ -14,7 +14,9 @@ const Label = ({
14
14
  ...rest
15
15
  }) => {
16
16
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
17
- style: [styles[type], style],
17
+ style: [styles[type], {
18
+ color: _constants.colors.Black.light
19
+ }, style],
18
20
  ...rest
19
21
  });
20
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dropi/react-native-design-system",
3
- "version": "0.1.23",
3
+ "version": "0.1.25",
4
4
  "description": "A React Native package built from scratch",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",