Skip to content

Commit

Permalink
fix(connect-explorer): diagrams dark mode regression
Browse files Browse the repository at this point in the history
  • Loading branch information
martykan committed Sep 3, 2024
1 parent 9a0dffc commit 09a5f9f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ const ReactMediumImageZoomStyle = createGlobalStyle<{ $darkMode?: boolean }>`

export const ZoomableIllustration = (props: ZoomableIllustrationProps) => {
const router = useRouter();
const { THEME } = useTheme();
const theme = useTheme();
const { THEME } = theme.legacy;
const darkMode = props.$darkMode && THEME === 'dark';

// Automatic absolute path handling
Expand Down

0 comments on commit 09a5f9f

Please sign in to comment.