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

SvelteKit Medusa Client Medusa eCommerce Client for SvelteKit
icon-eye-dark Created with Sketch. 996
SvelteKit SEO SEO Component
icon-eye-dark Created with Sketch. 863
Sentry for Svelte Svelte Error & Performance Monitoring
🧡 Sponsored by Friends
Svelte Testing Library DOM Testing Utilities
icon-eye-dark Created with Sketch. 3.918
Houdini "Disappearing" Svelte GraphQL Client
icon-eye-dark Created with Sketch. 2.618
Svelte Markdoc Preprocessor Use Markdoc in your Svelte Apps
icon-eye-dark Created with Sketch. 1.200