Skip to content

Commit

Permalink
fix: add unit to scss value
Browse files Browse the repository at this point in the history
fix: add unit to value
  • Loading branch information
mtwente authored Aug 7, 2024
2 parents db52e3a + dc2d8a5 commit 1cf989d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _sass/_theme-colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ $_luminance-list: .0008 .001 .0011 .0013 .0015 .0017 .002 .0022 .0025 .0027 .003
}
// Return opaque color
@function opaque($background, $foreground) {
@return mix(rgba($foreground, 1), $background, opacity($foreground) * 100);
@return mix(rgba($foreground, 1), $background, opacity($foreground) * 100%);
}
// Return WCAG2.0 relative luminance
@function luminance($color) {
Expand Down

0 comments on commit 1cf989d

Please sign in to comment.