fix: ensure unselected checkboxes are visible in dark mode #70

This commit is contained in:
rustmailer
2025-12-26 14:17:55 +08:00
parent 97be76278e
commit 1e2f526a07
@@ -251,7 +251,12 @@ export function SyncFoldersDialog({ currentRow, open, onOpenChange }: Props) {
<TreeItemIconContainer {...getIconContainerProps()}>
<TreeItemIcon status={status} />
</TreeItemIconContainer>
<TreeItemCheckbox {...getCheckboxProps()} />
<TreeItemCheckbox {...getCheckboxProps()} sx={{
color: 'hsl(var(--muted-foreground) / 0.4)',
'&.Mui-checked': {
color: 'hsl(var(--primary))',
},
}} />
<CustomLabel
{...getLabelProps({
exists: item.exists,