|
From: | Auto mailings of changes to Lily Issues via Testlilyissues-auto |
Subject: | [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5524 New function css-color (accompanying x11-color) |
Date: | Mon, 03 Jun 2019 14:50:40 -0000 |
Diff:
--- old +++ new @@ -11,29 +11,4 @@ this. Incidentally, a warning is now issued when the requested color is not defined (instead of *silently* falling back to black). -Only warn about missing color when necessary - - -Merge pull request #6 from rettinghaus/dev/urs/css-fonts - -add named colors from CSS Color Module Level 4 - -Rename x11-color.scm to color.scm - -With the previous commit adding `css-color` the file `x11-color.scm` should be -rename to the generic `color.scm`. - -add named colors from CSS Color Module Level 4 - - -Define function css-color (accompany x11-color) - -It should be possible to specify colors using the CSS names in addition to -the X11 names. - -This commit makes `make-x11-color-handler` generic and adds a function -`css-color`. -What remains to be done is (of course documenting and) filling in the remaining -~140 colors. - http://codereview.appspot.com/570690043
I will document this when review shows no initial objections against the addition
[issues:#5524] New function css-color (accompanying x11-color)
Status: Started
Created: Mon Jun 03, 2019 02:49 PM UTC by Urs Liska
Last Updated: Mon Jun 03, 2019 02:49 PM UTC
Owner: Urs Liska
New function css-color (accompanying x11-color)
I was asked if LilyPond could support choosing colors by their CSS name,
which I found a reasonable wish.
This commit makes make-x11-color-handler generic and specifies
a new function css-color. From this it would be easy to also add further
namespaces and color lists.
CSS colors are case insensitive, so this commit also provides support for
this. Incidentally, a warning is now issued when the requested color is
not defined (instead of silently falling back to black).
http://codereview.appspot.com/570690043
Sent from sourceforge.net because testlilyissues-auto@lists.sourceforge.net is subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
_______________________________________________ Testlilyissues-auto mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
[Prev in Thread] | Current Thread | [Next in Thread] |