File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -338,24 +338,28 @@ export class Style extends StandardAnimation {
338338 return this . textDecoration ( 'line-through' ) ;
339339 }
340340
341+ lineHeight ( height ) {
342+ return this . style ( 'line-height' , height ) ;
343+ }
344+
341345 title ( ) {
342- return this . textSize ( '2em' ) ;
346+ return this . fontSize ( '2em' ) ;
343347 }
344348
345349 heading ( ) {
346- return this . textSize ( '1.5em' ) ;
350+ return this . fontSize ( '1.5em' ) ;
347351 }
348352
349353 subheading ( ) {
350- return this . textSize ( '1.17em' ) ;
354+ return this . fontSize ( '1.17em' ) ;
351355 }
352356
353357 header ( ) {
354- return this . textSize ( '1em' ) ;
358+ return this . fontSize ( '1em' ) ;
355359 }
356360
357361 subheader ( ) {
358- return this . textSize ( '.83em' ) ;
362+ return this . fontSize ( '.83em' ) ;
359363 }
360364
361365 truncate ( lines = 1 ) {
You can’t perform that action at this time.
0 commit comments