feat: Add local inter font
This commit is contained in:
parent
847be08a9b
commit
b8bd622cc8
21 changed files with 91 additions and 1 deletions
89
frappe/public/css/fonts/Inter/Inter.css
Normal file
89
frappe/public/css/fonts/Inter/Inter.css
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
/* inter-100 */
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 100;
|
||||
src: local(""), url("/assets/css/fonts/inter/inter-100.woff2") format("woff2"),
|
||||
/* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url("/assets/css/fonts/inter/inter-100.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* inter-200 */
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 200;
|
||||
src: local(""), url("/assets/css/fonts/inter/inter-200.woff2") format("woff2"),
|
||||
/* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url("/assets/css/fonts/inter/inter-200.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* inter-300 */
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: local(""), url("/assets/css/fonts/inter/inter-300.woff2") format("woff2"),
|
||||
/* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url("/assets/css/fonts/inter/inter-300.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* inter-regular */
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local(""), url("/assets/css/fonts/inter/inter-regular.woff2") format("woff2"),
|
||||
/* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url("/assets/css/fonts/inter/inter-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* inter-500 */
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: local(""), url("/assets/css/fonts/inter/inter-500.woff2") format("woff2"),
|
||||
/* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url("/assets/css/fonts/inter/inter-500.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* inter-600 */
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: local(""), url("/assets/css/fonts/inter/inter-600.woff2") format("woff2"),
|
||||
/* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url("/assets/css/fonts/inter/inter-600.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* inter-700 */
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local(""), url("/assets/css/fonts/inter/inter-700.woff2") format("woff2"),
|
||||
/* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url("/assets/css/fonts/inter/inter-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* inter-800 */
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 800;
|
||||
src: local(""), url("/assets/css/fonts/inter/inter-800.woff2") format("woff2"),
|
||||
/* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url("/assets/css/fonts/inter/inter-800.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* inter-900 */
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
src: local(""), url("/assets/css/fonts/inter/inter-900.woff2") format("woff2"),
|
||||
/* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url("/assets/css/fonts/inter/inter-900.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
BIN
frappe/public/css/fonts/Inter/inter-100.woff
Normal file
BIN
frappe/public/css/fonts/Inter/inter-100.woff
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-100.woff2
Normal file
BIN
frappe/public/css/fonts/Inter/inter-100.woff2
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-200.woff
Normal file
BIN
frappe/public/css/fonts/Inter/inter-200.woff
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-200.woff2
Normal file
BIN
frappe/public/css/fonts/Inter/inter-200.woff2
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-300.woff
Normal file
BIN
frappe/public/css/fonts/Inter/inter-300.woff
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-300.woff2
Normal file
BIN
frappe/public/css/fonts/Inter/inter-300.woff2
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-500.woff
Normal file
BIN
frappe/public/css/fonts/Inter/inter-500.woff
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-500.woff2
Normal file
BIN
frappe/public/css/fonts/Inter/inter-500.woff2
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-600.woff
Normal file
BIN
frappe/public/css/fonts/Inter/inter-600.woff
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-600.woff2
Normal file
BIN
frappe/public/css/fonts/Inter/inter-600.woff2
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-700.woff
Normal file
BIN
frappe/public/css/fonts/Inter/inter-700.woff
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-700.woff2
Normal file
BIN
frappe/public/css/fonts/Inter/inter-700.woff2
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-800.woff
Normal file
BIN
frappe/public/css/fonts/Inter/inter-800.woff
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-800.woff2
Normal file
BIN
frappe/public/css/fonts/Inter/inter-800.woff2
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-900.woff
Normal file
BIN
frappe/public/css/fonts/Inter/inter-900.woff
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-900.woff2
Normal file
BIN
frappe/public/css/fonts/Inter/inter-900.woff2
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-regular.woff
Normal file
BIN
frappe/public/css/fonts/Inter/inter-regular.woff
Normal file
Binary file not shown.
BIN
frappe/public/css/fonts/Inter/inter-regular.woff2
Normal file
BIN
frappe/public/css/fonts/Inter/inter-regular.woff2
Normal file
Binary file not shown.
|
|
@ -1,3 +1,5 @@
|
|||
@import "/assets/css/fonts/inter/inter.css";
|
||||
|
||||
html, body {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
<meta name="apple-mobile-web-app-status-bar-style" content="white">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<title>Frappe Desk</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
|
||||
<link rel="shortcut icon"
|
||||
href="{{ favicon or "/assets/frappe/images/favicon.png" }}" type="image/x-icon">
|
||||
<link rel="icon"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue