mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 18:09:58 +08:00
1f45cc5dec
**Directory Structure Changes** - Renamed multiple block-related directories by removing the "block-" prefix: - `block-attachment` → `attachment` - `block-bookmark` → `bookmark` - `block-callout` → `callout` - `block-code` → `code` - `block-data-view` → `data-view` - `block-database` → `database` - `block-divider` → `divider` - `block-edgeless-text` → `edgeless-text` - `block-embed` → `embed`
45 lines
961 B
TypeScript
45 lines
961 B
TypeScript
import { cssVar } from '@toeverything/theme';
|
|
import { cssVarV2 } from '@toeverything/theme/v2';
|
|
import { style } from '@vanilla-extract/css';
|
|
|
|
export const host = style({});
|
|
|
|
export const container = style({
|
|
display: 'flex',
|
|
width: '100%',
|
|
height: '40px',
|
|
alignItems: 'center',
|
|
justifyContent: 'space-between',
|
|
boxSizing: 'border-box',
|
|
padding: '8px 16px',
|
|
});
|
|
|
|
export const noteSettingContainer = style({
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
gap: '8px',
|
|
});
|
|
|
|
export const label = style({
|
|
width: '119px',
|
|
height: '22px',
|
|
fontSize: '14px',
|
|
fontWeight: 500,
|
|
lineHeight: '22px',
|
|
color: cssVarV2('text/secondary'),
|
|
});
|
|
|
|
export const notePreviewSettingContainer = style({
|
|
display: 'none',
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
background: cssVarV2('layer/background/overlayPanel'),
|
|
boxShadow: cssVar('shadow2'),
|
|
borderRadius: '8px',
|
|
selectors: {
|
|
'&[data-show]': {
|
|
display: 'flex',
|
|
},
|
|
},
|
|
});
|