@@ -4,9 +4,6 @@ $textBitAltColor: $blueSecondary;
44$textBitWarningColor : $peachPrimary ;
55$textBitLightColor : $white ;
66$textBitDarkColor : $black ;
7- $textBitLargeFontSize : fontSize (large );
8- $textBitLargerTabletFontSize : fontSize (xlarge );
9- $textBitLargerDesktopFontSize : fontSize (xxlarge );
107
118$includeHtml : false !default ;
129
@@ -22,7 +19,7 @@ $includeHtml: false !default;
2219
2320 @include mintBreakpoint (medium- up) {
2421 & :not (.mint-text-bit--not-responsive ) {
25- font-size : $textBitLargeFontSize ;
22+ font-size : fontSize ( large ) ;
2623 }
2724 }
2825
@@ -56,24 +53,20 @@ $includeHtml: false !default;
5653 }
5754
5855 & --large {
59- font-size : $textBitLargeFontSize ;
56+ font-size : fontSize ( large ) ;
6057 }
6158
6259 & --xlarge {
63- @include typeVariant (xxlarge, 3 );
64- }
65-
66- & --to-larger :not (.mint-text-bit--not-responsive ) {
67- @include mintBreakpoint (medium- up) {
68- font-size : $textBitLargerTabletFontSize ;
69- line-height : rhythm (3 );
70- }
60+ @include typeVariant (large , 2 );
61+ width : 100% ;
7162
7263 @include mintBreakpoint (large- only) {
73- font-size : $textBitLargerDesktopFontSize ;
74- line-height : rhythm (3 );
64+ @include typeVariant (xxlarge, 3 );
7565 }
7666 }
77- }
7867
68+ & --xxlarge {
69+ @include typeVariant (xxlarge, 3 );
70+ }
71+ }
7972}
0 commit comments