feat: 优化网页消息提醒样式

This commit is contained in:
mofeng-git
2026-05-01 21:46:32 +08:00
parent e51d243324
commit 52754c862b
12 changed files with 245 additions and 73 deletions

View File

@@ -14,7 +14,7 @@ const props = defineProps<ToasterProps>()
'--normal-bg': 'var(--popover)',
'--normal-text': 'var(--popover-foreground)',
'--normal-border': 'var(--border)',
'--border-radius': 'var(--radius)',
'--border-radius': 'calc(var(--radius) + 0.1875rem)',
}"
v-bind="props"
>
@@ -36,7 +36,7 @@ const props = defineProps<ToasterProps>()
</div>
</template>
<template #close-icon>
<XIcon class="size-4" />
<XIcon class="size-3 shrink-0" />
</template>
</Sonner>
</template>