mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user