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 Ripple Action Ripple Effects
icon-eye-dark Created with Sketch. 841
Rune Scroller Scroll Animation Library
icon-eye-dark Created with Sketch. 580
Sentry for Svelte Svelte Application Monitoring
🧡 Sponsored by Friends
Svelte Scrolling Scroll to Elements
icon-eye-dark Created with Sketch. 1.621
yrv Minimal Nested Routing
icon-eye-dark Created with Sketch. 2.225
Svelte Sound Svelte Actions to play Interaction Sounds
icon-eye-dark Created with Sketch. 794