Skip to content

Commit 3d2155e

Browse files
committed
Make fonts nicer on Macs
Removed the `antialias` setting which tells Chrome to not use native font rendering and instead use something from the late 2010's that isn't subpixel-friendly and looks very blocky. This used to be required when OS X browsers didn't antialias by default because it made fonts look bolder than on Windows. This has since been fixed and we are advised to not use `-webkit-font-smooth`. https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth
1 parent bd24b03 commit 3d2155e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

theme/stylesheets/website.less

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
-webkit-tap-highlight-color: transparent;
2323
-webkit-text-size-adjust: none;
2424
-webkit-touch-callout: none;
25-
-webkit-font-smoothing: antialiased;
2625
}
2726

2827
a {
@@ -39,7 +38,6 @@ html {
3938

4039
body {
4140
text-rendering: optimizeLegibility;
42-
font-smoothing: antialiased;
4341
font-family: @font-family-base;
4442
font-size: @font-size-base;
4543
letter-spacing: .2px;

0 commit comments

Comments
 (0)