@@ -7,6 +7,7 @@ import tyrian.ui.datatypes.RGBA
77import tyrian .ui .datatypes .TextAlignment
88import tyrian .ui .datatypes .TextDecoration
99import tyrian .ui .datatypes .TextStyle
10+ import tyrian .ui .datatypes .Wrapping
1011
1112final case class TextThemes (
1213 normal : TextTheme ,
@@ -102,7 +103,7 @@ object TextThemes:
102103 textColor = RGBA .fromHex(" #333333" ),
103104 alignment = TextAlignment .Left ,
104105 lineHeight = LineHeight .Relaxed ,
105- wrapping = true ,
106+ wrapping = Wrapping . Wrap ,
106107 style = TextStyle .Normal ,
107108 decoration = TextDecoration .None
108109 )
@@ -114,7 +115,7 @@ object TextThemes:
114115 textColor = RGBA .fromHex(" #333333" ),
115116 alignment = TextAlignment .Left ,
116117 lineHeight = LineHeight .Relaxed ,
117- wrapping = true ,
118+ wrapping = Wrapping . Wrap ,
118119 style = TextStyle .Normal ,
119120 decoration = TextDecoration .None
120121 )
@@ -126,7 +127,7 @@ object TextThemes:
126127 textColor = RGBA .fromHex(" #1a1a1a" ),
127128 alignment = TextAlignment .Left ,
128129 lineHeight = LineHeight .Tight ,
129- wrapping = true ,
130+ wrapping = Wrapping . Wrap ,
130131 style = TextStyle .Normal ,
131132 decoration = TextDecoration .None
132133 )
@@ -138,7 +139,7 @@ object TextThemes:
138139 textColor = RGBA .fromHex(" #1a1a1a" ),
139140 alignment = TextAlignment .Left ,
140141 lineHeight = LineHeight .Tight ,
141- wrapping = true ,
142+ wrapping = Wrapping . Wrap ,
142143 style = TextStyle .Normal ,
143144 decoration = TextDecoration .None
144145 )
@@ -150,7 +151,7 @@ object TextThemes:
150151 textColor = RGBA .fromHex(" #1a1a1a" ),
151152 alignment = TextAlignment .Left ,
152153 lineHeight = LineHeight .Relative (1.3 ),
153- wrapping = true ,
154+ wrapping = Wrapping . Wrap ,
154155 style = TextStyle .Normal ,
155156 decoration = TextDecoration .None
156157 )
@@ -162,7 +163,7 @@ object TextThemes:
162163 textColor = RGBA .fromHex(" #1a1a1a" ),
163164 alignment = TextAlignment .Left ,
164165 lineHeight = LineHeight .Relative (1.3 ),
165- wrapping = true ,
166+ wrapping = Wrapping . Wrap ,
166167 style = TextStyle .Normal ,
167168 decoration = TextDecoration .None
168169 )
@@ -174,7 +175,7 @@ object TextThemes:
174175 textColor = RGBA .fromHex(" #1a1a1a" ),
175176 alignment = TextAlignment .Left ,
176177 lineHeight = LineHeight .Normal ,
177- wrapping = true ,
178+ wrapping = Wrapping . Wrap ,
178179 style = TextStyle .Normal ,
179180 decoration = TextDecoration .None
180181 )
@@ -186,7 +187,7 @@ object TextThemes:
186187 textColor = RGBA .fromHex(" #1a1a1a" ),
187188 alignment = TextAlignment .Left ,
188189 lineHeight = LineHeight .Normal ,
189- wrapping = true ,
190+ wrapping = Wrapping . Wrap ,
190191 style = TextStyle .Normal ,
191192 decoration = TextDecoration .None
192193 )
@@ -198,7 +199,7 @@ object TextThemes:
198199 textColor = RGBA .fromHex(" #666666" ),
199200 alignment = TextAlignment .Left ,
200201 lineHeight = LineHeight .Normal ,
201- wrapping = true ,
202+ wrapping = Wrapping . Wrap ,
202203 style = TextStyle .Normal ,
203204 decoration = TextDecoration .None
204205 )
@@ -210,7 +211,7 @@ object TextThemes:
210211 textColor = RGBA .fromHex(" #d73a49" ),
211212 alignment = TextAlignment .Left ,
212213 lineHeight = LineHeight .Normal ,
213- wrapping = false ,
214+ wrapping = Wrapping . NoWrap ,
214215 style = TextStyle .Normal ,
215216 decoration = TextDecoration .None
216217 )
@@ -222,7 +223,7 @@ object TextThemes:
222223 textColor = RGBA .fromHex(" #333333" ),
223224 alignment = TextAlignment .Left ,
224225 lineHeight = LineHeight .Normal ,
225- wrapping = false ,
226+ wrapping = Wrapping . NoWrap ,
226227 style = TextStyle .Normal ,
227228 decoration = TextDecoration .None
228229 )
0 commit comments