fix font smoothing to match figma
as per https://github.com/vector-im/riot-web/issues/11425 with apologies to https://usabilitypost.com/2012/11/05/stop-fixing-font-smoothing/ :/
This commit is contained in:
parent
9f1df0ce8f
commit
bb7cc20b1a
1 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,11 @@ body {
|
||||||
color: $primary-fg-color;
|
color: $primary-fg-color;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
|
|
||||||
|
// needed to match the designs correctly on macOS
|
||||||
|
// see https://github.com/vector-im/riot-web/issues/11425
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre, code {
|
pre, code {
|
||||||
|
|
Loading…
Reference in a new issue