[squeak-dev] The Trunk: System-mt.1311.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Feb 14 08:49:27 UTC 2022


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

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

Name: System-mt.1311
Author: mt
Time: 14 February 2022, 9:49:17.820624 am
UUID: 0802d867-3729-094f-95c6-9649ff5b8796
Ancestors: System-mt.1310

Complements Morphic-mt.1894.

=============== Diff against System-mt.1310 ===============

Item was changed:
  ----- Method: CommunityTheme class>>createDark (in category 'instance creation') -----
  createDark
  	"self createDark apply."
  	| name |
  	name := 'Community (dark)'.
  	^ (self named: name) in: [:theme |
  		theme merge: (self named: 'Squeak') overwrite: true.
  		theme name: name.
  		"General morph stuff."
  		theme
  			set: #borderColor for: #ScrollPane to: (Color transparent) ;
  			set: #keyboardFocusColor for: #Morph to: (self dbSelection adjustSaturation: -0.3 brightness: 0.10);
+ 			set: #keyboardFocusWidth for: #Morph to: 1;
- 			set: #keyboardFocusWidth for: #Morph to: 2;
  			set: #softShadowColor for: #Morph to: (self dbSelection muchLighter alpha: 0.025);
  			set: #softShadowOffset for: #Morph to: (10 at 8 corner: 10 at 12);
  			set: #hardShadowColor for: #Morph to: (self dbSelection muchLighter alpha: 0.02);
  			set: #hardShadowOffset for: #Morph to: 1 at 1.
  		self
  			addDarkFonts: theme;
  			addDarkWindowColors: theme;
  			addDarkSyntaxHighlighting: theme;
  			addDarkScrollables: theme;
  			addDarkButtons: theme;
  			addDarkDialogs: theme;
  			addDarkMenusAndDockingBars: theme;
  			addDarkToolColors: theme.
  		theme]!

Item was changed:
  ----- Method: TrimTheme class>>create (in category 'instance creation') -----
  create
  	"doIt: [self create apply.]"
  
  	| themeName |
  	themeName := 'Trim (dark)'.
  	^ (self named: themeName) in: [:theme |
  		theme merge: (self named: 'Squeak') overwrite: true.
  		theme name: themeName.
  
  		"General morph stuff."
  		theme
  			set: #keyboardFocusColor for: #Morph to: self blue;
+ 			set: #keyboardFocusWidth for: #Morph to: 1.
- 			set: #keyboardFocusWidth for: #Morph to: 2.
  
  		theme set: #background for: #MorphicProject to: self backgroundForm.
  
  		self addFonts: theme.
  		self addWindowColors: theme.
  		self addSyntaxHighlighting: theme.
  		self addMenusAndDockingBars: theme.
  		self addDialogs: theme.
  		self addButtons: theme.
  		self addScrollables: theme.
  		self addToolColors: theme.
  
  		theme]!

Item was changed:
+ (PackageInfo named: 'System') postscript: 'UserInterfaceTheme cleanUpAndReset. "Reduces keyboardFocusWidth in themes because we now add borderWidth of scrollables extra. See Morph >> #drawKeyboardFocusIndicationOn:."'!
- (PackageInfo named: 'System') postscript: 'SystemNavigation initializeAuthors. "Adds David O''Toole"'!



More information about the Squeak-dev mailing list