aboutsummaryrefslogtreecommitdiff
path: root/src/server/Design/Animation/Opacity.hs
blob: cc720fde2624c5ea058888c6c9b5e69c7c4346c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{-# LANGUAGE OverloadedStrings #-}

module Design.Animation.Opacity
  ( opacityAnimation
  ) where

import Data.String (fromString)

import Clay

import Design.Animation.Keyframes

opacityAnimation :: Css
opacityAnimation = do
  animationName (fromString . show $ OpacityKeyframes)
  animationDuration (sec 0.2)
  animationTimingFunction ease