/
FontSize.purs
95 lines (70 loc) · 3.87 KB
/
FontSize.purs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
module Deku.DOM.Attr.FontSize where
import Prelude
import Deku.DOM.Elt.Tspan (Tspan_)
import Deku.DOM.Elt.Text (Text_)
import Deku.DOM.Elt.Switch (Switch_)
import Deku.DOM.Elt.Image (Image_)
import Deku.DOM.Elt.Filter (Filter_)
import Deku.DOM.Elt.FeTurbulence (FeTurbulence_)
import Deku.DOM.Elt.FeTile (FeTile_)
import Deku.DOM.Elt.FeSpecularLighting (FeSpecularLighting_)
import Deku.DOM.Elt.FeOffset (FeOffset_)
import Deku.DOM.Elt.FeMorphology (FeMorphology_)
import Deku.DOM.Elt.FeMerge (FeMerge_)
import Deku.DOM.Elt.FeImage (FeImage_)
import Deku.DOM.Elt.FeGaussianBlur (FeGaussianBlur_)
import Deku.DOM.Elt.FeFlood (FeFlood_)
import Deku.DOM.Elt.FeDisplacementMap (FeDisplacementMap_)
import Deku.DOM.Elt.FeDiffuseLighting (FeDiffuseLighting_)
import Deku.DOM.Elt.FeConvolveMatrix (FeConvolveMatrix_)
import Deku.DOM.Elt.FeComposite (FeComposite_)
import Deku.DOM.Elt.FeComponentTransfer (FeComponentTransfer_)
import Deku.DOM.Elt.FeColorMatrix (FeColorMatrix_)
import Deku.DOM.Elt.FeBlend (FeBlend_)
import Deku.Attribute (class Attr, prop', unsafeAttribute, unset')
data FontSize = FontSize
instance Attr FeBlend_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr FeColorMatrix_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr FeComponentTransfer_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr FeComposite_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr FeConvolveMatrix_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr FeDiffuseLighting_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr FeDisplacementMap_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr FeFlood_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr FeGaussianBlur_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr FeImage_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr FeMerge_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr FeMorphology_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr FeOffset_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr FeSpecularLighting_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr FeTile_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr FeTurbulence_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr Filter_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr Image_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr Switch_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr Text_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr Tspan_ FontSize String where
attr FontSize value = unsafeAttribute { key: "font-size", value: prop' value }
instance Attr everything FontSize Unit where
attr FontSize _ = unsafeAttribute
{ key: "font-size", value: unset' }