Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix theme #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix theme #17

wants to merge 1 commit into from

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.

2 participants