diff options
Diffstat (limited to 'Biz')
-rw-r--r-- | Biz/Look.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Biz/Look.hs b/Biz/Look.hs index 372dd08..2e05993 100644 --- a/Biz/Look.hs +++ b/Biz/Look.hs @@ -15,6 +15,7 @@ module Biz.Look noColorPreference, -- | Font fontStack, + fontSmoothing, -- | Clay.Text extensions textDecorationThickness, textDecorationWidth, @@ -52,6 +53,11 @@ fontStack = do fontFamily ["Camphor", "Open Sans", "Segoe UI"] [sansSerif] textRendering optimizeLegibility +fontSmoothing :: Css +fontSmoothing = do + Stylesheet.key "-webkit-font-smoothing" ("antialiased" :: Text) + Stylesheet.key "-moz-osx-font-smoothing" ("grayscale" :: Text) + hoverButton :: Css hoverButton = button # hover ? do |