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

Svelte Fit Fit Text Library
icon-eye-dark Created with Sketch. 1.273
Felte Form Library
icon-eye-dark Created with Sketch. 6.918
Sentry for Svelte Svelte Application Monitoring
🧡 Sponsored by Friends
Svelte Jester Jest Transformer
icon-eye-dark Created with Sketch. 1.331
Svelte i18n Internationalization library
icon-eye-dark Created with Sketch. 4.760
Svelte DND Action Drag & Drop Library
icon-eye-dark Created with Sketch. 8.015