ajout des utilitaires font-sizes

This commit is contained in:
Raphaël Goetter 2021-03-11 08:20:15 +01:00
parent 4993abacca
commit ca247b2a5d
5 changed files with 373 additions and 1 deletions

View file

@ -0,0 +1,19 @@
/* Font sizes utility classes */
// loop for each font-size
@each $key, $value in $font-size {
.text-#{$key} {
font-size: $value;
}
}
// loop for each breakpoint
@each $key, $value in $font-size {
@each $bp, $bpv in $breakpoints {
@media (min-width: #{$bpv}) {
.#{$bp}\:text-#{$key} {
font-size: $value;
}
}
}
}