feat: Add variable Source Code Pro font

This commit is contained in:
David Lapshin 2023-06-23 18:07:23 +03:00
parent 6a7c537ea4
commit a40b30f0fe
Signed by: daudix
GPG key ID: 93ECF15D3053D81C
2 changed files with 10 additions and 1 deletions

Binary file not shown.

View file

@ -63,13 +63,21 @@
/* Typography */
@font-face {
font-family: 'Inter Var';
font-family: 'Source Code Var';
font-weight: 100 900;
font-display: swap;
font-style: oblique 0deg 10deg;
src: url("fonts/Inter.var.woff2?v=3.19") format("woff2");
}
@font-face {
font-family: 'Inter Var';
font-weight: 100 900;
font-display: swap;
font-style: oblique 0deg 10deg;
src: url("fonts/SourceCodePro.var.woff2?v=2.042") format("woff2");
}
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
@ -443,6 +451,7 @@ tbody td {
/* Code Blocks */
.highlighter-rouge {
font-family: "Source Code Var", sans-serif;
padding: 2px 1rem;
border-radius: 5px;
background-color: var(--light1);