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

Config staff line colours individually #1433

Open
nehz opened this issue Sep 1, 2022 · 2 comments
Open

Config staff line colours individually #1433

nehz opened this issue Sep 1, 2022 · 2 comments

Comments

@nehz
Copy link

nehz commented Sep 1, 2022

It is possible to change the color of ledge lines individually on notes, but is it possible to also change color of staff lines individually (options fill_color sets all of the staff line colors) ?

@nehz nehz changed the title Config staff line colours Config staff line colours individually Sep 1, 2022
@rvilarl
Copy link
Collaborator

rvilarl commented Oct 13, 2022

@nehz I am refactoring the styling functions. The ledger lines can have a different colour but the same colour for all the ones associated to the note. Could you detail futher your request?

  • would you like to have each horizontal line with a different colour?
  • what about the vertical lines of the staff?
  • would you also like to have a different colour in each ledger line?
    Thanks

@rvilarl rvilarl mentioned this issue Oct 16, 2022
@nehz
Copy link
Author

nehz commented Oct 18, 2022

Won't need vertical lines, but would be cool if it came with refactor.

Setting each staff line and any ledger line would be great if it is possible.
At the moment I've subclassed Stave and manually setting SVG paths

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

No branches or pull requests

2 participants