[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: ,
Message:
This is a follow-up patch to
https://codereview.appspot.com/570690043/
For some reason it was uploaded as a new patch,
and Issue
https://sourceforge.net/p/testlilyissues/issues/5524/
wasn't updated.
This new patch attempts a cleaner separation of color
definitions between X11 and CSS colors, avoiding
duplication.
As with the original patch, I'll document it when
there's basic agreement.
Description:
New function css-color
X11 and CSS colors are now independently accessible through #(x11-color
<name>)
or #(css-color <name>).
Both color models are now completely case insensitive (as they should
be),
and spaces are simply stripped from the argument. That way all
combinations
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 https://codereview.appspot.com/580780043/
Affected files (+739, -709 lines):
A scm/color.scm
M scm/lily.scm
D scm/x11-color.scm
- New function css-color (issue 580780043 by address@hidden),
git <=