tinygo-org / tinygo-site

Web site for TinyGo project.
https://tinygo.org
57 stars 112 forks source link

Fix light/dark mode syntax highlighting #411

Closed aykevl closed 4 months ago

aykevl commented 4 months ago

See: https://www.docsy.dev/docs/adding-content/lookandfeel/#lightdark-color-themes

Previously the code would effectively be in dark mode, no matter whether the website was light or dark mode. This led to situations like here, which I don't think looks very good:

Screenshot_20240702_183242

After this change, the syntax highlighting theme changes with the website theme:

Screenshot_20240702_183442 Screenshot_20240702_183458

deadprogram commented 4 months ago

Thanks for the fix @aykevl now merging.