Skip to content

Commit

Permalink
Use a slight variation of transparent color to make the monospace tex…
Browse files Browse the repository at this point in the history
…t readable.
  • Loading branch information
Hernán Morales Durand authored and jecisc committed Apr 6, 2024
1 parent 65248a6 commit 56594ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Microdown-RichTextComposer/MicTextStyler.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ MicTextStyler >> interBlockSpacing [

{ #category : 'composer styles' }
MicTextStyler >> monospaceBackgroundColor [
^ Smalltalk ui theme settings windowColor

^ Color transparent alpha: 0.01
]

{ #category : 'canvas styles' }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : 'MicrodownParser' }

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

0 comments on commit 56594ae

Please sign in to comment.