Created
July 14, 2022 23:14
-
-
Save SvenBudak/46560004a0827d0f554e307db22c9b9d to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://material.angular.io/cdk/layout/overview#predefined-breakpoints | |
$res-xs: 0 !default; // Smartphone | |
$res-sm: 600px !default; // Tablet | |
$res-md: 960px !default; // Large Tablet | |
$res-lg: 1280px !default; // Large Tablet and Notebooks | |
$res-xl: 1920px !default; // Desktop + | |
$breakpoints: ( | |
'xs': $res-xs, | |
'sm': $res-sm, | |
'md': $res-md, | |
'lg': $res-lg, | |
'xl': $res-xl, | |
) !default; | |
$_browser-context: 16px; // Default | |
@function px-to-em($pixels, $context: $_browser-context) { | |
@return $pixels / $context * 1em; | |
} | |
@function rem($pixels, $context: $_browser-context) { | |
@return $pixels / $context * 1rem; | |
} | |
@mixin media-min($var) { | |
@media only screen and (min-width: $var) { | |
@content; | |
} | |
} | |
@mixin media-max($var) { | |
@media only screen and (max-width: $var - 1px) { | |
@content; | |
} | |
} | |
@mixin media-from-to($var1, $var2) { | |
@media only screen and (min-width: $var1) and (max-width: $var2 - 1px) { | |
@content; | |
} | |
} | |
// Base value | |
$rfs-base-value: 1.25rem !default; | |
$rfs-unit: rem !default; | |
@if $rfs-unit != rem and $rfs-unit != px { | |
@error "`#{$rfs-unit}` is not a valid unit for $rfs-unit. Use `px` or `rem`."; | |
} | |
// Breakpoint at where values start decreasing if screen width is smaller | |
$rfs-breakpoint: 1200px !default; | |
$rfs-breakpoint-unit: px !default; | |
@if $rfs-breakpoint-unit != px and $rfs-breakpoint-unit != em and $rfs-breakpoint-unit != rem { | |
@error "`#{$rfs-breakpoint-unit}` is not a valid unit for $rfs-breakpoint-unit. Use `px`, `em` or `rem`."; | |
} | |
// Resize values based on screen height and width | |
$rfs-two-dimensional: false !default; | |
// Factor of decrease | |
$rfs-factor: 10 !default; | |
@if type-of($rfs-factor) != number or $rfs-factor <= 1 { | |
@error "`#{$rfs-factor}` is not a valid $rfs-factor, it must be greater than 1."; | |
} | |
// Mode. Possibilities: "min-media-query", "max-media-query" | |
$rfs-mode: min-media-query !default; | |
// Generate enable or disable classes. Possibilities: false, "enable" or "disable" | |
$rfs-class: false !default; | |
// 1 rem = $rfs-rem-value px | |
$rfs-rem-value: 16 !default; | |
// Safari iframe resize bug: https://github.com/twbs/rfs/issues/14 | |
$rfs-safari-iframe-resize-bug-fix: false !default; | |
// Disable RFS by setting $enable-rfs to false | |
$enable-rfs: true !default; | |
// Cache $rfs-base-value unit | |
$rfs-base-value-unit: unit($rfs-base-value); | |
// Remove px-unit from $rfs-base-value for calculations | |
@if $rfs-base-value-unit == px { | |
$rfs-base-value: $rfs-base-value / ($rfs-base-value * 0 + 1); | |
} | |
@else if $rfs-base-value-unit == rem { | |
$rfs-base-value: $rfs-base-value / ($rfs-base-value * 0 + 1 / $rfs-rem-value); | |
} | |
// Cache $rfs-breakpoint unit to prevent multiple calls | |
$rfs-breakpoint-unit-cache: unit($rfs-breakpoint); | |
// Remove unit from $rfs-breakpoint for calculations | |
@if $rfs-breakpoint-unit-cache == px { | |
$rfs-breakpoint: $rfs-breakpoint / ($rfs-breakpoint * 0 + 1); | |
} | |
@else if $rfs-breakpoint-unit-cache == rem or $rfs-breakpoint-unit-cache == "em" { | |
$rfs-breakpoint: $rfs-breakpoint / ($rfs-breakpoint * 0 + 1 / $rfs-rem-value); | |
} | |
// Calculate the media query value | |
$rfs-mq-value: if($rfs-breakpoint-unit == px, #{$rfs-breakpoint}px, #{$rfs-breakpoint / $rfs-rem-value}#{$rfs-breakpoint-unit}); | |
$rfs-mq-property-width: if($rfs-mode == max-media-query, max-width, min-width); | |
$rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height); | |
// Internal mixin used to determine which media query needs to be used | |
@mixin _rfs-media-query { | |
@if $rfs-two-dimensional { | |
@if $rfs-mode == max-media-query { | |
@media (#{$rfs-mq-property-width}: #{$rfs-mq-value}), (#{$rfs-mq-property-height}: #{$rfs-mq-value}) { | |
@content; | |
} | |
} | |
@else { | |
@media (#{$rfs-mq-property-width}: #{$rfs-mq-value}) and (#{$rfs-mq-property-height}: #{$rfs-mq-value}) { | |
@content; | |
} | |
} | |
} | |
@else { | |
@media (#{$rfs-mq-property-width}: #{$rfs-mq-value}) { | |
@content; | |
} | |
} | |
} | |
// Internal mixin that adds disable classes to the selector if needed. | |
@mixin _rfs-rule { | |
@if $rfs-class == disable and $rfs-mode == max-media-query { | |
// Adding an extra class increases specificity, which prevents the media query to override the property | |
&, | |
.disable-rfs &, | |
&.disable-rfs { | |
@content; | |
} | |
} | |
@else if $rfs-class == enable and $rfs-mode == min-media-query { | |
.enable-rfs &, | |
&.enable-rfs { | |
@content; | |
} | |
} | |
@else { | |
@content; | |
} | |
} | |
// Internal mixin that adds enable classes to the selector if needed. | |
@mixin _rfs-media-query-rule { | |
@if $rfs-class == enable { | |
@if $rfs-mode == min-media-query { | |
@content; | |
} | |
@include _rfs-media-query { | |
.enable-rfs &, | |
&.enable-rfs { | |
@content; | |
} | |
} | |
} | |
@else { | |
@if $rfs-class == disable and $rfs-mode == min-media-query { | |
.disable-rfs &, | |
&.disable-rfs { | |
@content; | |
} | |
} | |
@include _rfs-media-query { | |
@content; | |
} | |
} | |
} | |
// Helper function to get the formatted non-responsive value | |
@function rfs-value($values) { | |
// Convert to list | |
$values: if(type-of($values) != list, ($values,), $values); | |
$val: ''; | |
// Loop over each value and calculate value | |
@each $value in $values { | |
@if $value == 0 { | |
$val: $val + ' 0'; | |
} | |
@else { | |
// Cache $value unit | |
$unit: if(type-of($value) == "number", unit($value), false); | |
@if $unit == px { | |
// Convert to rem if needed | |
$val: $val + ' ' + if($rfs-unit == rem, #{$value / ($value * 0 + $rfs-rem-value)}rem, $value); | |
} | |
@else if $unit == rem { | |
// Convert to px if needed | |
$val: $val + ' ' + if($rfs-unit == px, #{$value / ($value * 0 + 1) * $rfs-rem-value}px, $value); | |
} | |
@else { | |
// If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value | |
$val: $val + ' ' + $value; | |
} | |
} | |
} | |
// Remove first space | |
@return unquote(str-slice($val, 2)); | |
} | |
// Helper function to get the responsive value calculated by RFS | |
@function rfs-fluid-value($values) { | |
// Convert to list | |
$values: if(type-of($values) != list, ($values,), $values); | |
$val: ''; | |
// Loop over each value and calculate value | |
@each $value in $values { | |
@if $value == 0 { | |
$val: $val + ' 0'; | |
} | |
@else { | |
// Cache $value unit | |
$unit: if(type-of($value) == "number", unit($value), false); | |
// If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value | |
@if not $unit or $unit != px and $unit != rem { | |
$val: $val + ' ' + $value; | |
} | |
@else { | |
// Remove unit from $value for calculations | |
$value: $value / ($value * 0 + if($unit == px, 1, 1 / $rfs-rem-value)); | |
// Only add the media query if the value is greater than the minimum value | |
@if abs($value) <= $rfs-base-value or not $enable-rfs { | |
$val: $val + ' ' + if($rfs-unit == rem, #{$value / $rfs-rem-value}rem, #{$value}px); | |
} | |
@else { | |
// Calculate the minimum value | |
$value-min: $rfs-base-value + (abs($value) - $rfs-base-value) / $rfs-factor; | |
// Calculate difference between $value and the minimum value | |
$value-diff: abs($value) - $value-min; | |
// Base value formatting | |
$min-width: if($rfs-unit == rem, #{$value-min / $rfs-rem-value}rem, #{$value-min}px); | |
// Use negative value if needed | |
$min-width: if($value < 0, -$min-width, $min-width); | |
// Use `vmin` if two-dimensional is enabled | |
$variable-unit: if($rfs-two-dimensional, vmin, vw); | |
// Calculate the variable width between 0 and $rfs-breakpoint | |
$variable-width: #{$value-diff * 100 / $rfs-breakpoint}#{$variable-unit}; | |
// Return the calculated value | |
$val: $val + ' calc(' + $min-width + if($value < 0, ' - ', ' + ') + $variable-width + ')'; | |
} | |
} | |
} | |
} | |
// Remove first space | |
@return unquote(str-slice($val, 2)); | |
} | |
// RFS mixin | |
@mixin rfs($values, $property: font-size) { | |
@if $values != null { | |
$val: rfs-value($values); | |
$fluidVal: rfs-fluid-value($values); | |
// Do not print the media query if responsive & non-responsive values are the same | |
@if $val == $fluidVal { | |
#{$property}: $val; | |
} | |
@else { | |
@include _rfs-rule { | |
#{$property}: if($rfs-mode == max-media-query, $val, $fluidVal); | |
// Include safari iframe resize fix if needed | |
min-width: if($rfs-safari-iframe-resize-bug-fix, (0 * 1vw), null); | |
} | |
@include _rfs-media-query-rule { | |
#{$property}: if($rfs-mode == max-media-query, $fluidVal, $val); | |
} | |
} | |
} | |
} | |
// Shorthand helper mixins | |
@mixin font-size($value) { | |
@include rfs($value); | |
} | |
@mixin padding($value) { | |
@include rfs($value, padding); | |
} | |
@mixin padding-top($value) { | |
@include rfs($value, padding-top); | |
} | |
@mixin padding-right($value) { | |
@include rfs($value, padding-right); | |
} | |
@mixin padding-bottom($value) { | |
@include rfs($value, padding-bottom); | |
} | |
@mixin padding-left($value) { | |
@include rfs($value, padding-left); | |
} | |
@mixin margin($value) { | |
@include rfs($value, margin); | |
} | |
@mixin margin-top($value) { | |
@include rfs($value, margin-top); | |
} | |
@mixin margin-right($value) { | |
@include rfs($value, margin-right); | |
} | |
@mixin margin-bottom($value) { | |
@include rfs($value, margin-bottom); | |
} | |
@mixin margin-left($value) { | |
@include rfs($value, margin-left); | |
} | |
// Define Typography | |
$typography: ( | |
'headline': ( | |
'enabled': true, | |
'base-classes': true, | |
'base-min-classes': true, | |
'base-max-classes': true, | |
'base-from-to-classes': true, | |
'variants': ( | |
'h1': ('font-size': 48px, 'font-weight': 800, 'line-height': 56px), | |
'h2': ('font-size': 40px, 'font-weight': 800, 'line-height': 48px), | |
// 'h3': ('font-size': 32px, 'font-weight': 800, 'line-height': 40px), | |
// 'h4': ('font-size': 28px, 'font-weight': 800, 'line-height': 32px), | |
// 'h5': ('font-size': 22px, 'font-weight': 800, 'line-height': 24px), | |
// 'h6': ('font-size': 18px, 'font-weight': 800, 'line-height': 22px), | |
) | |
), | |
'paragraph': ( | |
'enabled': true, | |
'base-classes': true, | |
'base-min-classes': true, | |
'base-max-classes': true, | |
'base-from-to-classes': true, | |
'variants': ( | |
'small': ('font-size': 14px, 'font-weight': 500, 'line-height': 14px), | |
// 'default': ('font-size': 18px, 'font-weight': 500, 'line-height': 24px), | |
'large': ('font-size': 20px, 'font-weight': 500, 'line-height': 28px), | |
) | |
) | |
); | |
:root { | |
@each $type, $typeObject in $typography { | |
@if map-get($typeObject, 'enabled') { | |
@if map-get($typeObject, 'base-classes') or map-get($typeObject, 'base-min-classes') or map-get($typeObject, 'base-max-classes') or map-get($typeObject, 'base-from-to-classes') { | |
@each $variant, $variantObject in map-get($typeObject, 'variants') { | |
--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-font-size-rem: #{rem(map-get($variantObject, 'font-size'))}; | |
--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-font-size-rfs: #{rfs-fluid-value(rem(map-get($variantObject, 'font-size')))}; | |
--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-font-weight: #{map-get($variantObject, 'font-weight')}; | |
--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-line-height: #{em(map-get($variantObject, 'line-height'), map-get($variantObject, 'font-size'))}; | |
} | |
} | |
} | |
} | |
} | |
@each $type, $typeObject in $typography { | |
// Returns headline / paragraph | |
@if map-get($typeObject, 'enabled') { | |
// Headline Styles - Base | |
@if map-get($typeObject, 'base-classes') { | |
@each $variant, $variantObject in map-get($typeObject, 'variants') { | |
@if $type == 'headline' { | |
#{$variant} { | |
font-size: var(--#{$variant}-font-size-rfs); | |
font-weight: var(--#{$variant}-font-weight); | |
line-height: var(--#{$variant}-line-height); | |
} | |
} | |
.typo-#{$variant} { | |
font-size: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-font-size-rfs) !important; | |
font-weight: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-font-weight) !important; | |
line-height: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-line-height) !important; | |
} | |
} | |
// Stop Grow | |
@include media-min(#{$rfs-breakpoint}px) { | |
@each $variant, $variantObject in map-get($typeObject, 'variants') { | |
@if $type == 'headline' { | |
#{$variant} { | |
font-size: var(--#{$variant}-font-size-rem); | |
} | |
} | |
.typo-#{$variant} { | |
font-size: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-font-size-rem) !important; | |
} | |
} | |
} | |
} | |
// Headline Styles with Breakpoints - Min | |
@if map-get($typeObject, 'base-min-classes') { | |
@each $breakpoint, $res in $breakpoints { | |
@include media-min($res) { | |
@each $variant, $variantObject in map-get($typeObject, 'variants') { | |
.typo-#{$variant}-min-#{$breakpoint} { | |
font-size: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-font-size-rfs) !important; | |
font-weight: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-font-weight) !important; | |
line-height: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-line-height) !important; | |
} | |
} | |
} | |
// Stop Grow | |
@include media-min(#{$rfs-breakpoint}px) { | |
@each $variant, $variantObject in map-get($typeObject, 'variants') { | |
.typo-#{$variant}-min-#{$breakpoint} { | |
font-size: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-font-size-rem) !important; | |
} | |
} | |
} | |
} | |
} | |
// Headline Styles with Breakpoints - Max | |
@if map-get($typeObject, 'base-max-classes') { | |
@each $breakpoint, $res in $breakpoints { | |
@include media-max($res) { | |
@each $variant, $variantObject in map-get($typeObject, 'variants') { | |
.typo-#{$variant}-max-#{$breakpoint} { | |
font-size: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-font-size-rfs) !important; | |
font-weight: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-font-weight) !important; | |
line-height: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-line-height) !important; | |
} | |
} | |
} | |
// Stop Grow | |
@include media-min(#{$rfs-breakpoint}px) { | |
@each $variant, $variantObject in map-get($typeObject, 'variants') { | |
.typo-#{$variant}-max-#{$breakpoint} { | |
font-size: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-font-size-rem) !important; | |
} | |
} | |
} | |
} | |
} | |
// Headline Styles with Breakpoints - FromTo | |
@if map-get($typeObject, 'base-from-to-classes') { | |
@each $breakpointFrom, $resFrom in $breakpoints { | |
$typo-breakpoint-keys: map-keys($breakpoints); | |
$iFrom: index($typo-breakpoint-keys, $breakpointFrom); | |
@each $breakpointTo, $resTo in $breakpoints { | |
$iTo: index($typo-breakpoint-keys, $breakpointTo); | |
@if $iTo > $iFrom { | |
@include media-from-to($resFrom, $resTo) { | |
@each $variant, $variantObject in map-get($typeObject, 'variants') { | |
.typo-#{$variant}-from-#{$breakpointFrom}-to-#{$breakpointTo} { | |
font-size: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-font-size-rfs) !important; | |
font-weight: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-font-weight) !important; | |
line-height: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-line-height) !important; | |
} | |
} | |
} | |
// Stop Grow | |
@include media-min(#{$rfs-breakpoint}px) { | |
@each $variant, $variantObject in map-get($typeObject, 'variants') { | |
.typo-#{$variant}-from-#{$breakpointFrom}-to-#{$breakpointTo} { | |
font-size: var(--#{if($type == 'paragraph', 'paragraph-', '')}#{$variant}-font-size-rem) !important; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--h1-font-size-rem: 3rem; | |
--h1-font-size-rfs: calc(1.425rem + 2.1vw); | |
--h1-font-weight: 800; | |
--h1-line-height: em(56px, 48px); | |
--h2-font-size-rem: 2.5rem; | |
--h2-font-size-rfs: calc(1.375rem + 1.5vw); | |
--h2-font-weight: 800; | |
--h2-line-height: em(48px, 40px); | |
--paragraph-small-font-size-rem: 0.875rem; | |
--paragraph-small-font-size-rfs: 0.875rem; | |
--paragraph-small-font-weight: 500; | |
--paragraph-small-line-height: em(14px, 14px); | |
--paragraph-large-font-size-rem: 1.25rem; | |
--paragraph-large-font-size-rfs: 1.25rem; | |
--paragraph-large-font-weight: 500; | |
--paragraph-large-line-height: em(28px, 20px); | |
} | |
h1 { | |
font-size: var(--h1-font-size-rfs); | |
font-weight: var(--h1-font-weight); | |
line-height: var(--h1-line-height); | |
} | |
.typo-h1 { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
h2 { | |
font-size: var(--h2-font-size-rfs); | |
font-weight: var(--h2-font-weight); | |
line-height: var(--h2-line-height); | |
} | |
.typo-h2 { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
@media only screen and (min-width: 1200px) { | |
h1 { | |
font-size: var(--h1-font-size-rem); | |
} | |
.typo-h1 { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
h2 { | |
font-size: var(--h2-font-size-rem); | |
} | |
.typo-h2 { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 0) { | |
.typo-h1-min-xs { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-min-xs { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-min-xs { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-min-xs { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 600px) { | |
.typo-h1-min-sm { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-min-sm { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-min-sm { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-min-sm { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 960px) { | |
.typo-h1-min-md { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-min-md { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-min-md { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-min-md { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 1280px) { | |
.typo-h1-min-lg { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-min-lg { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-min-lg { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-min-lg { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 1920px) { | |
.typo-h1-min-xl { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-min-xl { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-min-xl { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-min-xl { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (max-width: -1px) { | |
.typo-h1-max-xs { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-max-xs { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-max-xs { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-max-xs { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (max-width: 599px) { | |
.typo-h1-max-sm { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-max-sm { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-max-sm { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-max-sm { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (max-width: 959px) { | |
.typo-h1-max-md { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-max-md { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-max-md { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-max-md { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (max-width: 1279px) { | |
.typo-h1-max-lg { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-max-lg { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-max-lg { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-max-lg { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (max-width: 1919px) { | |
.typo-h1-max-xl { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-max-xl { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-max-xl { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-max-xl { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 0) and (max-width: 599px) { | |
.typo-h1-from-xs-to-sm { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-from-xs-to-sm { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-from-xs-to-sm { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-from-xs-to-sm { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 0) and (max-width: 959px) { | |
.typo-h1-from-xs-to-md { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-from-xs-to-md { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-from-xs-to-md { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-from-xs-to-md { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 0) and (max-width: 1279px) { | |
.typo-h1-from-xs-to-lg { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-from-xs-to-lg { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-from-xs-to-lg { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-from-xs-to-lg { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 0) and (max-width: 1919px) { | |
.typo-h1-from-xs-to-xl { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-from-xs-to-xl { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-from-xs-to-xl { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-from-xs-to-xl { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 600px) and (max-width: 959px) { | |
.typo-h1-from-sm-to-md { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-from-sm-to-md { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-from-sm-to-md { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-from-sm-to-md { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 600px) and (max-width: 1279px) { | |
.typo-h1-from-sm-to-lg { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-from-sm-to-lg { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-from-sm-to-lg { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-from-sm-to-lg { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 600px) and (max-width: 1919px) { | |
.typo-h1-from-sm-to-xl { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-from-sm-to-xl { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-from-sm-to-xl { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-from-sm-to-xl { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 960px) and (max-width: 1279px) { | |
.typo-h1-from-md-to-lg { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-from-md-to-lg { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-from-md-to-lg { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-from-md-to-lg { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 960px) and (max-width: 1919px) { | |
.typo-h1-from-md-to-xl { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-from-md-to-xl { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-from-md-to-xl { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-from-md-to-xl { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 1280px) and (max-width: 1919px) { | |
.typo-h1-from-lg-to-xl { | |
font-size: var(--h1-font-size-rfs) !important; | |
font-weight: var(--h1-font-weight) !important; | |
line-height: var(--h1-line-height) !important; | |
} | |
.typo-h2-from-lg-to-xl { | |
font-size: var(--h2-font-size-rfs) !important; | |
font-weight: var(--h2-font-weight) !important; | |
line-height: var(--h2-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-h1-from-lg-to-xl { | |
font-size: var(--h1-font-size-rem) !important; | |
} | |
.typo-h2-from-lg-to-xl { | |
font-size: var(--h2-font-size-rem) !important; | |
} | |
} | |
.typo-small { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 0) { | |
.typo-small-min-xs { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-min-xs { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-min-xs { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-min-xs { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 600px) { | |
.typo-small-min-sm { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-min-sm { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-min-sm { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-min-sm { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 960px) { | |
.typo-small-min-md { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-min-md { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-min-md { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-min-md { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 1280px) { | |
.typo-small-min-lg { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-min-lg { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-min-lg { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-min-lg { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 1920px) { | |
.typo-small-min-xl { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-min-xl { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-min-xl { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-min-xl { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (max-width: -1px) { | |
.typo-small-max-xs { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-max-xs { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-max-xs { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-max-xs { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (max-width: 599px) { | |
.typo-small-max-sm { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-max-sm { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-max-sm { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-max-sm { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (max-width: 959px) { | |
.typo-small-max-md { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-max-md { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-max-md { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-max-md { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (max-width: 1279px) { | |
.typo-small-max-lg { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-max-lg { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-max-lg { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-max-lg { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (max-width: 1919px) { | |
.typo-small-max-xl { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-max-xl { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-max-xl { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-max-xl { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 0) and (max-width: 599px) { | |
.typo-small-from-xs-to-sm { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-from-xs-to-sm { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-from-xs-to-sm { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-from-xs-to-sm { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 0) and (max-width: 959px) { | |
.typo-small-from-xs-to-md { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-from-xs-to-md { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-from-xs-to-md { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-from-xs-to-md { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 0) and (max-width: 1279px) { | |
.typo-small-from-xs-to-lg { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-from-xs-to-lg { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-from-xs-to-lg { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-from-xs-to-lg { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 0) and (max-width: 1919px) { | |
.typo-small-from-xs-to-xl { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-from-xs-to-xl { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-from-xs-to-xl { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-from-xs-to-xl { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 600px) and (max-width: 959px) { | |
.typo-small-from-sm-to-md { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-from-sm-to-md { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-from-sm-to-md { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-from-sm-to-md { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 600px) and (max-width: 1279px) { | |
.typo-small-from-sm-to-lg { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-from-sm-to-lg { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-from-sm-to-lg { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-from-sm-to-lg { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 600px) and (max-width: 1919px) { | |
.typo-small-from-sm-to-xl { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-from-sm-to-xl { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-from-sm-to-xl { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-from-sm-to-xl { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 960px) and (max-width: 1279px) { | |
.typo-small-from-md-to-lg { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-from-md-to-lg { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-from-md-to-lg { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-from-md-to-lg { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 960px) and (max-width: 1919px) { | |
.typo-small-from-md-to-xl { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-from-md-to-xl { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-from-md-to-xl { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-from-md-to-xl { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} | |
@media only screen and (min-width: 1280px) and (max-width: 1919px) { | |
.typo-small-from-lg-to-xl { | |
font-size: var(--paragraph-small-font-size-rfs) !important; | |
font-weight: var(--paragraph-small-font-weight) !important; | |
line-height: var(--paragraph-small-line-height) !important; | |
} | |
.typo-large-from-lg-to-xl { | |
font-size: var(--paragraph-large-font-size-rfs) !important; | |
font-weight: var(--paragraph-large-font-weight) !important; | |
line-height: var(--paragraph-large-line-height) !important; | |
} | |
} | |
@media only screen and (min-width: 1200px) { | |
.typo-small-from-lg-to-xl { | |
font-size: var(--paragraph-small-font-size-rem) !important; | |
} | |
.typo-large-from-lg-to-xl { | |
font-size: var(--paragraph-large-font-size-rem) !important; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"sass": { | |
"compiler": "dart-sass/1.32.12", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment