Import font used as default in Obsidian

This commit is contained in:
Ole Eskild Steensen 2022-10-17 15:41:41 +02:00
parent ba366f0fa9
commit 3ca28f9a41

View File

@ -3,107 +3,10 @@
* MODIFY THE custom-style.scss FILE INSTEAD. * MODIFY THE custom-style.scss FILE INSTEAD.
***/ ***/
@font-face { @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
font-family: 'Avenir Next'; @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');
src: url(public/fonts/94f2f163d4b698242fef.otf); @import url('https://fonts.googleapis.com/css2?family=Flow+Circular&display=swap');
font-weight: normal;
font-style: normal;
font-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 { 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); --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);