made with Svelte

Svelte Body

Apply Styles to the Body in Routes

Visit Site

Description

Apply Styles to the Body in Routes

"Currently in Svelte Kit and Routify, applying styles per page to the body doesn't work. You can't use :global(body) since the style tags aren't removed and reapplied on route change. svelte-body handles that for you.

It's available as an action or component."


Creator

@onlyspaceghost


Social Media Links

TanStack Svelte Query Data Synchronization for Svelte
icon-eye-dark Created with Sketch. 4.240
Svelte CSS Vars Reactive CSS Variables in Svelte
icon-eye-dark Created with Sketch. 1.945
Sentry for Svelte Svelte Error & Performance Monitoring
🧡 Sponsored by Friends
Sveltekit View Transition Simplified view-transition-api for Sveltekit
icon-eye-dark Created with Sketch. 925
sveltekit-openapi-remote Generate Remote Functions from OpenAPI Specs
icon-eye-dark Created with Sketch. 142
Svelte Component to Image Render Svelte Components as PNGs
icon-eye-dark Created with Sketch. 487