lilypond-devel
[Top][All Lists]
Advanced

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

Re: Color variables/symbols


From: Lukas-Fabian Moser
Subject: Re: Color variables/symbols
Date: Sat, 26 Nov 2022 19:03:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2


lukas@Aquarium:~/git/lilypond/scm(master)$ git grep darkred
color.scm:    (darkred 0.54509803921568623 0 0)
output-lib.scm:(define-public darkred     '(0.5 0.0 0.0))

lukas@Aquarium:~/git/lilypond/scm(master)$ git grep darkgreen
color.scm:    (darkgreen 0 0.39215686274509803 0)
output-lib.scm:(define-public darkgreen   '(0.0 0.5 0.0))

@everyone: Is this as it should be?
Yes.  The non-public entries are only accessible with `(x11-color)`
or `css-color`.

I'm not sure that's true. What made me stumble is the following behaviour:

\version "2.23.10"

{
  \override NoteHead.color = darkgreen
  c'4
  \override NoteHead.color = #darkgreen
  c'4
}

creating:

I'm not sure this is ideal.

Lukas


reply via email to

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