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

Allow calling colors by name #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

11chrisadams11
Copy link

Update to allow calling colors by name, and to allow configuring a color using the traditional 255 based decimal codes.
This also allows the "set_**_leds_on" macros to be called from the frontend with a color name.

I'm not sure if this is the right place to submit this, or if it would even be wanted, but I find it a lot easier to setup the colors and configure the macros this way.

Update to allow calling colors by name, and to allow configuring a color using the traditional 255 based decimal codes.
This also allows the "set_**_leds_on" macros to be called from the frontend with a color name.
@kyleisah
Copy link
Member

I think the idea is cool, but I really don't think it's necessary to add this to the repo, especailly as an "alt" version to the traditional SB macros.

I believe that since this PR was made, both Fluidd and Mainsail give you a color "wheel" that you can use anyway to pick a color for the LEDs.

Would hate to possibly confuse users by having 2 separate macro configurations, but that doesn't mean that this isnt desirable!

@kyleisah
Copy link
Member

Is it possible to combine this functionality into the current macros without breaking anything for future users?

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

Successfully merging this pull request may close these issues.

None yet

2 participants