Files
AFFiNE-Mirror/packages/component/src/ui/button/styles.css.ts
2023-05-17 16:32:37 +08:00

41 lines
881 B
TypeScript

import { style } from '@vanilla-extract/css';
export const dropdownBtn = style({
display: 'inline-flex',
alignItems: 'center',
justifyContent: 'center',
padding: '0 10px',
gap: '4px',
color: 'var(--affine-text-primary-color)',
fontWeight: 600,
background: 'var(--affine-button-gray-color)',
boxShadow: 'var(--affine-float-button-shadow)',
borderRadius: '8px',
fontSize: 'var(--affine-font-sm)',
// width: '100%',
height: '32px',
userSelect: 'none',
whiteSpace: 'nowrap',
cursor: 'pointer',
selectors: {
'&:hover': {
background: 'var(--affine-hover-color)',
},
},
});
export const divider = style({
width: '0.5px',
height: '16px',
background: 'var(--affine-border-color)',
});
export const icon = style({
borderRadius: '4px',
selectors: {
'&:hover': {
background: 'var(--affine-hover-color)',
},
},
});