Add the colour for the ‘active’ button to the gamma colour scheme for ImGUI.
Open the patch and compare. The original scheme gives ‘feedback’ when the button is pressed. The schemes in Gamma set the same colour on a pressed button with the colour while hovering. Let’s add accent just by changing the brightness?
DefaultDarkTheme and DefaultLightTheme got their active color in the upcoming preview (> 6.7-267). DefaultStyle uses the active color for the Button’s Active state.
Note, the last screenshot you’ve posted is not a workaround, this is exactly the way it is meant to be: there is a style coming from above and you can override some properties of it, that’s why the pins are optional. Very often there is a need to tweak the DefaultStyle, so just make YourVeryOwnStyleNode:
by wrapping the DefaultStyle and the style-nodes you attach below it into a new node
or by copying and tweaking the contents of the DefaultStyle into a new node
Best,
Anton
UPDATE: Note, we’ll postpone changes to the next week due to the build priorities. Theme changes will be in the later previews. Will let you know.
I don’t think it’s necessary to add this colour separately. You can add its calculation at the DefaultStyle node stage. Just slightly change the brightness of ‘Node Selected’