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 Umami Umami Analytics Integration for Svelte & SvelteKit
icon-eye-dark Created with Sketch. 352
svelte-mainloop Wrapper for MainLoop.js
icon-eye-dark Created with Sketch. 198
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 dts TypeScript Declaration Generator
icon-eye-dark Created with Sketch. 1.049
Runed Collection of Utilities based on Svelte Runes
icon-eye-dark Created with Sketch. 5.071