Don Kittle
11/15/2023, 9:52 PMcss
on my components. I'm wondering if there is a way to use a var
in the css
as I use vars for colors in my stylesheets (ie background: var(--bg);
) in my stylesheetturansky
11/16/2023, 1:36 PMval MY_BG = CustomPropertyName("--bg")
// usage
css {
background = `var`(MY_BG)
}
Don Kittle
11/16/2023, 7:18 PM