@korsolutions/ui 0.0.17 → 0.0.18

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.
@@ -1,4 +1,4 @@
1
- import { i as useThemedStyles, r as ToastComponent, t as ToastAPI } from "../toast-manager-x_SG_xL4.mjs";
1
+ import { i as useThemedStyles, r as ToastComponent, t as ToastAPI } from "../toast-manager-Vq38WK76.mjs";
2
2
  import { a as SelectPrimitive, c as FieldPrimitive, i as CardPrimitive, n as AvatarPrimitive, o as ButtonPrimitive, r as EmptyPrimitive, s as InputPrimitive } from "../primitives-B4L9y32H.mjs";
3
3
  import React, { useState } from "react";
4
4
  import { Linking, Text } from "react-native";
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as ThemeProvider, n as ToastContainer, o as useTheme } from "./toast-manager-x_SG_xL4.mjs";
1
+ import { a as ThemeProvider, n as ToastContainer, o as useTheme } from "./toast-manager-Vq38WK76.mjs";
2
2
  import { l as PortalHost } from "./primitives-B4L9y32H.mjs";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
 
@@ -143,13 +143,13 @@ const useToastVariantSuccess = () => {
143
143
  maxWidth: 400
144
144
  },
145
145
  title: {
146
- color: colors.background,
146
+ color: colors.foreground,
147
147
  fontSize,
148
148
  fontWeight: "600",
149
149
  fontFamily
150
150
  },
151
151
  description: {
152
- color: colors.background,
152
+ color: colors.foreground,
153
153
  fontSize: fontSize * .875,
154
154
  fontFamily,
155
155
  opacity: .9
@@ -172,13 +172,13 @@ const useToastVariantDanger = () => {
172
172
  maxWidth: 400
173
173
  },
174
174
  title: {
175
- color: colors.background,
175
+ color: colors.foreground,
176
176
  fontSize,
177
177
  fontWeight: "600",
178
178
  fontFamily
179
179
  },
180
180
  description: {
181
- color: colors.background,
181
+ color: colors.foreground,
182
182
  fontSize: fontSize * .875,
183
183
  fontFamily,
184
184
  opacity: .9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@korsolutions/ui",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.mjs",
6
6
  "module": "dist/index.mjs",
@@ -15,13 +15,13 @@ export const useToastVariantDanger = (): ToastStyles => {
15
15
  maxWidth: 400,
16
16
  },
17
17
  title: {
18
- color: colors.background,
18
+ color: colors.foreground,
19
19
  fontSize: fontSize,
20
20
  fontWeight: "600",
21
21
  fontFamily,
22
22
  },
23
23
  description: {
24
- color: colors.background,
24
+ color: colors.foreground,
25
25
  fontSize: fontSize * 0.875,
26
26
  fontFamily,
27
27
  opacity: 0.9,
@@ -15,13 +15,13 @@ export const useToastVariantSuccess = (): ToastStyles => {
15
15
  maxWidth: 400,
16
16
  },
17
17
  title: {
18
- color: colors.background,
18
+ color: colors.foreground,
19
19
  fontSize: fontSize,
20
20
  fontWeight: "600",
21
21
  fontFamily,
22
22
  },
23
23
  description: {
24
- color: colors.background,
24
+ color: colors.foreground,
25
25
  fontSize: fontSize * 0.875,
26
26
  fontFamily,
27
27
  opacity: 0.9,