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


Social Media Links

Svelte Headroom Hide your Header on Scroll
icon-eye-dark Created with Sketch. 2.711
Svelte Intersection Observer Detect if an Element is in the Viewport
icon-eye-dark Created with Sketch. 4.697
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 Store Router Store-based Router
icon-eye-dark Created with Sketch. 1.790
Neodrag Svelte Drag & Drop Svelte Action
icon-eye-dark Created with Sketch. 4.262