bigbuffet-rw/app/styles/fonts.scss
marcin mikołajczak 75076abeac more styles cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-06 20:20:14 +01:00

13 lines
387 B
SCSS

@use 'sass:math';
// TYPEOGRAPHY MIXINS
// Use these mixins to define font-size and line-height
// html and body declaration allows developer to pass px value as argument
// Rendered css will default to "rem" and fall back to "px" for unsupported browsers
@mixin font-size($size) {
$rem: math.div($size, 10);
$px: $size;
font-size: #{$px + 'px'};
font-size: #{$rem + 'rem'};
}