The Trunk: System-mt.867.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: System-mt.867.mcz

commits-2
Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.867.mcz

==================== Summary ====================

Name: System-mt.867
Author: mt
Time: 5 August 2016, 9:33:53.020358 am
UUID: a76b6a94-8e22-c34f-93fa-38425216e114
Ancestors: System-mt.866

Make disabled buttons in Solarized theme a little bit more subtle.

=============== Diff against System-mt.866 ===============

Item was changed:
  ----- Method: SolarizedTheme class>>addDarkButtons: (in category 'instance creation') -----
  addDarkButtons: theme
  "self createDark apply."
  theme
  set: #borderColor for: #PluggableButtonMorph to: self darkBackground;
  set: #color for: #PluggableButtonMorph to: self darkBackgroundHighlights;
  set: #textColor for: #PluggableButtonMorph to: self darkContentEmphasizedMore;
 
  set: #selectionModifier for: #PluggableButtonMorph to: [ [:c | c adjustBrightness: -0.1] ];
  set: #hoverModifier for: #PluggableButtonMorph to: [ [:c | c adjustBrightness: -0.1] ];
  set: #feedbackModifier for: #PluggableButtonMorph to: [ [:c | c adjustBrightness: -0.3] ].
 
  "And the plus-version."
+ theme set: #disabledTextColor for: #PluggableButtonMorphPlus to: self darkContentSecondary.
- theme set: #disabledTextColor for: #PluggableButtonMorphPlus to: self darkContentEmphasized.
  !

Item was changed:
  ----- Method: SolarizedTheme class>>addLightButtons: (in category 'instance creation') -----
  addLightButtons: theme
+ "self createLight apply."
- "self createDark apply."
  theme
  set: #borderColor for: #PluggableButtonMorph to: self lightBackground;
  set: #color for: #PluggableButtonMorph to: self lightBackgroundHighlights;
  set: #textColor for: #PluggableButtonMorph to: self lightContentEmphasizedMore;
 
  set: #selectionModifier for: #PluggableButtonMorph to: [ [:c | c adjustBrightness: -0.1] ];
  set: #hoverModifier for: #PluggableButtonMorph to: [ [:c | c adjustBrightness: -0.1] ];
  set: #feedbackModifier for: #PluggableButtonMorph to: [ [:c | c adjustBrightness: -0.3] ].
 
  "And the plus-version."
+ theme set: #disabledTextColor for: #PluggableButtonMorphPlus to: self lightContentSecondary.
- theme set: #disabledTextColor for: #PluggableButtonMorphPlus to: self lightContentEmphasized.
  !