typst-hs
typst-hs copied to clipboard
some `color` primitives make the conversion fails
These are the
desaturatemethod, fails withColor does not have a method "desaturate" or FieldAccess requires a dictionarycolor.hslconstructor, fails withIdentifier "color" not foundcolor.hsvconstructor, fails withIdentifier "color" not foundcolor.linear-rgbconstructor, fails withIdentifier "color" not found.mixmethod, fails withColor does not have a method "mix" or FieldAccess requires a dictionaryoklabconstructor, fails withIdentifier "oklab" not foundoklchconstructor, fails withIdentifier "oklch" not foundrotatemethod, fails withColor does not have a method "rotate" or FieldAccess requires a dictionarysaturatemethod fails withColor does not have a method "saturate" or FieldAccess requires a dictionary
reproduction : https://github.com/Doublonmousse/pandoc-typst-reproducer/tree/main/color_issues
Right. We don't yet support all of the color methods. This could be added, but the color support is quite complex and it's not a high priority at the moment.