Load in Major Mono and Readex fonts
This commit is contained in:
parent
e7f8267b35
commit
19734f1f7e
|
@ -26,7 +26,10 @@ function getCss(theme: string, fontSize: string) {
|
||||||
foreground = "white";
|
foreground = "white";
|
||||||
radial = "dimgray";
|
radial = "dimgray";
|
||||||
}
|
}
|
||||||
|
// To use Readex Pro: `font-family: 'Readex Pro', sans-serif;`
|
||||||
return `
|
return `
|
||||||
|
@import url('https://fonts.googleapis.com/css2?family=Major+Mono+Display&family=Readex+Pro:wght@400;700&display=swap');
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter';
|
font-family: 'Inter';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
@ -100,7 +103,7 @@ function getCss(theme: string, fontSize: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
.heading {
|
.heading {
|
||||||
font-family: 'Inter', sans-serif;
|
font-family: 'Major Mono Display', monospace;
|
||||||
font-size: ${sanitizeHtml(fontSize)};
|
font-size: ${sanitizeHtml(fontSize)};
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
color: ${foreground};
|
color: ${foreground};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user