Skip to content

Commit 8e290f2

Browse files
authored
fix: add missing comma to oklch function syntax (#347)
1 parent 5e43dd7 commit 8e290f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/palette/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const toHsl = (hsl: ColorFormat["hsl"]) => {
1717
return `hsl(${Math.round(hsl.h)}deg, ${Math.round(hsl.s * 100)}%, ${Math.round(hsl.l * 100)}%)`;
1818
};
1919
const toOklch = (oklch: ColorFormat["oklch"]) => {
20-
return `oklch(${Math.round(oklch.l * 100)}%, ${Math.round(oklch.c * 100)}% ${Math.round(oklch.h)}deg)`;
20+
return `oklch(${Math.round(oklch.l * 100)}%, ${Math.round(oklch.c * 100)}%, ${Math.round(oklch.h)}deg)`;
2121
};
2222
---
2323

0 commit comments

Comments
 (0)