feat: add kalam font (#2743)

This commit is contained in:
Peng Xiao
2023-06-09 15:48:30 +08:00
committed by GitHub
parent 34141958eb
commit 01ae21e1fa
7 changed files with 117 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
@font-face {
font-family: 'Kalam';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(/fonts/kalam/Kalam-Regular.ttf);
}
@font-face {
font-family: 'Kalam';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url(/fonts/kalam/Kalam-Light.ttf);
}
@font-face {
font-family: 'Kalam';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url(/fonts/kalam/Kalam-Bold.ttf);
}

View File

@@ -1,4 +1,5 @@
@import 'react-datepicker/dist/react-datepicker.css';
@import './fonts.css';
* {
-webkit-overflow-scrolling: touch;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);