mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
feat: add kalam font (#2743)
This commit is contained in:
@@ -76,7 +76,6 @@ export const navBodyStyle = style({
|
||||
});
|
||||
|
||||
export const sidebarButtonStyle = style({
|
||||
width: 'auto',
|
||||
height: '32px',
|
||||
color: 'var(--affine-icon-color)',
|
||||
zIndex: 1,
|
||||
|
||||
23
packages/component/src/theme/fonts.css
Normal file
23
packages/component/src/theme/fonts.css
Normal 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);
|
||||
}
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user