refactor: replace Swup page transitions with native transitions

This commit is contained in:
Stefan Imhoff
2025-01-03 15:54:26 +01:00
parent e88fff7207
commit e3ffc262a0
6 changed files with 59 additions and 30 deletions

View File

@@ -18,6 +18,12 @@
color: #ffffff;
}
/* Page Transitions */
::view-transition-old(root),
::view-transition-new(root) {
animation-duration: 300ms;
}
/** Critic Markup */
del {
@apply decoration-[0.15em];
@@ -171,11 +177,6 @@
.icon {
@apply fill-shibui-950 dark:fill-shibui-200/[0.87];
}
/** Swup */
main[tabindex='-1'] {
outline: none;
}
}
@layer components {