Skip to content

Commit 2f6830d

Browse files
committed
refactor: replace opacity() with color.opacity()
1 parent d7096dd commit 2f6830d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scss/functions/_color-contrast.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@
5555
// Return opaque color
5656
// opaque(#fff, rgba(0, 0, 0, .5)) => #808080
5757
@function opaque($background, $foreground) {
58-
@return color.mix(rgba($foreground, 1), $background, opacity($foreground) * 100%);
58+
@return color.mix(rgba($foreground, 1), $background, color.opacity($foreground) * 100%);
5959
}

0 commit comments

Comments
 (0)