Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support chordcolour directive #17

Open
stevesouders opened this issue Jan 19, 2018 · 1 comment
Open

Support chordcolour directive #17

stevesouders opened this issue Jan 19, 2018 · 1 comment

Comments

@stevesouders
Copy link

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.

@louis-coding
Copy link

louis-coding commented Aug 18, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants