react-notify-sdk 1.0.10 → 1.0.11

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.
@@ -57,7 +57,7 @@ disableDefaultStyles = false, }) => {
57
57
  width: `${message?.width}%`,
58
58
  padding: '1rem', // p-4 = 1rem
59
59
  backgroundColor: message?.backgroundColor,
60
- border: '1px solid', // Completed border style
60
+ border: `1px solid ${message?.textColor}`, // Completed border style
61
61
  }
62
62
  :
63
63
  {}, children: [_jsx("strong", { className: `block mb-2 text-lg font-semibold text-[${message?.textColor}]`, style: {
@@ -68,6 +68,6 @@ disableDefaultStyles = false, }) => {
68
68
  color: `${message?.backgroundColor}`,
69
69
  }, children: message.title }), _jsx("p", { className: `text-sm text-[${message?.textColor}]`, style: {
70
70
  fontSize: '0.875rem', // text-sm = 14px = 0.875rem
71
- color: `${message?.backgroundColor}`,
71
+ color: `${message?.textColor}`,
72
72
  }, children: message.content })] }));
73
73
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-notify-sdk",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "SDK for displaying real-time route-specific messages in React apps",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",