font mixins

This commit is contained in:
VividTruthKeeper 2023-01-29 20:48:57 +05:00
parent be4f90d4f2
commit b3a8c6e79f
4 changed files with 11 additions and 2 deletions

View File

@ -6,7 +6,7 @@
padding: 0;
box-sizing: border-box;
scroll-behavior: smooth;
font-family: "Raleway", sans-serif;
@include roboto;
}
html {
@ -52,7 +52,7 @@ h3,
h4,
h5,
h6 {
font-family: "Roboto", sans-serif;
@include raleway;
}
.container {

7
src/styles/_mixins.scss Normal file
View File

@ -0,0 +1,7 @@
@mixin raleway {
font-family: "Raleway", sans-serif;
}
@mixin roboto {
font-family: "Roboto", sans-serif;
}

View File

@ -84,5 +84,6 @@
padding: 1rem;
font-size: 1.6rem;
color: inherit;
@include raleway;
}
}

View File

@ -1,4 +1,5 @@
@import "./variables";
@import "./mixins";
@import "./general";
@import "./nav";
@import "./videos";