lxndrblz / anatole

Anatole is a minimalistic two-column theme for Hugo.
https://themes.gohugo.io/themes/anatole/
MIT License
650 stars 356 forks source link

Color scheme when switching light/dark mode #428

Closed hliasa closed 1 year ago

hliasa commented 1 year ago

Describe the bug When a reader is switching from light to dark theme, the codeblocks with syntax highlighting become very hard to read.

To Reproduce Steps to reproduce the behavior:

  1. Go to the 'demo app'
  2. Scroll down to Code Blocks
  3. While on light theme, it looks fine
  4. Switch to dark mode and you'll see that the code blocks have dark characters in dark background which is very hard to read (Code block indented with four spaces is not affected)

Expected behavior I'd expect the code blocks would adjust their color scheme to accompany the dark theme.

Screenshots anatole_light dark_anatole

Desktop (please complete the following information):