Skip to content

Commit

Permalink
remove dropzone changes, remove emotion/react reference
Browse files Browse the repository at this point in the history
  • Loading branch information
silvalaura committed Dec 17, 2024
1 parent aba691b commit 509269c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/dropzone/src/components/dropzone/Dropzone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const Container = typedStyled(Flex)<
? `0px`
: dragState === 'dragReject' || dragState === 'error'
? isInverse
? `1px dashed ${theme.colors.danger300}`
? `1px dashed ${theme.colors.danger200}`
: `1px dashed ${theme.colors.danger}`
: dragState === 'dragActive'
? `1px dashed ${theme.colors.primary}`
Expand Down
4 changes: 2 additions & 2 deletions packages/dropzone/src/components/dropzone/Preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const StyledCard = typedStyled(Card)<{ file: FilePreview; isInverse: boolean }>`
border-color: ${({ file, theme, isInverse }) =>
file.errors
? isInverse
? theme.colors.danger300
? theme.colors.danger200
: theme.colors.danger
: theme.colors.neutral300};
border-width: 1px;
Expand Down Expand Up @@ -288,7 +288,7 @@ export const Preview = forwardRef<HTMLDivElement, PreviewProps>(
{file.errors ? (
<ErrorIcon
color={
isInverse ? theme.colors.danger300 : theme.colors.danger
isInverse ? theme.colors.danger200 : theme.colors.danger
}
size={24}
/>
Expand Down
2 changes: 1 addition & 1 deletion packages/react-magma-dom/src/components/Input/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import { LabelPosition } from '../Label';
import styled from '@emotion/styled';
import { ThemeContext } from '../../theme/ThemeContext';
import { Theme } from '@emotion/react';
import { Theme } from '@emotion/core';

const getLabelStyles = (
props: FormFieldContainerProps &
Expand Down

0 comments on commit 509269c

Please sign in to comment.