-
DescriptionI'm writing a small tutorial and publish it using Github Pages. To make it look good i stole some that would make it look nice with a dark theme as default. Here's my YAML: project:
type: website
output-dir: docs
website:
title: "Remote Debugging of Rust Programs in VS Code"
navbar:
left:
#- href: site/index.qmd
# text: Start
- site/index.qmd
- site/manual-rdbg.qmd
- site/vscode-setup.qmd
format:
html:
theme:
dark: [site/darkly.scss]
toc: true Earlier the line at the end was The repository: https://github.com/sasja-san/vscode-remote-debug-example If you open the page and click the light/dark toggle you can see that a lot more than just the colors change. For future reference, this is commit
I'm placing this as a discussion and not an issue because I know almost nothing about web stuff, so there's probably some silly detail I should know about but just don't. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The issue here, I think, is that our dark-light mode toggle is fundamentally just switching between two themes. If the themes themselves have different font sizes, there's not much we can do, and you'll need to find themes that have compatible styles. |
Beta Was this translation helpful? Give feedback.
The issue here, I think, is that our dark-light mode toggle is fundamentally just switching between two themes. If the themes themselves have different font sizes, there's not much we can do, and you'll need to find themes that have compatible styles.