Skip to content

Commit

Permalink
fix: CSS custom property name interpolation (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan authored Apr 29, 2020
1 parent 0e4a50d commit 66453b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/fuselage/src/styles/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -98,7 +98,7 @@ $-foreground-colors: (

$color: map.get($-foreground-colors, $type);

@return (--rcx-color-foreground-#{ type }, $color);
@return (--rcx-color-foreground-#{ $type }, $color);
}

@function foreground($type) {
Expand Down

0 comments on commit 66453b6

Please sign in to comment.