-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
cssStuff related to Svelte's built-in CSS handlingStuff related to Svelte's built-in CSS handling
Description
Describe the problem
Js variables ability to use in css best option is a style directive, and svelte 5 moving away from directive uses it would not be easily remembered to use which makes it harder to use js in css.
Describe the proposed solution
To be able to use <style --x={x}> to declare css variable with shorthand to make using js variable in css as css variable easier and nicer.
(also see #16071 (comment))
Importance
would make my life easier
dixslyf
Metadata
Metadata
Assignees
Labels
cssStuff related to Svelte's built-in CSS handlingStuff related to Svelte's built-in CSS handling