The Trunk: System-mt.862.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.862.mcz

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

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

Name: System-mt.862
Author: mt
Time: 3 August 2016, 5:02:47.934179 pm
UUID: d0377fca-6807-b948-b464-e74122834e6f
Ancestors: System-mt.861

Implements Karl's suggestions for the colors in Monokai and Solarized themes for progress bars. Also improve the non-shadow scenario.

=============== Diff against System-mt.861 ===============

Item was changed:
  ----- Method: MonokaiTheme class>>addDarkDialogs: (in category 'instance creation') -----
  addDarkDialogs: theme
  "self createDark apply."
  theme
  set: #borderColor for: #DialogWindow to: self backgroundColor muchDarker;
  set: #color for: #DialogWindow to: self invisibleColor;
 
  set: #titleColor for: #DialogWindow to: self backgroundColor;
  set: #titleTextColor for: #DialogWindow to: self foregroundColor;
 
  set: #textColor for: #DialogWindow to: self yellow;
 
  set: #okColor for: #DialogWindow to: self green muchDarker;
  set: #cancelColor for: #DialogWindow to: self orange muchDarker;
  set: #buttonColor for: #DialogWindow to: self invisibleColor;
  set: #selectionModifier for: #DialogWindow to: [ [:c | c adjustBrightness: -0.1 ] ].
 
  "The List Chooser is a dialog, too."
  theme
  set: #addColor for: #ListChooser to: self blue;
  set: #disabledColor for: #ListChooser to: Color transparent.
 
 
  "And the system progress bar."
  theme
+ set: #color for: #SystemProgressBarMorph to: self invisibleColor;
- set: #color for: #SystemProgressBarMorph to: Color transparent;
  set: #barColor for: #SystemProgressBarMorph to: self foregroundColor.
 
  "And the balloon morphs."
  theme
  set: #borderColor for: #NewBalloonMorph to: self backgroundColor muchDarker;
  set: #color for: #NewBalloonMorph to: self invisibleColor.!

Item was changed:
  ----- Method: MonokaiTheme class>>addDarkMenusAndDockingBars: (in category 'instance creation') -----
  addDarkMenusAndDockingBars: theme
  "self createDark apply."
  theme
+ set: #borderWidth for: #MenuMorph to: 1;
+ set: #borderColor for: #MenuMorph to: self invisibleColor;
- set: #borderWidth for: #MenuMorph to: 0;
  set: #color for: #MenuMorph to: self backgroundColor;
  set: #titleTextColor for: #MenuMorph to: self yellow;
  set: #lineColor for: #MenuMorph to: self invisibleColor;
  set: #lineStyle for: #MenuMorph to: BorderStyle default;
  set: #lineWidth for: #MenuMorph to: 1.
 
  theme
  set: #textColor for: #MenuItemMorph to: self foregroundColor;
  set: #selectionColor for: #MenuItemMorph to: self invisibleColor;
  set: #selectionTextColor for: #MenuItemMorph to: self yellow.
  "set: #subMenuMarker for: #MenuItemMorph to: nil." "Use hard-coded default. See MenuItemMorph."
 
  "The world main docking bar."
  theme
  set: #color for: #DockingBarMorph to: self invisibleColor;
  set: #selectionColor for: #DockingBarItemMorph to: self grayLight;
  set: #logoColor for: #TheWorldMainDockingBar to: self foregroundColor;
  set: #selectionLogoColor for: #TheWorldMainDockingBar to: self yellow.!

Item was changed:
  ----- Method: SolarizedTheme class>>addDarkDialogs: (in category 'instance creation') -----
  addDarkDialogs: theme
  "self createDark apply."
  theme
  set: #borderColor for: #DialogWindow to: self darkBackground muchDarker;
  set: #color for: #DialogWindow to: self darkBackgroundHighlights;
 
  set: #titleColor for: #DialogWindow to: self darkBackground;
  set: #titleTextColor for: #DialogWindow to: self darkContentEmphasized;
 
  set: #textColor for: #DialogWindow to: self darkContentEmphasizedMore;
 
  set: #okColor for: #DialogWindow to: self green;
  set: #cancelColor for: #DialogWindow to: self orange;
  set: #buttonColor for: #DialogWindow to: self darkBackgroundHighlights;
  set: #selectionModifier for: #DialogWindow to: [ [:c | c adjustBrightness: -0.1 ] ].
 
  "The List Chooser is a dialog, too."
  theme
  set: #addColor for: #ListChooser to: self blue;
  set: #disabledColor for: #ListChooser to: Color transparent.
 
 
  "And the system progress bar."
  theme
+ set: #color for: #SystemProgressBarMorph to: self darkBackgroundHighlights;
+ set: #barColor for: #SystemProgressBarMorph to: self darkContentSecondary.
- set: #color for: #SystemProgressBarMorph to: Color transparent;
- set: #barColor for: #SystemProgressBarMorph to: self darkContentEmphasized.
 
  "And the balloon morphs."
  theme
  set: #borderColor for: #NewBalloonMorph to: self darkBackground muchDarker;
  set: #color for: #NewBalloonMorph to: self darkBackgroundHighlights.!

