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

Snel Compiler for Svelte apps in Deno
icon-eye-dark Created with Sketch. 2.859
Svelte Textfit Fit Text into Elements
icon-eye-dark Created with Sketch. 982
Sentry for Svelte Svelte Application Monitoring
🧡 Sponsored by Friends
Svelte Formula Reactive Form Library
icon-eye-dark Created with Sketch. 3.148
Svelte Navigator Simple, Accessible Routing
icon-eye-dark Created with Sketch. 3.143
Svelte Final Form Subscription-based Form State Management
icon-eye-dark Created with Sketch. 2.542