generated from hpi-swa-teaching/SWT-Demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cards look consistent across themes now
- Loading branch information
Antonia Heinen
committed
Jun 14, 2024
1 parent
5737031
commit f44cc3e
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
Squello-Core.package/SPBCard.class/instance/applyUserInterfaceTheme.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
initialization | ||
applyUserInterfaceTheme | ||
|
||
| textColor font | | ||
super applyUserInterfaceTheme. | ||
self color: ((self userInterfaceTheme get: #color for: PluggableButtonMorph) ifNil: [Color red]). | ||
textColor := (self userInterfaceTheme get: #textColor for: PluggableButtonMorph) ifNil: [Color white]. | ||
font := (self userInterfaceTheme get: #font for: PluggableButtonMorph). | ||
self assigneeModel textColor: textColor; font: font. | ||
self statusModel textColor: textColor; font: font. | ||
self titleModel textColor: textColor"; font: font". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters