mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-18 02:21:51 +08:00
chore: merge blocksuite source code (#9213)
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import { baseTheme } from '@toeverything/theme';
|
||||
import { unsafeCSS } from 'lit';
|
||||
|
||||
export const FONT_BASE = unsafeCSS(`
|
||||
font-family: ${baseTheme.fontSansFamily};
|
||||
font-feature-settings:
|
||||
'clig' off,
|
||||
'liga' off;
|
||||
font-style: normal;
|
||||
`);
|
||||
|
||||
export const FONT_SM = unsafeCSS(`
|
||||
${FONT_BASE};
|
||||
font-size: var(--affine-font-sm);
|
||||
font-weight: 500;
|
||||
line-height: 22px;
|
||||
`);
|
||||
|
||||
export const FONT_XS = unsafeCSS(`
|
||||
${FONT_BASE};
|
||||
font-size: var(--affine-font-xs);
|
||||
font-weight: 500;
|
||||
line-height: 20px;
|
||||
`);
|
||||
Reference in New Issue
Block a user