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

Svelte Flex Simple & Reusable Flexbox Component
icon-eye-dark Created with Sketch. 2.682
Svelte Meta Tags Meta Tag Plugin
icon-eye-dark Created with Sketch. 1.022
Svelte SEO SEO Plugin for Svelte & Sapper
icon-eye-dark Created with Sketch. 2.193
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
Svelte Forms Lib Lightweight Library for Managing Forms
icon-eye-dark Created with Sketch. 8.606