pharo-project / pharo

Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk.
http://pharo.org
Other
1.21k stars 356 forks source link

Unreadable Code snippet in comments when using Dark mode #17362

Open lugu opened 1 week ago

lugu commented 1 week ago

Bug description

Comment documentation in browser is hard to read when using the Dark theme.

To Reproduce

  1. Use dark them
  2. Open system browser
  3. Display a class comment containing code snippet

Expected behavior

It is easy to read the text.

The code snippet in the comment could be displayed using the colors the browser use to display code.

Screenshots

See attached.

Version information:

Pharo 12.

Expected development cost

Re-using the existing colors shouldn't be too controversial. Updating the color scheme shouldn't be too hard.

Additional context

Thanks a lot! PharoScreenshot 1

welcome[bot] commented 1 week ago

Thanks for opening your first issue! Please check the CONTRIBUTING documents for some tips about which information should be provided. You can find information of how to do a Pull Request here: https://github.com/pharo-project/pharo/wiki/Contribute-a-fix-to-Pharo

GitHub
Contribute a fix to Pharo
Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk. - pharo-project/pharo
Ducasse commented 1 week ago

Tx for reporting it. We will see how to address the problem now the rendering of rich text is different from the syntax highlighter.