Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 23, 2020 09:43 pm GMT

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:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks