From: Adam Dullage Date: Tue, 2 Aug 2022 11:52:19 +0000 (+0100) Subject: Implement 'Inter' font. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=6c100229065a7bcf074d80993a6336961971651d;p=flatnotes.git Implement 'Inter' font. --- diff --git a/flatnotes/src/main.scss b/flatnotes/src/main.scss index f51ee13..6bcae3f 100644 --- a/flatnotes/src/main.scss +++ b/flatnotes/src/main.scss @@ -11,6 +11,9 @@ @import "prismjs/themes/prism.css"; @import "@toast-ui/editor-plugin-code-syntax-highlight/dist/toastui-editor-plugin-code-syntax-highlight.css"; +// Google Fonts +@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100&display=swap"); + // Variables $off-white: #f8f9fd70; @@ -22,7 +25,7 @@ $off-white: #f8f9fd70; // Elements & Classes body { background-color: $off-white; - font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; + font-family: "Inter", sans-serif; } .clickable-link { @@ -60,7 +63,7 @@ body { // Toast UI Overrides .toastui-editor-contents { - font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; + font-family: "Inter", sans-serif; h1, h2 { border-bottom: none; @@ -76,6 +79,10 @@ body { border: none; } +.ProseMirror { + font-family: "Inter", sans-serif; +} + .toastui-editor-defaultUI .ProseMirror { @include note-content; }