G4P - Setting custom colors for knob?

Hey folks, I have a quick question I couldn’t solve about G4P library.
I am using GKnob, and have succeeded to change its colors using the pre-added color schemes:

knob.setLocalColorScheme(4);

But in order to align with my design system, I am looking for a way to set each color of the scheme separately, or adding a new local scheme.

Is this possible? Or is there any alternative way to solve this issue?

Thank you!

Hi shlain, welcome to the forum.

It is possible to do what you want, I recommend that you look at the G4P guides on my website. There are 2 guides related to colour schemes.

1 Like