diff --git a/src/theme/alert.ts b/src/theme/alert.ts index e389cc56..49f2ac0d 100644 --- a/src/theme/alert.ts +++ b/src/theme/alert.ts @@ -51,13 +51,13 @@ export default (options: Required) => ({ color, variant: 'soft', class: { - root: `bg-${color}-50 dark:bg-${color}-400/10 text-${color}-500 dark:text-${color}-400` + root: `bg-${color}-500/10 dark:bg-${color}-400/10 text-${color}-500 dark:text-${color}-400` } })), ...options.colors.map((color: string) => ({ color, variant: 'subtle', class: { - root: `bg-${color}-50 dark:bg-${color}-400/10 text-${color}-500 dark:text-${color}-400 ring ring-inset ring-${color}-500/25 dark:ring-${color}-400/25` + root: `bg-${color}-500/10 dark:bg-${color}-400/10 text-${color}-500 dark:text-${color}-400 ring ring-inset ring-${color}-500/25 dark:ring-${color}-400/25` } })), { color: 'white', diff --git a/test/components/__snapshots__/Alert.spec.ts.snap b/test/components/__snapshots__/Alert.spec.ts.snap index b1b4642f..ea335bf3 100644 --- a/test/components/__snapshots__/Alert.spec.ts.snap +++ b/test/components/__snapshots__/Alert.spec.ts.snap @@ -245,7 +245,7 @@ exports[`Alert > renders with variant outline correctly 1`] = ` `; exports[`Alert > renders with variant soft correctly 1`] = ` -"
+"
Alert
@@ -269,7 +269,7 @@ exports[`Alert > renders with variant solid correctly 1`] = ` `; exports[`Alert > renders with variant subtle correctly 1`] = ` -"
+"
Alert