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

Svead Svelte Head Component
icon-eye-dark Created with Sketch. 1.317
Svelte Multitone Image Multitone Image Effects
icon-eye-dark Created with Sketch. 1.113
Sentry for Svelte Svelte Error & Performance Monitoring
🧡 Sponsored by Friends
Svelte Themer Theming Engine
icon-eye-dark Created with Sketch. 1.332
Svelte Notion (Unofficial) Notion Renderer for Svelte
icon-eye-dark Created with Sketch. 4.143
Svelte Relay Bindings for the GraphQL client Relay
icon-eye-dark Created with Sketch. 2.543