vpype icon indicating copy to clipboard operation
vpype copied to clipboard

viewer: add colour theme support

Open abey79 opened this issue 4 years ago • 1 comments

In a first step towards better colour support and to address abey79/vsketch#51, colour "themes" should be added to the viewer:

  • a "theme" would have a name and contain a background colour + colours of the N first layers (layers > N have the colours of their modulo N)
  • a few themes would be included by default ("standard", "cmyk", "black")
  • additional themes could be defined in ~/.vpype.toml
  • theme would be selected from the layer "button menu" in vpype viewer
  • selected theme would be remembered across vpype instantiation

What this issue explicitly doesn't cover:

  • adding colour metadata to vp.Document
  • reading colour from input SVG (#35)
  • setting colours of output SVG (#145)

abey79 avatar Feb 21 '21 08:02 abey79

This is better covered by #359

abey79 avatar Jan 13 '22 16:01 abey79