Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to parse an unsupported color function "oklch" #37

Closed
keanallen opened this issue Dec 7, 2023 · 2 comments · May be fixed by #43
Closed

Attempting to parse an unsupported color function "oklch" #37

keanallen opened this issue Dec 7, 2023 · 2 comments · May be fixed by #43

Comments

@keanallen
Copy link

I got an error while trying to run this plugin in vue3 (inertiajs).

color.ts:15 Uncaught (in promise) Error: Attempting to parse an unsupported color function "oklch"
    at Object.parse (color.ts:15:23)
    at parseColor (color.ts:156:11)
    at parseBackgroundColor (index.ts:155:11)
    at index.ts:103:29
    at step (tslib.es6.js:102:23)
    at Object.next (tslib.es6.js:83:53)
    at fulfilled (tslib.es6.js:73:58)
@johnnywang1994
Copy link
Owner

Hi, thank you for reporting the issue, it would be great to share the package.json for me, so that I could help to locate the issue, were you using "Webpack" or "Vite" or any other bundler to run?

@yorickshan
Copy link

Hi there, I have committed a PR to fix this issue #43 @johnnywang1994

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants