diff --git a/Source/Layout/Base.astro b/Source/Layout/Base.astro index ecf7af8d..ac031beb 100644 --- a/Source/Layout/Base.astro +++ b/Source/Layout/Base.astro @@ -77,10 +77,6 @@ const Link = (Link: string[] = []) => Font))} /> - - diff --git a/Source/Script/swup.ts b/Source/Script/swup.ts deleted file mode 100644 index 369c0a10..00000000 --- a/Source/Script/swup.ts +++ /dev/null @@ -1,18 +0,0 @@ -import SwupBodyClassPlugin from "@swup/body-class-plugin"; -import SwupHeadPlugin from "@swup/head-plugin"; -// @ts-expect-error -import SwupOverlayTheme from "@swup/overlay-theme"; -import SwupPreloadPlugin from "@swup/preload-plugin"; -import SwupScrollPlugin from "@swup/scroll-plugin"; -import Swup from "swup"; - -new Swup({ - containers: ["#footer", "#main", "#header"], - plugins: [ - new SwupOverlayTheme(), - new SwupHeadPlugin(), - new SwupPreloadPlugin(), - new SwupScrollPlugin(), - new SwupBodyClassPlugin(), - ], -}); diff --git a/Source/Stylesheet/Global.css b/Source/Stylesheet/Global.css index 63808263..8ab940a4 100644 --- a/Source/Stylesheet/Global.css +++ b/Source/Stylesheet/Global.css @@ -12,18 +12,6 @@ body { @apply flex flex-grow flex-col bg-[#eaeaea] tabular-nums text-[#151515] antialiased sm:subpixel-antialiased dark:bg-[#151515] dark:text-[#eaeaea]; font-variant-ligatures: no-common-ligatures; - - --swup-overlay-theme-color: #eaeaea; - --swup-overlay-theme-duration: 0.21s; - --swup-overlay-theme-delay: 0s; - --swup-overlay-theme-scale: 2.1; - --swup-overlay-theme-skew: 0deg; -} - -@media (prefers-color-scheme: dark) { - body { - --swup-overlay-theme-color: #151515; - } } *::selection, diff --git a/package.json b/package.json index c2d1dee0..7e613bdb 100644 --- a/package.json +++ b/package.json @@ -30,13 +30,6 @@ "@playform/compress": "0.1.1", "@playform/format": "0.0.7", "@playform/inline": "0.1.0", - "@swup/body-class-plugin": "3.2.0", - "@swup/fade-theme": "2.0.1", - "@swup/head-plugin": "2.2.1", - "@swup/overlay-theme": "2.0.1", - "@swup/preload-plugin": "3.2.10", - "@swup/scroll-plugin": "3.3.2", - "@swup/slide-theme": "2.0.1", "@tailwindcss/aspect-ratio": "0.4.2", "@tailwindcss/forms": "0.5.9", "@tailwindcss/typography": "0.5.15", @@ -54,7 +47,6 @@ "postcss-import": "16.1.0", "postcss-reporter": "7.1.0", "postcss-url": "10.1.3", - "swup": "4.8.0", "tailwindcss": "3.4.13", "typescript": "5.6.2", "zod": "3.23.8"