nunocoracao / blowfish

Personal Website & Blog Theme for Hugo
https://blowfish.page
MIT License
1.53k stars 421 forks source link

Theme 'Noir' has background color issue with alerts and code blocks in light mode #1793

Open schneekluth opened 1 month ago

schneekluth commented 1 month ago

Describe the bug When using theme noir in light mode the background color of code blocks and alerts is not distinguishable from page background color.

To Reproduce Steps to reproduce the behavior:

  1. In config/_default/params.toml set colorSheme = "noir"
  2. Turn on light mode if not already set
  3. Place an alert or codebloock

Expected behavior Visually distinguishable background for named elements.

Screenshots noir-issue

Desktop (please complete the following information):

Hugo & Blowfish versions Which version of Hugo and Blowfish are you using?

insidemordecai commented 1 day ago

a fix for this would be greatly appreciated, i also experienced this issue and resorted to changing the theme

ennnbeee commented 16 hours ago

You could take a copy of the noir css from the repo, and update it as a custom theme as per https://blowfish.page/docs/advanced-customisation/#colour-schemes

Looks like the values in question are:

But I imagine those values are used across many many other parts of the site.