diff --git a/src/components/auth/Register.svelte b/src/components/auth/Register.svelte index 4976da4..48a6a41 100644 --- a/src/components/auth/Register.svelte +++ b/src/components/auth/Register.svelte @@ -137,7 +137,7 @@ diff --git a/src/components/icons/CheckThinIcon.svelte b/src/components/icons/CheckThinIcon.svelte index 192f11a..7c4a987 100644 --- a/src/components/icons/CheckThinIcon.svelte +++ b/src/components/icons/CheckThinIcon.svelte @@ -1,3 +1,7 @@ + + diff --git a/src/components/icons/XThinIcon.svelte b/src/components/icons/XThinIcon.svelte index aad0960..1a44390 100644 --- a/src/components/icons/XThinIcon.svelte +++ b/src/components/icons/XThinIcon.svelte @@ -1,3 +1,7 @@ + + diff --git a/src/components/notifications/Toast.svelte b/src/components/notifications/Toast.svelte index 74160b1..8711ed3 100644 --- a/src/components/notifications/Toast.svelte +++ b/src/components/notifications/Toast.svelte @@ -3,6 +3,7 @@ import { quintOut } from 'svelte/easing' import { fade } from 'svelte/transition' + import { theme } from '../../stores' import CheckThinIcon from '$components/icons/CheckThinIcon.svelte' import XThinIcon from '$components/icons/XThinIcon.svelte' @@ -26,9 +27,9 @@ >
{#if kind === 'success'} - + {:else if kind === 'error'} - + {/if} {message}
diff --git a/tailwind.config.cjs b/tailwind.config.cjs index 90d1da2..ec14bd4 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -7,16 +7,16 @@ module.exports = { themes: [ { dark: { - primary: "#43919b", + primary: "#3b82f6", secondary: "#30aadd", accent: "#00ffc6", neutral: "#282828", info: "#bfdbfe", - success: "#bbf7d0", + success: "#22c55e", warning: "#fdba74", - error: "#fecaca", - "base-content": "#ffffff", - "base-100": "#111111", + error: "#ef4444", + "base-content": "#f8fafc", // Base text content color + "base-100": "#0f172a", // Base background color "--rounded-box": "16px", "--rounded-btn": "8px", "--rounded-badge": "2px", @@ -24,16 +24,16 @@ module.exports = { "--btn-text-case": "normal-case" }, light: { - primary: "#407FF3", + primary: "#3b82f6", secondary: "#30aadd", accent: "#00ffc6", neutral: "#e5e5e5", info: "#bfdbfe", - success: "#bbf7d0", + success: "#15803d", warning: "#fdba74", - error: "#fecaca", - "base-content": "#000000", - "base-100": "#ffffff", + error: "#b91c1c", + "base-content": "#0f172a", // Base text content color + "base-100": "#f8fafc", // Base background color "--rounded-box": "16px", "--rounded-btn": "8px", "--rounded-badge": "2px",