April 23, 2020 09:43 pm GMT
Original Link: https://css-tricks.com/dark-mode-and-variable-fonts/
Dark mode and variable fonts
Not so long ago, we wrote about dark mode in CSS and Ive been thinking about how white text on a black background is pretty much always harder to read than black text on a white background. After thinking about this for a while, I realized that we can fix that problem by making the text thinner in dark mode using variable fonts!
Heres an example of the problem where Im using the typeface Yanone Kaffeesatz from Google Fonts. Notice … Read article “Dark mode and variable fonts”
The post Dark mode and variable fonts appeared first on CSS-Tricks.
Original Link: https://css-tricks.com/dark-mode-and-variable-fonts/
Share this article:
Tweet
View Full Article