Skip to content

Commit

Permalink
[spaces/oklch] Default to percentage for L
Browse files Browse the repository at this point in the history
Harmonizes with OkLab
  • Loading branch information
LeaVerou committed Feb 3, 2024
1 parent e906469 commit e36e183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spaces/oklch.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default new ColorSpace({

formats: {
"oklch": {
coords: ["<number> | <percentage>", "<number> | <percentage>[0,1]", "<number> | <angle>"],
coords: ["<percentage> | <number>", "<number> | <percentage>[0,1]", "<number> | <angle>"],
}
}
});

0 comments on commit e36e183

Please sign in to comment.