Skip to content

Commit 62d22f3

Browse files
authored
do not specify anti-aliasing (#8689)
specifying the anti-aliasing implies we know better than the browser (we don't). Specifiying this globally prevents the use of sub-pixel anti-aliasing where it is available and the browsers text rendering engines are these days pretty much fantastic that they should not need these hacks. and for good measure - here is an article from 10 years ago https://usabilitypost.com/2012/11/05/stop-fixing-font-smoothing/ and the mozilla doc saying do not use it on a public facing web site. https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth
1 parent 0d537d4 commit 62d22f3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

war/src/main/scss/base/_core.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
html {
22
height: 100%;
33
box-sizing: border-box;
4-
-webkit-font-smoothing: antialiased;
5-
-moz-osx-font-smoothing: grayscale;
64
-webkit-tap-highlight-color: transparent;
75
color: var(--text-color);
86
}

0 commit comments

Comments
 (0)