mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-02 14:22:55 +03:00
parent
0f8b273134
commit
2b3b7057c5
@ -1,6 +1,11 @@
|
||||
import { cssVar } from '@toeverything/theme';
|
||||
import { cssVarV2 } from '@toeverything/theme/v2';
|
||||
import { style } from '@vanilla-extract/css';
|
||||
|
||||
export const checkboxProperty = style({
|
||||
fontSize: cssVar('fontH5'),
|
||||
fontSize: 24,
|
||||
color: cssVarV2('icon/primary'),
|
||||
});
|
||||
|
||||
export const container = style({
|
||||
padding: 4,
|
||||
});
|
||||
|
@ -14,7 +14,7 @@ export const CheckboxValue = ({ value, onChange }: PropertyValueProps) => {
|
||||
[onChange, parsedValue]
|
||||
);
|
||||
return (
|
||||
<PropertyValue onClick={handleClick}>
|
||||
<PropertyValue onClick={handleClick} className={styles.container}>
|
||||
<Checkbox
|
||||
className={styles.checkboxProperty}
|
||||
checked={parsedValue}
|
||||
|
@ -15,7 +15,6 @@ export const section = style({
|
||||
|
||||
export const cell = style({
|
||||
display: 'flex',
|
||||
gap: 4,
|
||||
});
|
||||
|
||||
export const divider = style({
|
||||
|
Loading…
Reference in New Issue
Block a user