mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-27 11:24:43 +00:00
feat(ui): add breathing animation to upload icon
This commit is contained in:
@@ -98,6 +98,19 @@
|
||||
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
||||
--color-sidebar-border: var(--sidebar-border);
|
||||
--color-sidebar-ring: var(--sidebar-ring);
|
||||
|
||||
--animate-upload-breathing: upload-breathing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
|
||||
|
||||
@keyframes upload-breathing {
|
||||
0% {
|
||||
filter: drop-shadow(0 0 1px rgb(var(--primary)));
|
||||
transform: scale(0.95);
|
||||
}
|
||||
100% {
|
||||
filter: drop-shadow(0 0 2px rgb(var(--primary))) drop-shadow(0 0 4px rgb(var(--primary)));
|
||||
transform: scale(1.05);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@layer base {
|
||||
|
||||
Reference in New Issue
Block a user