Design System for AFFiNE and BlockSuite
https://github.com/toeverything/design.git
Design System for the BlockSuite/AFFiNE.
@toeverything/theme: Theme for the AFFiNE and Blocksuite.@toeverything/components: Basic components for the AFFiNE and Blocksuite.https://toeverything.github.io/design/
import css in top level
@import '@toeverything/theme/style.css';
import '@toeverything/theme/style.css';
import { cssVar } from '@toeverything/theme';
import { cssVarV2 } from '@toeverything/theme/v2';
@toeverything/theme/style.css.
import { style } from '@vanilla-extract/css';
import { headlineRegular } from '@toeverything/theme/typography';
const myStyle = style([
headlineRegular,
{
// ...others
},
]);