Skip to content

Commit

Permalink
[cleanup] testColors are now extentions methods of SUnit core, rather…
Browse files Browse the repository at this point in the history
… than have random protocols
  • Loading branch information
hogoww committed Dec 25, 2019
1 parent 9ef3f1b commit 2cb94a9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/SUnit-Core/PharoDarkTheme.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Extension { #name : #PharoDarkTheme }

{ #category : #'*SUnit-Core' }
PharoDarkTheme >> testColorError [
^ Color red darker darker darker
]

{ #category : #'*SUnit-Core' }
PharoDarkTheme >> testColorFailure [
^ Color yellow muchDarker lighter lighter
]

{ #category : #'*SUnit-Core' }
PharoDarkTheme >> testColorPassing [
^ Color green muchDarker lighter
]
16 changes: 16 additions & 0 deletions src/SUnit-Core/UITheme.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Extension { #name : #UITheme }

{ #category : #'*SUnit-Core' }
UITheme >> testColorError [
^ Color red darker darker
]

{ #category : #'*SUnit-Core' }
UITheme >> testColorFailure [
^ Color yellow darker darker darker
]

{ #category : #'*SUnit-Core' }
UITheme >> testColorPassing [
^ Color green darker darker
]

0 comments on commit 2cb94a9

Please sign in to comment.