made with Svelte

Svelte CSS Vars

Reactive CSS Variables in Svelte

Visit Site

Description

Reactive CSS Variables in Svelte

"Ever wanted to have reactive CSS variables in Svelte? What if I told you there's a way?

svelte-css-vars exposes a svelte action which receives an object of properties that should be treated as CSS custom properties, updating them on the fly whenever some of its values change."


Creator

Christian Kaisermann
@kiwistian


Social Media Links

SvelteKit SSE Server Sent Events with SvelteKit
icon-eye-dark Created with Sketch. 566
TanStack Svelte Query Data Synchronization for Svelte
icon-eye-dark Created with Sketch. 3.540
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.
Elegua Reactive PWA Router
icon-eye-dark Created with Sketch. 281
Svelte Multitone Image Multitone Image Effects
icon-eye-dark Created with Sketch. 999