1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-26 13:20:26 +02:00
metamask-extension/ui/app/css/itcss/settings/typography.scss

85 lines
2.1 KiB
SCSS
Raw Normal View History

$fa-font-path: 'fonts/fontawesome';
@import '../../../../../node_modules/@fortawesome/fontawesome-free/scss/fontawesome';
@import '../../../../../node_modules/@fortawesome/fontawesome-free/scss/solid';
@import '../../../../../node_modules/@fortawesome/fontawesome-free/scss/regular';
2017-08-14 10:31:27 +02:00
2018-02-28 22:03:46 +01:00
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 100;
2018-03-01 21:01:38 +01:00
src: local('Roboto Thin'), local('Roboto-Thin'), url('fonts/Roboto/Roboto-Thin.ttf') format('truetype');
2018-02-28 22:03:46 +01:00
}
2020-07-10 17:42:59 +02:00
2018-02-28 22:03:46 +01:00
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 300;
2018-03-01 21:01:38 +01:00
src: local('Roboto Light'), local('Roboto-Light'), url('fonts/Roboto/Roboto-Light.ttf') format('truetype');
2018-02-28 22:03:46 +01:00
}
2020-07-10 17:42:59 +02:00
2018-02-28 22:03:46 +01:00
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
2018-03-01 21:01:38 +01:00
src: local('Roboto'), local('Roboto-Regular'), url('fonts/Roboto/Roboto-Regular.ttf') format('truetype');
2018-02-28 22:03:46 +01:00
}
2020-07-10 17:42:59 +02:00
2018-02-28 22:03:46 +01:00
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
2018-03-01 21:01:38 +01:00
src: local('Roboto Medium'), local('Roboto-Medium'), url('fonts/Roboto/Roboto-Medium.ttf') format('truetype');
2018-02-28 22:03:46 +01:00
}
2020-07-10 17:42:59 +02:00
2018-02-28 22:03:46 +01:00
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
2018-03-01 21:01:38 +01:00
src: local('Roboto Bold'), local('Roboto-Bold'), url('fonts/Roboto/Roboto-Bold.ttf') format('truetype');
2018-02-28 22:03:46 +01:00
}
2020-07-10 17:42:59 +02:00
2018-02-28 22:03:46 +01:00
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 900;
2018-03-01 21:01:38 +01:00
src: local('Roboto Black'), local('Roboto-Black'), url('fonts/Roboto/Roboto-Black.ttf') format('truetype');
2017-08-29 18:41:11 +02:00
}
@mixin fontScale($weight: 400, $size: 1rem) {
font-weight: $weight;
font-size: $size;
}
@mixin h1($weight: 400, $size: 2.5rem) {
@include fontScale($weight, $size);
}
@mixin h2($weight: 400, $size: 2rem) {
@include fontScale($weight, $size);
}
@mixin h3($weight: 400, $size: 1.5rem) {
@include fontScale($weight, $size);
}
@mixin h4($weight: 400, $size: 1.125rem) {
@include fontScale($weight, $size);
}
@mixin h5($weight: 400, $size: 1rem) {
@include fontScale($weight, $size);
}
@mixin h6($weight: 400, $size: 0.875rem) {
@include fontScale($weight, $size);
}
@mixin h7($weight: 400, $size: 0.75rem) {
@include fontScale($weight, $size);
}
@mixin paragraph($weight: 400, $size: 1rem) {
@include fontScale($weight, $size);
}