mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 23:56:36 +08:00
4335b0dc79
fix AF-1846
20 lines
454 B
TypeScript
20 lines
454 B
TypeScript
import { cssVarV2 } from '@toeverything/theme/v2';
|
|
import { style } from '@vanilla-extract/css';
|
|
|
|
export const root = style({
|
|
cursor: 'grab',
|
|
color: cssVarV2.icon.secondary,
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
});
|
|
|
|
export const svg = style({
|
|
borderRadius: 8,
|
|
selectors: {
|
|
[`${root}[data-dragging="true"] &, ${root}:hover &`]: {
|
|
backgroundColor: cssVarV2.layer.background.hoverOverlay,
|
|
},
|
|
},
|
|
});
|