Skip to content

Commit 02c166a

Browse files
committed
Fix RGB syntax
1 parent 1812ef8 commit 02c166a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/styles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const opacity = (color, opacity) => {
2323
return `color-mix(in oklab, ${color} ${opacity}, transparent)`
2424
}
2525

26-
return `rgb(${r}, ${g}, ${b} / ${opacity})`
26+
return `rgb(${r} ${g} ${b} / ${opacity})`
2727
}
2828

2929
let defaultModifiers = {

0 commit comments

Comments
 (0)