style: 2x2 switches

This commit is contained in:
Lewis Crichton 2023-09-25 18:39:23 +01:00
parent 03bc5cde22
commit f8232694e7
No known key found for this signature in database

View file

@ -86,8 +86,8 @@ export function SettingColorComponent({ label, name, themeSettings }: Props) {
<div className={cl("swatch-row")}> <div className={cl("swatch-row")}>
<span>{label}</span> <span>{label}</span>
<ColorPicker <ColorPicker
width={40} /* same as a switch */ width={80} /* same as a switch */
height={24} height={48}
key={name} key={name}
value={normalizedValue} value={normalizedValue}
onChange={handleChange} onChange={handleChange}