fix: some style updates (#2396)

This commit is contained in:
Peng Xiao
2023-05-16 17:46:51 +08:00
committed by GitHub
parent a8b8986d89
commit a0ff520ba4
10 changed files with 95 additions and 19 deletions

View File

@@ -22,6 +22,11 @@ export const root = style({
color: 'var(--affine-text-secondary-color)',
pointerEvents: 'none',
},
'&[data-active="true"]:hover': {
background:
// make this a variable?
'linear-gradient(0deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.04)), rgba(0, 0, 0, 0.04);',
},
},
});
@@ -34,7 +39,7 @@ export const content = style({
export const icon = style({
marginRight: '14px',
color: 'var(--affine-icon-color)',
fontSize: '18px',
fontSize: '20px',
});
export const spacer = style({