Skip to content

Commit 147aaca

Browse files
authored
Merge pull request #46 from alexmingoia/topic/letter-spacing-rule
Add letter-spacing rule.
2 parents 81d1c35 + a2ad5d2 commit 147aaca

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/CSS/Text.purs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
module CSS.Text where
22

33
import Prelude
4-
5-
import Data.Generic (class Generic)
6-
74
import CSS.Property (class Val, Value)
5+
import CSS.Size (Size)
86
import CSS.String (fromString)
97
import CSS.Stylesheet (CSS, key)
8+
import Data.Generic (class Generic)
9+
10+
letterSpacing :: forall a. Size a -> CSS
11+
letterSpacing = key $ fromString "letter-spacing"
1012

1113
newtype TextDecoration = TextDecoration Value
1214

0 commit comments

Comments
 (0)