Skip to content

Conversation

@k-doering-NOAA
Copy link
Contributor

as in Openscapes/quarto-website-tutorial#37. Dark mode was not working, so remove it.

@eeholmes
Copy link
Member

eeholmes commented Feb 4, 2025

@k-doering-NOAA How is light/dark not working? Seems to work for me. the theme-dark.scss file is in the repo

@k-doering-NOAA
Copy link
Contributor Author

Sorry, I should have been more clear!

The code blocks don't show up when toggling to dark mode.

@k-doering-NOAA
Copy link
Contributor Author

e.g., see the software and code section and toggle between dark and light mode: https://nmfs-opensci.github.io/ResourceBook/content/licenses_gov.html#software-and-code

@k-doering-NOAA
Copy link
Contributor Author

I tried to add the following to theme-dark.scss, but it didn't fix it, so instead went with the solution that openscapes identified.

$code-block-bg: #181818;
$code-block-color: white;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants