Skip to content

HSL color invert support? #996

Description

@SuperCowProducts

test.pdf

test.typ
#import "@preview/pigmentpedia:0.3.3": *

#let cc = text.with(fill: black)
#let dd = text.with(fill: red)
#let oo = text.with(fill: orange)
#let yy = text.with(fill: iscc-nbs.vivid-yellow)
#let nn = text.with(fill: green)
#let bb = text.with(fill: dodgerblue)
#let pp = text.with(fill: rebeccapurple)
#let kk = text.with(fill: deeppink)
#let aa = text.with(fill: grey)
$
  cc(c)
  dd(c)
  oo(c)
  yy(c)
  nn(c)
  bb(c)
  pp(c)
  kk(c)
  aa(c)
$
zathurarc
set recolor true
set recolor-keephue "true"
set recolor-adjust-lightness

I have tried Chromium, Sioyek, Okular and katvan which all render these colors well, pointing to a zathura-specific issue.
(cfr. IgKh/katvan#32)

Is there a way to produce a similar effect in zathura, or does it need to be coded?

In particular @sebastinas I have seen you have discussed dark theme in multiple issues, are you aware of what might be going on?

Also @MithicSpirit, since you worked on recolor-adjust-lightness (#745), do you think this would require another option?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions