[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New function css-color (issue 580780043 by address@hidden)

From: git
Subject: New function css-color (issue 580780043 by address@hidden)
Date: Wed, 05 Jun 2019 07:57:11 -0700

Reviewers: ,

This is a follow-up patch to

For some reason it was uploaded as a new patch,
and Issue
wasn't updated.

This new patch attempts a cleaner separation of color
definitions between X11 and CSS colors, avoiding

As with the original patch, I'll document it when
there's basic agreement.

New function css-color

X11 and CSS colors are now independently accessible through #(x11-color
or #(css-color <name>).

Both color models are now completely case insensitive (as they should
and spaces are simply stripped from the argument. That way all
of symbols/strings, CamelCased or lowercase etc. are accepted.

If no color is found by the requested name a warning is issued
(unfortunately that can't be an input warning).

Please review this at

Affected files (+739, -709 lines):
  A scm/color.scm
  M scm/lily.scm
  D scm/x11-color.scm

reply via email to

[Prev in Thread] Current Thread [Next in Thread]