Skip to content

Commit 56594ae

Browse files
Hernán Morales Durandjecisc
authored andcommitted
Use a slight variation of transparent color to make the monospace text readable.
1 parent 65248a6 commit 56594ae

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Microdown-RichTextComposer/MicTextStyler.class.st

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ MicTextStyler >> interBlockSpacing [
8080

8181
{ #category : 'composer styles' }
8282
MicTextStyler >> monospaceBackgroundColor [
83-
^ Smalltalk ui theme settings windowColor
83+
84+
^ Color transparent alpha: 0.01
8485
]
8586

8687
{ #category : 'canvas styles' }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Extension { #name : 'MicrodownParser' }
22

33
{ #category : '*Microdown-RichTextComposer' }
4-
MicrodownParser classSide >> convertToRichText: aString [
4+
MicrodownParser class >> convertToRichText: aString [
55
^ MicRichTextComposer new visit: (self new parse: aString)
66
]

0 commit comments

Comments
 (0)