Skip to content

Issue with html2canvas due to tailwindcss v4's oklch colors #149

@coycoylaniba

Description

@coycoylaniba

calling toPdf() gives Error: Attempting to parse an unsupported color function "oklch" error

"react-to-pdf": "^1.0.1"
"tailwindcss": "^4.0.15"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions