cognitive-engineering-lab / rust-book

The Rust Programming Language: Experimental Edition
https://rust-book.cs.brown.edu
Other
593 stars 92 forks source link

Text highlighting color in dark mode. #18

Closed peterspbr closed 1 year ago

peterspbr commented 1 year ago

URL to the section(s) of the book with this problem:

Description of the problem: When highlighting some piece of text while in dark themes (i'm actually using the navy theme) it uses a bright yellow color that makes the text hard to read. I'm using Firefox while using the book.

Suggested fix: Use some color for highlighting in dark themes that gives more contrast between the text and the highlighting itself.

willcrichton commented 1 year ago

Thanks for the report. I'll pick a more appropriate color for dark themes and add this in the next release.

peterspbr commented 1 year ago

Thanks!