Skip to content

Commit 90b28bf

Browse files
committed
Add fill, stroke, strokeWidth.
1 parent f2d9c12 commit 90b28bf

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/Miso/Style.hs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ module Miso.Style
8686
, cursor
8787
, direction
8888
, display
89+
, fill
8990
, filter
9091
, flexBasis
9192
, flexDirection
@@ -170,6 +171,8 @@ module Miso.Style
170171
, relativeTopOf
171172
, right
172173
, rowGap
174+
, stroke
175+
, strokeWidth
173176
, textAlign
174177
, textDecoration
175178
, textIndent
@@ -721,6 +724,11 @@ direction x = "direction" =: x
721724
display :: MisoString -> Style
722725
display x = "display" =: x
723726
-----------------------------------------------------------------------------
727+
-- | https://developer.mozilla.org/en-US/docs/Web/CSS/fill
728+
--
729+
fill :: MisoString -> Style
730+
fill x = "fill" =: x
731+
-----------------------------------------------------------------------------
724732
-- | https://developer.mozilla.org/en-US/docs/Web/CSS/filter
725733
--
726734
filter :: MisoString -> Style
@@ -1146,6 +1154,16 @@ right x = "right" =: x
11461154
rowGap :: MisoString -> Style
11471155
rowGap x = "row-gap" =: x
11481156
-----------------------------------------------------------------------------
1157+
-- | https://developer.mozilla.org/en-US/docs/Web/CSS/stroke
1158+
--
1159+
stroke :: MisoString -> Style
1160+
stroke x = "stroke" =: x
1161+
-----------------------------------------------------------------------------
1162+
-- | https://developer.mozilla.org/en-US/docs/Web/CSS/stroke-width
1163+
--
1164+
strokeWidth :: MisoString -> Style
1165+
strokeWidth x = "stroke-width" =: x
1166+
-----------------------------------------------------------------------------
11491167
-- | https://developer.mozilla.org/en-US/docs/Web/CSS/text-align
11501168
--
11511169
textAlign :: MisoString -> Style

0 commit comments

Comments
 (0)