Unverified Commit 66453b60 authored by Tasso Evangelista's avatar Tasso Evangelista Committed by GitHub
Browse files

fix: CSS custom property name interpolation (#216)

parent 0e4a50d2
...@@ -39,7 +39,7 @@ $-map-type-to-prefix: ( ...@@ -39,7 +39,7 @@ $-map-type-to-prefix: (
); );
} }
@return (--rcx-color-#{ type }-#{ grade }, $base-color); @return (--rcx-color-#{ $type }-#{ $grade }, $base-color);
} }
@function neutral($grade, $alpha: null) { @function neutral($grade, $alpha: null) {
...@@ -98,7 +98,7 @@ $-foreground-colors: ( ...@@ -98,7 +98,7 @@ $-foreground-colors: (
$color: map.get($-foreground-colors, $type); $color: map.get($-foreground-colors, $type);
@return (--rcx-color-foreground-#{ type }, $color); @return (--rcx-color-foreground-#{ $type }, $color);
} }
@function foreground($type) { @function foreground($type) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment