@deskpro/deskpro-ui 7.10.1 → 7.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -53,7 +53,7 @@ const StyledCheckbox = styled_components_1.default.span `
|
|
|
53
53
|
const color = (0, ts_pattern_1.match)({ disabled, error })
|
|
54
54
|
.with({ disabled: true }, () => theme.colors.grey20)
|
|
55
55
|
.with({ error: true }, () => theme.colors.red100)
|
|
56
|
-
.otherwise(() => theme.colors.
|
|
56
|
+
.otherwise(() => theme.colors.grey80);
|
|
57
57
|
return `solid 1px ${color}`;
|
|
58
58
|
}};
|
|
59
59
|
}
|
|
@@ -50,7 +50,7 @@ const StyledCheckbox = styled.span `
|
|
|
50
50
|
const color = match({ disabled, error })
|
|
51
51
|
.with({ disabled: true }, () => theme.colors.grey20)
|
|
52
52
|
.with({ error: true }, () => theme.colors.red100)
|
|
53
|
-
.otherwise(() => theme.colors.
|
|
53
|
+
.otherwise(() => theme.colors.grey80);
|
|
54
54
|
return `solid 1px ${color}`;
|
|
55
55
|
}};
|
|
56
56
|
}
|