Skip to content

Commit

Permalink
re-introduce webkit font-smoothing
Browse files Browse the repository at this point in the history
  • Loading branch information
basher committed Dec 20, 2024
1 parent 1c80c32 commit fec28f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/src/css/global/typography.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/*
----------------------------------------------------------------------------
Element styles.
No need for font smoothing - see https://ui.dev/rwd/articles/font-smoothing
----------------------------------------------------------------------------
*/

Expand All @@ -22,6 +20,7 @@ html {
body {
font-family: var(--base-font-family);
font-size: var(--font-size-body);
-webkit-font-smoothing: antialiased; /* https://www.joshwcomeau.com/css/custom-css-reset/#four-improve-text-rendering-5 */
line-height: var(--base-line-height);
}

Expand Down

0 comments on commit fec28f7

Please sign in to comment.