From 7aa7cc87a617fa41f3c2e61c43ee80fb491fd398 Mon Sep 17 00:00:00 2001 From: Krzysztof Bialoglowicz Date: Tue, 10 Sep 2019 18:43:09 +0200 Subject: [PATCH] Fix configuration divider --- src/components/Theme/ThemeProvider.tsx | 2 ++ src/configuration/ConfigurationPage.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Theme/ThemeProvider.tsx b/src/components/Theme/ThemeProvider.tsx index 705b91d00..793fbb574 100644 --- a/src/components/Theme/ThemeProvider.tsx +++ b/src/components/Theme/ThemeProvider.tsx @@ -15,6 +15,7 @@ const dark: IThemeColors = { checkbox: { default: "#FFFFFF" }, + divider: "#252728", error: "#C22D74", font: { button: "#202124", @@ -49,6 +50,7 @@ const light: IThemeColors = { checkbox: { default: "#616161" }, + divider: "#EAEAEA", error: "#C22D74", font: { button: "#FFFFFF", diff --git a/src/configuration/ConfigurationPage.tsx b/src/configuration/ConfigurationPage.tsx index d6d8c96fc..26a10de27 100644 --- a/src/configuration/ConfigurationPage.tsx +++ b/src/configuration/ConfigurationPage.tsx @@ -56,7 +56,7 @@ const styles = (theme: Theme) => [theme.breakpoints.down("md")]: { gridTemplateColumns: "1fr" }, - borderTop: `solid 1px #eaeaea`, + borderTop: `solid 1px ${theme.palette.divider}`, display: "grid", gridColumnGap: theme.spacing.unit * 4 + "px", gridTemplateColumns: "1fr 3fr",