Skip to content

Commit

Permalink
feat: reset font-smoothing for root element
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Oct 4, 2021
1 parent 2192fd6 commit dd93855
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/document/bem.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@
*/

.utrecht-document {
/* reset `font-smoothing: antialiasing`, prefer automatic (`subpixel-antialiasing`) behavior for high-dpi screens */
background-color: var(--utrecht-document-background-color, inherit);
color: var(--utrecht-document-color, inherit);
font-family: var(--utrecht-document-font-family, inherit);
font-size: var(--utrecht-document-font-size, inherit);
-moz-osx-font-smoothing: auto;
-webkit-font-smoothing: auto;
line-height: var(--utrecht-document-line-height, inherit);
}

0 comments on commit dd93855

Please sign in to comment.