We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3a9ab5 commit 50d8d9eCopy full SHA for 50d8d9e
fontSmoothing.scss
@@ -0,0 +1,21 @@
1
+// =======================
2
+// Font smoothing
3
+// http://maximilianhoffmann.com/posts/better-font-rendering-on-osx
4
5
+
6
+@mixin font-smoothing($value: on) {
7
+ @if $value == on {
8
+ -webkit-font-smoothing: antialiased;
9
+ -moz-osx-font-smoothing: grayscale;
10
+ }
11
+ @else {
12
+ -webkit-font-smoothing: subpixel-antialiased;
13
+ -moz-osx-font-smoothing: auto;
14
15
+}
16
17
+// dark on light
18
+// @include font-smoothing(off);
19
20
+// light on dark
21
+// @include font-smoothing(on);
0 commit comments