From 703708e5d21577461ca258bb1ab45661bb48b9d8 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 20 Jan 2022 18:50:05 -0800 Subject: [PATCH] fix: A couple of dark mode styling issues --- app/editor/components/Styles.ts | 1 - app/scenes/Collection/DropToImport.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/editor/components/Styles.ts b/app/editor/components/Styles.ts index 01774ec75..da14f32d2 100644 --- a/app/editor/components/Styles.ts +++ b/app/editor/components/Styles.ts @@ -11,7 +11,6 @@ const EditorStyles = styled.div<{ flex-grow: ${(props) => (props.grow ? 1 : 0)}; justify-content: start; color: ${(props) => props.theme.text}; - background: ${(props) => props.theme.background}; font-family: ${(props) => props.theme.fontFamily}; font-weight: ${(props) => props.theme.fontWeight}; font-size: 1em; diff --git a/app/scenes/Collection/DropToImport.tsx b/app/scenes/Collection/DropToImport.tsx index ba2b5d996..d30ff345e 100644 --- a/app/scenes/Collection/DropToImport.tsx +++ b/app/scenes/Collection/DropToImport.tsx @@ -79,7 +79,7 @@ const DropzoneContainer = styled.div<{ isDragActive?: boolean }>` background: ${theme.background}; border-radius: 8px; border: 1px dashed ${theme.divider}; - box-shadow: 0 0 0 100px white; + box-shadow: 0 0 0 100px ${theme.background}; z-index: 1; }