Skip to content

oklch support #829

@FerventFrost

Description

@FerventFrost

when i use tailwind v4 which uses oklch by default, i get the following error .

html2pdf__js.js?v=9bcbb486:16524 Uncaught (in promise) Error: Attempting to parse an unsupported color function "oklch"
at Object.parse (html2pdf__js.js?v=9bcbb486:16524:21)
at parseColor (html2pdf__js.js?v=9bcbb486:16641:24)
at parseBackgroundColor (html2pdf__js.js?v=9bcbb486:22626:71)
at html2pdf__js.js?v=9bcbb486:22582:36
at step (html2pdf__js.js?v=9bcbb486:14970:23)
at Object.next (html2pdf__js.js?v=9bcbb486:14922:20)
at fulfilled (html2pdf__js.js?v=9bcbb486:14894:30)

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