You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @Jagget! I'm Dosu, your friendly bot here to help you solve bugs, answer questions, and assist you on your journey to becoming a contributor. I'm here while you wait for a human maintainer. How can I assist you today?
The error you're encountering with the oklch function in Less version 4.3.0 seems to be related to the parsing of the function's arguments. Unfortunately, I couldn't find specific documentation or examples for the oklch function in the Less codebase, which might help clarify the correct syntax or usage .
However, based on typical usage patterns for color manipulation functions in Less, you might want to ensure that the syntax for the oklch function is correct and that the arguments are being passed in a format that Less can interpret. If the function is not parsing correctly, it could be due to an issue with how the calc function is being used within the oklch function.
You might try simplifying the expression or checking if there are any updates or patches related to the oklch function in the Less repository that address this issue. Additionally, verifying the syntax against any available documentation or examples could be helpful.
Activity
dosubot commentedon May 20, 2025
Hello @Jagget! I'm Dosu, your friendly bot here to help you solve bugs, answer questions, and assist you on your journey to becoming a contributor. I'm here while you wait for a human maintainer. How can I assist you today?
The error you're encountering with the
oklchfunction in Less version 4.3.0 seems to be related to the parsing of the function's arguments. Unfortunately, I couldn't find specific documentation or examples for theoklchfunction in the Less codebase, which might help clarify the correct syntax or usage .However, based on typical usage patterns for color manipulation functions in Less, you might want to ensure that the syntax for the
oklchfunction is correct and that the arguments are being passed in a format that Less can interpret. If the function is not parsing correctly, it could be due to an issue with how thecalcfunction is being used within theoklchfunction.You might try simplifying the expression or checking if there are any updates or patches related to the
oklchfunction in the Less repository that address this issue. Additionally, verifying the syntax against any available documentation or examples could be helpful.To reply, just mention @dosu.
Share context across your team and agents. Try Dosu.
puckowski commentedon May 20, 2025
Thank you for reporting the issue. I'll take a look this weekend, see if I can come up with a PR.
Jagget commentedon May 20, 2025
It also doesn't parse multiplication:
fix(issue#4343) add color operands
puckowski commentedon May 26, 2025
PR #4344 should resolve this issue. Awaiting peer review before it is merged.
fix(issue#4343) add color operands (#4346)
puckowski commentedon Jul 16, 2025
Hello, this issue should be resolved in Less
4.4.0available on npm now at https://www.npmjs.com/package/less/v/4.4.0This Less in part:
becomes: