Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix Editor dark styles
Krzysztof Bialoglowiczce44004d3000
diff --git a/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsx b/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsxindex a21cf06f94..6c4a7e01c6 100644--- a/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsx+++ b/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsx@@ -96,13 +96,14 @@ const styles = (theme: Theme) =>"& .Draftail": {"&-Editor": {"&--focus": {- borderColor: theme.palette.common.white,boxShadow: `inset 0px 0px 0px 2px ${theme.palette.primary.main}`},"&:hover": {borderColor: theme.palette.primary.main},- border: `1px #3d3d3d solid`,+ border: `1px ${+ theme.overrides.MuiOutlinedInput.root.borderColor+ } solid`,borderTopLeftRadius: 4,borderTopRightRadius: 4,padding: "27px 12px 10px",diff --git a/saleor/static/dashboard-next/theme.ts b/saleor/static/dashboard-next/theme.tsindex 4064ca8d52..357dc34b4d 100644--- a/saleor/static/dashboard-next/theme.ts+++ b/saleor/static/dashboard-next/theme.ts@@ -166,6 +166,7 @@ export default (colors: IThemeColors): Theme =>padding: "25px 12px 8px 12px"},root: {+ borderColor: colors.input.border,"& fieldset": {borderColor: [[colors.input.border], "!important"] as any},