MarlinFirmware / MarlinDocumentation

Marlin Firmware Documentation Project
https://marlinfw.org
GNU General Public License v3.0
367 stars 770 forks source link

Set base pre bg color #457

Closed SabrinaAtchley closed 2 years ago

SabrinaAtchley commented 2 years ago

pre tags previously displayed the same light grey bg color even on dark mode, rather than using the --color-pre-bg variable, which lead to very low contrast text when using dark mode, e.g. https://marlinfw.org/docs/features/unified_bed_leveling.html#synopsis

Every other instance I could find of pre tags used the highlight class, and didn't have this issue, nor would those instances be affected by this change.