UkeGeeks icon indicating copy to clipboard operation
UkeGeeks copied to clipboard

Support chordcolour directive

Open stevesouders opened this issue 7 years ago • 1 comments

The ChordPro format supports a directive called "chordcolour" but when I use this in UkeGeeks the chords are still red. Example:

{chordcolor: blue}

This issue is to add support for chordcolour. It would be worthwhile to consider other appearance-related directives like textcolour, tabfont, etc. See https://www.chordpro.org/chordpro/ChordPro-Directives.html#fonts-sizes-and-colours for examples.

stevesouders avatar Jan 19 '18 04:01 stevesouders

Why would you need different colours for (individual?) chords? (I know exactly one song where I could use different text colours but I can't think of a need for chord colours...)

Currently this is completeley controlled by css for the various layouts, you find it in css/ugsEditorPlus.merged.css - but there are indeed only generic values per selected layout.

For individual text colours you could simply wrap the respective text section in some plain HTML like <div style="color:blue">my [C7]blue [F7]song text is [Am]here</div> and here is normal text - UkeGeeks should render that correctly.

louis-coding avatar Aug 18 '19 16:08 louis-coding