1ifeworld / river-source

Opinionated site implementation
https://river-live.vercel.app
GNU Affero General Public License v3.0
1 stars 1 forks source link

Add anti-aliasing for fonts #52

Closed ioeylim closed 1 year ago

ioeylim commented 1 year ago

https://www.educative.io/answers/what-is-font-smoothing-in-css

salieflewis commented 1 year ago

Can you double-check this is not being done automatically by Next? This feels like one of those things.

salieflewis commented 1 year ago

https://github.com/emilkowalski/sonner/blob/main/website/app/globals.css

ioeylim commented 1 year ago

have you tried this? feels like it's just -webkit-font-smoothing: antialiased; which i did for the lifeworld site

salieflewis commented 1 year ago

have you tried this? feels like it's just -webkit-font-smoothing: antialiased; which i did for the lifeworld site

I think I can add it directly into the design system via a CSS module, like so https://github.com/calebguy/entropy-web/blob/main/packages/dsl/src/Text/Text.module.css

salieflewis commented 1 year ago

Also related.

https://github.com/liabru/material-design-type/blob/master/style.css