vincentdoerig / latex-css

LaTeX.css is a CSS library that makes your website look like a LaTeX document
https://latex.vercel.app
MIT License
2.74k stars 125 forks source link

Added darker and darkest modes to style.css #57

Closed Duggins closed 11 months ago

Duggins commented 1 year ago

The dark mode isn't very dark. This is just my own crude solution; maybe make dark mode darker instead?

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
latex-css ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 8, 2023 2:16am
vincentdoerig commented 11 months ago

Thank you for the PR! I apologise I didn't have the time to look at this earlier. I think that one dark mode is enough. If someone wants to use a deeper black, it is easy to overwrite the corresponding CSS variables like this for example:

--body-color: hsl(0, 0%, 86%);
--body-bg-color: hsl(0, 0%, 16%);

to

--body-color: hsl(0, 0%, 82%);
--body-bg-color: hsl(0, 0%, 8%);