Skip to content

fix theme#17

Open
k-doering-NOAA wants to merge 1 commit into
mainfrom
fix-theme
Open

fix theme#17
k-doering-NOAA wants to merge 1 commit into
mainfrom
fix-theme

Conversation

@k-doering-NOAA

Copy link
Copy Markdown
Contributor

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

@eeholmes

eeholmes commented Feb 4, 2025

Copy link
Copy Markdown
Member

@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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