From 3ca28f9a413556ddbc9ed8602b5be6747d8932d5 Mon Sep 17 00:00:00 2001 From: Ole Eskild Steensen Date: Mon, 17 Oct 2022 15:41:41 +0200 Subject: [PATCH] Import font used as default in Obsidian --- src/site/styles/obsidian-base.scss | 103 +---------------------------- 1 file changed, 3 insertions(+), 100 deletions(-) diff --git a/src/site/styles/obsidian-base.scss b/src/site/styles/obsidian-base.scss index b78de5b..7572472 100644 --- a/src/site/styles/obsidian-base.scss +++ b/src/site/styles/obsidian-base.scss @@ -3,107 +3,10 @@ * MODIFY THE custom-style.scss FILE INSTEAD. ***/ -@font-face { - font-family: 'Avenir Next'; - src: url(public/fonts/94f2f163d4b698242fef.otf); - font-weight: normal; - font-style: normal; - font-display: swap; -} +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Flow+Circular&display=swap'); -@font-face { - font-family: 'Inter'; - font-style: normal; - font-weight: 200; - font-display: swap; - src: url(public/fonts/367685b2ca6303dc3853.woff2) format('woff2'); -} - -@font-face { - font-family: 'Inter'; - font-style: normal; - font-weight: 300; - font-display: swap; - src: url(public/fonts/746a677fc34469759ede.woff2) format('woff2'); -} - -@font-face { - font-family: 'Inter'; - src: url(public/fonts/450beda71fb8564202a0.woff2); - font-weight: 400; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Inter'; - font-weight: 400; - src: url(public/fonts/c39581384bcfe728af02.woff2); - font-style: italic; - font-display: swap; -} - -@font-face { - font-family: 'Inter'; - src: url(public/fonts/b0b9c035692f884e8635.woff2); - font-weight: 600; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Inter'; - src: url(public/fonts/856e8f46fd911d2040c3.woff2); - font-weight: 800; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Inter'; - src: url(public/fonts/bdbbdeddfdfff17b0879.woff2); - font-weight: 800; - font-style: italic; - font-display: swap; -} - -@font-face { - font-family: 'Source Code Pro'; - src: url(public/fonts/70cc7ff27245e82ad414.ttf); - font-weight: normal; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Source Code Pro'; - src: url(public/fonts/454577c22304619db035.ttf); - font-weight: normal; - font-style: italic; - font-display: swap; -} - -@font-face { - font-family: 'Source Code Pro'; - src: url(public/fonts/52ac8f3034507f1d9e53.ttf); - font-weight: bold; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Source Code Pro'; - src: url(public/fonts/05b618077343fbbd92b7.ttf); - font-weight: bold; - font-style: italic; - font-display: swap; -} - -@font-face { - font-family: 'Flow Circular'; - src: url(public/fonts/853ff76f08786ae44ca0.woff); - font-display: swap; -} body { --font-default: var(--default-font, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Microsoft YaHei Light", sans-serif);