Skip to content

Commit

Permalink
Tweak the pressed visuals of Graphite skin
Browse files Browse the repository at this point in the history
Closes #330
  • Loading branch information
kirill-grouchnikov committed Mar 18, 2021
1 parent 4288406 commit e50b39b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 16 deletions.
Binary file modified drop/4.0-SNAPSHOT/core/radiance-substance-4.0-SNAPSHOT.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ public GraphiteSkin() {
SubstanceColorScheme pressedUnselectedScheme = schemes.get("Graphite Pressed Unselected");
defaultSchemeBundle.registerColorScheme(pressedSelectedScheme, ComponentState.PRESSED_SELECTED);
defaultSchemeBundle.registerColorScheme(pressedUnselectedScheme, ComponentState.PRESSED_UNSELECTED);
defaultSchemeBundle.registerColorScheme(pressedSelectedScheme,
SubstanceSlices.ColorSchemeAssociationKind.MARK, ComponentState.PRESSED_SELECTED);
defaultSchemeBundle.registerColorScheme(pressedUnselectedScheme,
SubstanceSlices.ColorSchemeAssociationKind.MARK, ComponentState.PRESSED_UNSELECTED);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,25 +76,27 @@ Graphite Selected Disabled {
}

Graphite Pressed Selected {
kind=Dark
colorUltraLight=#3F3F3F
colorExtraLight=#3A3A3A
colorLight=#353535
colorMid=#2B2B2B
colorDark=#212121
colorUltraDark=#1C1C1C
colorForeground=#EDEDED
kind=Light
colorUltraLight=#D5D6D8
colorExtraLight=#CED1D5
colorLight=#B4BBC1
colorMid=#A7AAAE
colorDark=#6F7174
colorUltraDark=#5D5E60
colorForeground=#1B2025
colorMark=#1B2025
}

Graphite Pressed Unselected {
kind=Dark
colorUltraLight=#3A3A3A
colorExtraLight=#353535
colorLight=#303030
colorMid=#272727
colorDark=#1E1E1E
colorUltraDark=#191919
colorForeground=#EDEDED
kind=Light
colorUltraLight=#CACBCD
colorExtraLight=#C4C7CA
colorLight=#ADB2B8
colorMid=#A2A4A7
colorDark=#727476
colorUltraDark=#646566
colorForeground=#1B2025
colorMark=#1B2025
}

Graphite Disabled {
Expand Down

0 comments on commit e50b39b

Please sign in to comment.