Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix: colors of the app version badge

Ilian Sapundshievdfb893486779
diff --git a/app/components/CustomLogo.tsx b/app/components/CustomLogo.tsx
index e8c281264..c056ac4bb 100644
--- a/app/components/CustomLogo.tsx
+++ b/app/components/CustomLogo.tsx
@@ -39,11 +39,11 @@ const AppVersionBadge = withStyles(theme => ({
top: '25%',
right: -25,
color:
- theme.palette.type === 'light'
+ theme.palette.mode === 'light'
? theme.palette.grey[900]
: theme.palette.grey[200],
backgroundColor:
- theme.palette.type === 'light'
+ theme.palette.mode === 'light'
? theme.palette.grey[200]
: theme.palette.grey[900]
}