Closed nineff closed 8 months ago
Describe the bug See title & screenshot. Left side is official typst output, right side is preview.
To Reproduce use the following code:
#show quote.where(block: true): it => { align(center)[ #rect( radius: 2mm, inset: 5mm, width: 100%, fill: gradient.linear(luma(240), luma(210)), )[ #place(top + left, dy: -7mm)[ #rect( radius: 1mm, width: 7mm, height: 5mm, fill: luma(120), )[#text(size: 20pt, baseline: -1.3pt, fill: white, font: "Trebuchet MS")[”]] ] #v(2mm) #align(left)[#emph(it.body)] #if it.has("attribution") and it.attribution != none { align(right)[-- #it.attribution] } ] ] } #quote(attribution: "some latin dude, probably", block: true)[#lorem(50)]
Expected behavior A grey gradient should prieview as grey, not red
*Package/Software version:
typst-preview extension version: v0.10.9 (0.11.0-rc1)
v0.10.9
i guess this is the same as #268
we confused the color space. will fix in next version
fixed in incoming(maybe 30min) version
Describe the bug See title & screenshot. Left side is official typst output, right side is preview.
To Reproduce use the following code:
Expected behavior A grey gradient should prieview as grey, not red
*Package/Software version:
typst-preview extension version:
v0.10.9
(0.11.0-rc1)