mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 04:26:43 -06:00
feat: add View Transitions API with persistent backgrounds
- Add fade in/out page transitions using View Transitions API - Move background/dots to root layout for persistence across routes - Hide native scrollbar immediately to prevent FOUC - Set body background in theme script to prevent flash - Increase inline style threshold for better initial render
This commit is contained in:
@@ -4,7 +4,7 @@ import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
preprocess: vitePreprocess(),
|
||||
inlineStyleThreshold: 1000,
|
||||
inlineStyleThreshold: 2000,
|
||||
kit: {
|
||||
adapter: adapter({
|
||||
out: "build",
|
||||
|
||||
Reference in New Issue
Block a user