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

Grail UI Library of Component Primitives, Actions & Utilities
icon-eye-dark Created with Sketch. 7.379
Storyblok Svelte Svelte SDK for Headless CMS Storyblok
icon-eye-dark Created with Sketch. 5.694
Sentry for Svelte Svelte Error & Performance Monitoring
🧑 Sponsored by Friends
We’re hosting on Digital Ocean! πŸ’™ Try it today and get a free $100 credit.
Svelte Websocket Store Svelte Store with a Websocket Backend
icon-eye-dark Created with Sketch. 3.085
svelte-reparent Reparent HTML Elements
icon-eye-dark Created with Sketch. 342