FIx a couple of light theme contrast issues

This commit is contained in:
Mitchell McCaffrey 2020-07-02 20:17:27 +10:00
parent 48db45f3b0
commit 01006a74ac
2 changed files with 8 additions and 1 deletions

View File

@ -13,6 +13,7 @@ function Banner({ isOpen, onRequestClose, children, allowClose }) {
overlay: { bottom: "0", top: "initial" },
content: {
backgroundColor: theme.colors.highlight,
color: "hsl(210, 50%, 96%)",
top: "initial",
left: "50%",
right: "initial",

View File

@ -56,7 +56,13 @@ function Code({ children, value }) {
variant = "note";
}
return (
<Message variant={variant} my={2} as="span" sx={{ display: "block" }}>
<Message
variant={variant}
color="hsl(210, 50%, 96%)"
my={2}
as="span"
sx={{ display: "block" }}
>
{children}
</Message>
);