Item was changed:
  ----- Method: SolarizedTheme class>>addDarkMenusAndDockingBars: (in category 'instance creation') -----
  addDarkMenusAndDockingBars: theme
  "self createDark apply."
  theme
+ set: #borderWidth for: #MenuMorph to: 1;
+ set: #borderColor for: #MenuMorph to: self darkBackgroundHighlights;
- set: #borderWidth for: #MenuMorph to: 0;
  set: #color for: #MenuMorph to: self darkBackground;
  set: #titleTextColor for: #MenuMorph to: self darkContentEmphasizedMore;
  set: #lineColor for: #MenuMorph to: self darkBackgroundHighlights;
  set: #lineStyle for: #MenuMorph to: BorderStyle default;
  set: #lineWidth for: #MenuMorph to: 1.
 
  theme
  set: #textColor for: #MenuItemMorph to: self darkContentEmphasized;
  set: #selectionColor for: #MenuItemMorph to: self darkBackgroundHighlights;
  set: #selectionTextColor for: #MenuItemMorph to: self darkContentEmphasizedMore.
  "set: #subMenuMarker for: #MenuItemMorph to: nil." "Use hard-coded default. See MenuItemMorph."
 
  "The world main docking bar."
  theme
  set: #color for: #DockingBarMorph to: self darkBackgroundHighlights;
  set: #selectionColor for: #DockingBarItemMorph to: self darkContentSecondary;
  set: #logoColor for: #TheWorldMainDockingBar to: self darkContentEmphasized;
  set: #selectionLogoColor for: #TheWorldMainDockingBar to: self darkContentEmphasizedMore.!

Item was changed:
  ----- Method: SolarizedTheme class>>addLightDialogs: (in category 'instance creation') -----
  addLightDialogs: theme
  "self createLight apply."
  theme
  set: #borderColor for: #DialogWindow to: self lightBackground muchDarker;
  set: #color for: #DialogWindow to: self lightBackgroundHighlights;
 
  set: #titleColor for: #DialogWindow to: self lightBackground;
  set: #titleTextColor for: #DialogWindow to: self lightContentEmphasized;
 
  set: #textColor for: #DialogWindow to: self lightContentEmphasizedMore;
 
  set: #okColor for: #DialogWindow to: self green;
  set: #cancelColor for: #DialogWindow to: self orange;
  set: #buttonColor for: #DialogWindow to: self lightBackgroundHighlights;
  set: #selectionModifier for: #DialogWindow to: [ [:c | c adjustBrightness: -0.1 ] ].
 
  "The List Chooser is a dialog, too."
  theme
  set: #addColor for: #ListChooser to: self blue;
  set: #disabledColor for: #ListChooser to: Color transparent.
 
 
  "And the system progress bar."
  theme
+ set: #color for: #SystemProgressBarMorph to: self lightBackgroundHighlights;
+ set: #barColor for: #SystemProgressBarMorph to: self lightContentSecondary.
- set: #color for: #SystemProgressBarMorph to: Color transparent;
- set: #barColor for: #SystemProgressBarMorph to: self lightContentEmphasized.
 
  "And the balloon morphs."
  theme
  set: #borderColor for: #NewBalloonMorph to: self lightBackground muchDarker;
  set: #color for: #NewBalloonMorph to: self lightBackgroundHighlights.!

Item was changed:
  ----- Method: SolarizedTheme class>>addLightMenusAndDockingBars: (in category 'instance creation') -----
  addLightMenusAndDockingBars: theme
  "self createLight apply."
  theme
+ set: #borderWidth for: #MenuMorph to: 1;
+ set: #borderColor for: #MenuMorph to: self lightBackgroundHighlights;
- set: #borderWidth for: #MenuMorph to: 0;
  set: #color for: #MenuMorph to: self lightBackground;
  set: #titleTextColor for: #MenuMorph to: self lightContentEmphasizedMore;
  set: #lineColor for: #MenuMorph to: self lightBackgroundHighlights;
  set: #lineStyle for: #MenuMorph to: BorderStyle default;
  set: #lineWidth for: #MenuMorph to: 1.
 
  theme
  set: #textColor for: #MenuItemMorph to: self lightContentEmphasized;
  set: #selectionColor for: #MenuItemMorph to: self lightBackgroundHighlights;
  set: #selectionTextColor for: #MenuItemMorph to: self lightContentEmphasizedMore.
  "set: #subMenuMarker for: #MenuItemMorph to: nil." "Use hard-coded default. See MenuItemMorph."
 
  "The world main docking bar."
  theme
  set: #color for: #DockingBarMorph to: self lightBackgroundHighlights;
  set: #selectionColor for: #DockingBarItemMorph to: self lightContentSecondary;
  set: #logoColor for: #TheWorldMainDockingBar to: self lightContentEmphasized;
  set: #selectionLogoColor for: #TheWorldMainDockingBar to: self lightContentEmphasizedMore.!