Skip to content

Commit

Permalink
Merge pull request #1646 from terpon/1645-SpPaginatorPageMorph-newCon…
Browse files Browse the repository at this point in the history
…tentMorph-background

SpPaginatorPageMorph and SpPaginatorSelectionMorph fixes for theme
  • Loading branch information
Ducasse authored Jan 9, 2025
2 parents e92931a + 6459e14 commit c34e8e0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/Spec2-Adapters-Morphic/PharoDarkTheme.extension.st
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
Extension { #name : 'PharoDarkTheme' }

{ #category : '*Spec2-Adapters-Morphic' }
PharoDarkTheme >> paginatorSelectionColor [

^ self lightBaseColor alpha: 0.8
]

{ #category : '*Spec2-Adapters-Morphic' }
PharoDarkTheme >> popoverButtonColor [

Expand Down
2 changes: 1 addition & 1 deletion src/Spec2-Adapters-Morphic/SpPaginatorPageMorph.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ SpPaginatorPageMorph >> mouseDown: event [
SpPaginatorPageMorph >> newContentMorph [

^ Morph new
color: Color white;
color: self theme backgroundColor;
borderColor: self theme borderColor;
borderWidth: 1;
hResizing: #spaceFill;
Expand Down
2 changes: 1 addition & 1 deletion src/Spec2-Adapters-Morphic/UITheme.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ UITheme >> modalBackdropColor [
{ #category : '*Spec2-Adapters-Morphic' }
UITheme >> paginatorSelectionColor [

^ self darkBaseColor alpha: 0.8
^ colorPalette paginatorSelectionColor
]

{ #category : '*Spec2-Adapters-Morphic' }
Expand Down

0 comments on commit c34e8e0

Please sign in to comment.