chore(Alert): improve soft and subtle variants

This commit is contained in:
Benjamin Canac
2024-07-01 14:29:55 +02:00
parent 4362de48a7
commit 2eb6a234c3
2 changed files with 4 additions and 4 deletions

View File

@@ -51,13 +51,13 @@ export default (options: Required<ModuleOptions>) => ({
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',