diff --git a/src/components/cardScroller/cardScroller.module.scss b/src/components/cardScroller/cardScroller.module.scss
index 17464e5..b928bf5 100644
--- a/src/components/cardScroller/cardScroller.module.scss
+++ b/src/components/cardScroller/cardScroller.module.scss
@@ -9,14 +9,14 @@
position: absolute !important;
height: 100%;
font-size: 1em !important;
- width: 3.2em;
+ width: $page-margin;
&.right{
border-radius: $border-radius-default 0 0 $border-radius-default !important;
- right: -3.2em;
+ right: -$page-margin;
}
&.left{
border-radius: 0 $border-radius-default $border-radius-default 0 !important;
- left: -3.2em;
+ left: -$page-margin;
}
.material-symbols-rounded{
font-size: 3.2em;
diff --git a/src/components/carousel/carousel.scss b/src/components/carousel/carousel.scss
index 7d4264f..81a2dc6 100644
--- a/src/components/carousel/carousel.scss
+++ b/src/components/carousel/carousel.scss
@@ -2,7 +2,7 @@
.carousel {
position: relative;
height: 70vh;
- margin: 0.6em 2.8em 2.8em 2.8em;
+ margin-bottom: 3.2em;
&-button {
position: absolute !important;
top: 50%;
diff --git a/src/components/showMoreText/index.jsx b/src/components/showMoreText/index.jsx
index 6a9089f..216c89e 100644
--- a/src/components/showMoreText/index.jsx
+++ b/src/components/showMoreText/index.jsx
@@ -37,7 +37,8 @@ const ShowMoreText = ({ content, collapsedLines, extraProps }) => {
WebkitBoxOrient: "vertical",
width: "100%",
}}
- variant="subtitle1"
+ variant="subtitle2"
+ fontWeight={300}
>
{content}
diff --git a/src/components/skeleton/carousel.jsx b/src/components/skeleton/carousel.jsx
index aa7b06d..d5cccfb 100644
--- a/src/components/skeleton/carousel.jsx
+++ b/src/components/skeleton/carousel.jsx
@@ -11,7 +11,7 @@ export const CarouselSkeleton = () => {
elevation={0}
sx={{
height: "70vh",
- margin: "0.6em 1.6em 1.6em 1.6em",
+ marginBottom: "3.2em",
position: "relative",
background: "black",
border: "1px solid rgb(255 255 255 / 0.2)",
diff --git a/src/components/skeleton/item.tsx b/src/components/skeleton/item.tsx
index 73cf8c3..f9799b4 100644
--- a/src/components/skeleton/item.tsx
+++ b/src/components/skeleton/item.tsx
@@ -1,14 +1,24 @@
import React from "react";
import { Divider, LinearProgress, Skeleton } from "@mui/material";
+import { motion } from "framer-motion";
const ItemSkeleton = () => {
return (
-
+
);
};
diff --git a/src/routes/album/index.jsx b/src/routes/album/index.jsx
index a0b39c3..3bf25ec 100644
--- a/src/routes/album/index.jsx
+++ b/src/routes/album/index.jsx
@@ -308,11 +308,6 @@ const MusicAlbumTitlePage = () => {
artist
}
- sx={{
- "& .MuiChip-label": {
- marginLeft: 0.5,
- },
- }}
/>
{item.data.PremiereDate && (
diff --git a/src/routes/home/home.module.scss b/src/routes/home/home.module.scss
index cb6d8e0..ade2b67 100644
--- a/src/routes/home/home.module.scss
+++ b/src/routes/home/home.module.scss
@@ -122,8 +122,4 @@
}
}
}
-}
-
-.home {
- padding: 0;
}
\ No newline at end of file
diff --git a/src/routes/home/index.jsx b/src/routes/home/index.jsx
index 02ba3ac..65a1ca0 100644
--- a/src/routes/home/index.jsx
+++ b/src/routes/home/index.jsx
@@ -200,225 +200,215 @@ const Home = () => {
)}
-
+ Error with Carousel
+
+ }
>
-
- Error with Carousel
-
- }
- >
- {libraries.isPending ? (
-
- ) : (
-
- {libraries.status === "success" &&
- libraries.data.Items.map((item) => {
- return (
- navigate(`/library/${item.Id}`)}
- imageBlurhash={
- !!item.ImageBlurHashes?.Primary &&
- item.ImageBlurHashes?.Primary[
- Object.keys(item.ImageBlurHashes.Primary)[0]
- ]
- }
- overrideIcon={item.CollectionType}
- />
- );
- })}
-
- )}
-
-
- Error with Libraries
-
- }
- >
- {upNextItems.isPending ? (
-
- ) : upNextItems.isSuccess && upNextItems.data.Items.length === 0 ? (
- <>>
- ) : (
-
- {upNextItems.data.Items.map((item) => {
- return (
-
- );
- })}
-
- )}
-
-
- Error with resumeItemsVideo
-
- }
- >
- {resumeItemsVideo.isPending ? (
-
- ) : resumeItemsVideo.isSuccess &&
- resumeItemsVideo.data.Items.length === 0 ? (
- <>>
- ) : (
-
- {resumeItemsVideo.data.Items.map((item) => {
- return (
-
- );
- })}
-
- )}
-
-
- Error with resumeItemsAudio
-
- }
- >
- {resumeItemsAudio.isPending ? (
-
- ) : resumeItemsAudio.isSuccess &&
- resumeItemsAudio.data.Items.length === 0 ? (
- <>>
- ) : (
-
- {resumeItemsAudio.data.Items.map((item) => {
+ {libraries.isPending ? (
+
+ ) : (
+
+ {libraries.status === "success" &&
+ libraries.data.Items.map((item) => {
return (
navigate(`/library/${item.Id}`)}
imageBlurhash={
- item.ImageBlurHashes?.Primary?.[
+ !!item.ImageBlurHashes?.Primary &&
+ item.ImageBlurHashes?.Primary[
Object.keys(item.ImageBlurHashes.Primary)[0]
]
}
+ overrideIcon={item.CollectionType}
/>
);
})}
-
- )}
-
-
- Error with LatestMediaSections
-
- }
- >
- {latestMediaLibs.map((lib) => {
- return ;
- })}
-
-
+
+ )}
+
+
+ Error with Libraries
+
+ }
+ >
+ {upNextItems.isPending ? (
+
+ ) : upNextItems.isSuccess && upNextItems.data.Items.length === 0 ? (
+ <>>
+ ) : (
+
+ {upNextItems.data.Items.map((item) => {
+ return (
+
+ );
+ })}
+
+ )}
+
+
+ Error with resumeItemsVideo
+
+ }
+ >
+ {resumeItemsVideo.isPending ? (
+
+ ) : resumeItemsVideo.isSuccess &&
+ resumeItemsVideo.data.Items.length === 0 ? (
+ <>>
+ ) : (
+
+ {resumeItemsVideo.data.Items.map((item) => {
+ return (
+
+ );
+ })}
+
+ )}
+
+
+ Error with resumeItemsAudio
+
+ }
+ >
+ {resumeItemsAudio.isPending ? (
+
+ ) : resumeItemsAudio.isSuccess &&
+ resumeItemsAudio.data.Items.length === 0 ? (
+ <>>
+ ) : (
+
+ {resumeItemsAudio.data.Items.map((item) => {
+ return (
+
+ );
+ })}
+
+ )}
+
+
+ Error with LatestMediaSections
+
+ }
+ >
+ {latestMediaLibs.map((lib) => {
+ return ;
+ })}
+
>
);
diff --git a/src/routes/item/index.jsx b/src/routes/item/index.jsx
index 2d5594e..1220961 100644
--- a/src/routes/item/index.jsx
+++ b/src/routes/item/index.jsx
@@ -306,7 +306,7 @@ const ItemDetail = () => {
opacity: 1,
}}
transition={{
- duration: 0.25,
+ duration: 0.35,
ease: "easeInOut",
}}
className="scrollY padded-top flex flex-column item item-default"
diff --git a/src/styles/global.scss b/src/styles/global.scss
index 72f4b72..f5365cd 100644
--- a/src/styles/global.scss
+++ b/src/styles/global.scss
@@ -126,7 +126,7 @@ h1 {
width: 100%;
box-sizing: border-box;
min-height: 100vh;
- padding: $page-margin;
+ padding: ($page-margin - 1.2em) $page-margin;
scrollbar-gutter: stable;
&.padded-top {
padding-top: 4.4em;
diff --git a/src/styles/variables.scss b/src/styles/variables.scss
index c866832..e555602 100644
--- a/src/styles/variables.scss
+++ b/src/styles/variables.scss
@@ -32,4 +32,4 @@ $shadow-card-image: 0 2px 8px rgb(0 0 0 / 0.25);
$clr-background-card-icon: linear-gradient(45deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.2));
-$page-margin: 3.2em;
\ No newline at end of file
+$page-margin: 4em;
\ No newline at end of file
diff --git a/src/theme.js b/src/theme.js
index d0495d2..657b066 100644
--- a/src/theme.js
+++ b/src/theme.js
@@ -10,17 +10,16 @@ const { palette } = createTheme({});
const { augmentColor } = palette;
export const theme = createTheme({
palette: {
- primary: {
- main: clrAccentDefault,
- background: {
- main: clrBackgroundDefault,
- light: clrBackgroundLight,
- dark: clrBackgroundDark,
+ primary: augmentColor({
+ color: {
+ main: clrAccentDefault,
},
- },
- secondary: {
- main: clrSecondaryDefault,
- },
+ }),
+ secondary: augmentColor({
+ color: {
+ main: clrSecondaryDefault,
+ },
+ }),
background: {
default: clrBackgroundDefault,
paper: clrBackgroundDark,