@@ -1,6 +1,11 @@
|
|||||||
import { cssVar } from '@toeverything/theme';
|
import { cssVarV2 } from '@toeverything/theme/v2';
|
||||||
import { style } from '@vanilla-extract/css';
|
import { style } from '@vanilla-extract/css';
|
||||||
|
|
||||||
export const checkboxProperty = style({
|
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]
|
[onChange, parsedValue]
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
<PropertyValue onClick={handleClick}>
|
<PropertyValue onClick={handleClick} className={styles.container}>
|
||||||
<Checkbox
|
<Checkbox
|
||||||
className={styles.checkboxProperty}
|
className={styles.checkboxProperty}
|
||||||
checked={parsedValue}
|
checked={parsedValue}
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ export const section = style({
|
|||||||
|
|
||||||
export const cell = style({
|
export const cell = style({
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
gap: 4,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export const divider = style({
|
export const divider = style({
|
||||||
|
|||||||
Reference in New Issue
Block a user