diff --git a/src/renderer/components/dropdown-menu/index.tsx b/src/renderer/components/dropdown-menu/index.tsx index 09707fbb..498eaee4 100644 --- a/src/renderer/components/dropdown-menu/index.tsx +++ b/src/renderer/components/dropdown-menu/index.tsx @@ -41,8 +41,8 @@ const StyledMenuItem = styled(MantineMenu.Item)` left: 0; width: 100%; height: 100%; - background-color: var(--primary-color); - opacity: 0.2; + background-color: var(--dropdown-menu-bg-hover); + opacity: 0.5; z-index: -1; } diff --git a/src/renderer/components/tabs/index.tsx b/src/renderer/components/tabs/index.tsx index 42a96600..97c97b84 100644 --- a/src/renderer/components/tabs/index.tsx +++ b/src/renderer/components/tabs/index.tsx @@ -22,6 +22,7 @@ const StyledTabs = styled(MantineTabs)` button { padding: 1rem; color: var(--btn-subtle-fg); + border-radius: 0; &:hover { color: var(--btn-subtle-fg-hover); @@ -33,14 +34,22 @@ const StyledTabs = styled(MantineTabs)` button[data-active] { color: var(--btn-primary-fg); - background: var(--primary-color); - border-color: var(--primary-color); + background: none; + box-shadow: 2px 0 0 var(--primary-color) inset; &:hover { - background: var(--btn-primary-bg-hover); - border-color: var(--primary-color); + background: none; } } + + /* button[data-active]::before { + content: ''; + border-left: 2px solid var(--primary-color); + position: absolute; + left: 0; + right: 0; + bottom: 0; + } */ `; export const Tabs = ({ children, ...props }: TabsProps) => { diff --git a/src/renderer/components/text-title/index.tsx b/src/renderer/components/text-title/index.tsx index d1ec0383..e031c002 100644 --- a/src/renderer/components/text-title/index.tsx +++ b/src/renderer/components/text-title/index.tsx @@ -28,10 +28,6 @@ const StyledTextTitle = styled(MantineHeader)` color: ${(props) => props.$link && 'var(--main-fg)'}; text-decoration: ${(props) => (props.$link ? 'underline' : 'none')}; } - - h1 { - font-size: 4rem; - } `; const _TextTitle = ({ children, $secondary, overflow, $noSelect, ...rest }: TextTitleProps) => { diff --git a/src/renderer/features/albums/components/album-detail-content.tsx b/src/renderer/features/albums/components/album-detail-content.tsx index 3aed9066..9e55afcd 100644 --- a/src/renderer/features/albums/components/album-detail-content.tsx +++ b/src/renderer/features/albums/components/album-detail-content.tsx @@ -127,7 +127,7 @@ export const AlbumDetailContent = ({ tableRef }: AlbumDetailContentProps) => { }, title: ( More from this artist diff --git a/src/renderer/features/albums/components/album-detail-header.tsx b/src/renderer/features/albums/components/album-detail-header.tsx index 3c6f507d..ff9df11e 100644 --- a/src/renderer/features/albums/components/album-detail-header.tsx +++ b/src/renderer/features/albums/components/album-detail-header.tsx @@ -48,7 +48,7 @@ export const AlbumDetailHeader = forwardRef( title={detailQuery?.data?.name || ''} > - + {metadataItems.map((item, index) => ( {index > 0 && } @@ -57,6 +57,7 @@ export const AlbumDetailHeader = forwardRef( ))} { title: ( <> Recent releases @@ -194,7 +194,7 @@ export const AlbumArtistDetailContent = () => { }, title: ( Appears on @@ -212,7 +212,7 @@ export const AlbumArtistDetailContent = () => { }, title: ( Related artists @@ -381,7 +381,7 @@ export const AlbumArtistDetailContent = () => { maw="1280px" > About {detailQuery?.data?.name} @@ -405,7 +405,7 @@ export const AlbumArtistDetailContent = () => { align="flex-end" > Top Songs diff --git a/src/renderer/features/artists/components/album-artist-detail-discography-header.tsx b/src/renderer/features/artists/components/album-artist-detail-discography-header.tsx index 0304c9cf..9a108098 100644 --- a/src/renderer/features/artists/components/album-artist-detail-discography-header.tsx +++ b/src/renderer/features/artists/components/album-artist-detail-discography-header.tsx @@ -294,7 +294,7 @@ export const AlbumArtistDiscographyHeader = ({ itemCount, tableRef }: SongListHe > Tracks diff --git a/src/renderer/features/artists/components/album-artist-detail-song-list-header.tsx b/src/renderer/features/artists/components/album-artist-detail-song-list-header.tsx index e6406bbc..3696d8fd 100644 --- a/src/renderer/features/artists/components/album-artist-detail-song-list-header.tsx +++ b/src/renderer/features/artists/components/album-artist-detail-song-list-header.tsx @@ -300,7 +300,7 @@ export const AlbumArtistDetailSongListHeader = ({ diff --git a/src/renderer/features/artists/components/album-artist-detail-top-songs-list-header.tsx b/src/renderer/features/artists/components/album-artist-detail-top-songs-list-header.tsx index 449bf4cc..fcc259d1 100644 --- a/src/renderer/features/artists/components/album-artist-detail-top-songs-list-header.tsx +++ b/src/renderer/features/artists/components/album-artist-detail-top-songs-list-header.tsx @@ -55,7 +55,7 @@ export const AlbumArtistDetailTopSongsListHeader = ({ diff --git a/src/renderer/features/artists/components/album-artist-list-header.tsx b/src/renderer/features/artists/components/album-artist-list-header.tsx index 063a07a1..4aa32b11 100644 --- a/src/renderer/features/artists/components/album-artist-list-header.tsx +++ b/src/renderer/features/artists/components/album-artist-list-header.tsx @@ -317,7 +317,7 @@ export const AlbumArtistListHeader = ({ > Album Artists diff --git a/src/renderer/features/home/routes/home-route.tsx b/src/renderer/features/home/routes/home-route.tsx index 04d3478e..9dbe2f84 100644 --- a/src/renderer/features/home/routes/home-route.tsx +++ b/src/renderer/features/home/routes/home-route.tsx @@ -123,7 +123,7 @@ const HomeRoute = () => { }, title: ( Explore from your library @@ -142,7 +142,7 @@ const HomeRoute = () => { }, title: ( Recently played @@ -161,7 +161,7 @@ const HomeRoute = () => { }, title: ( Newly added releases @@ -180,7 +180,7 @@ const HomeRoute = () => { }, title: ( Most played diff --git a/src/renderer/features/now-playing/components/now-playing-header.tsx b/src/renderer/features/now-playing/components/now-playing-header.tsx index fb6e375e..e44870d3 100644 --- a/src/renderer/features/now-playing/components/now-playing-header.tsx +++ b/src/renderer/features/now-playing/components/now-playing-header.tsx @@ -9,7 +9,7 @@ export const NowPlayingHeader = () => { Queue diff --git a/src/renderer/features/now-playing/components/play-queue-list-controls.tsx b/src/renderer/features/now-playing/components/play-queue-list-controls.tsx index 9ad2fae1..9f3bf13a 100644 --- a/src/renderer/features/now-playing/components/play-queue-list-controls.tsx +++ b/src/renderer/features/now-playing/components/play-queue-list-controls.tsx @@ -90,51 +90,51 @@ export const PlayQueueListControls = ({ type, tableRef }: PlayQueueListOptionsPr sx={{ alignItems: 'center' }} w="100%" > - + @@ -142,11 +142,11 @@ export const PlayQueueListControls = ({ type, tableRef }: PlayQueueListOptionsPr diff --git a/src/renderer/features/player/components/left-controls.tsx b/src/renderer/features/player/components/left-controls.tsx index ba0d9f78..3ee9399a 100644 --- a/src/renderer/features/player/components/left-controls.tsx +++ b/src/renderer/features/player/components/left-controls.tsx @@ -119,7 +119,7 @@ export const LeftControls = () => { compact opacity={0.8} radius={50} - size="xs" + size="md" sx={{ position: 'absolute', right: 2, top: 2 }} tooltip={{ label: 'Expand', openDelay: 500 }} variant="default" diff --git a/src/renderer/features/playlists/components/playlist-detail-song-list-header.tsx b/src/renderer/features/playlists/components/playlist-detail-song-list-header.tsx index 6e501470..3f417635 100644 --- a/src/renderer/features/playlists/components/playlist-detail-song-list-header.tsx +++ b/src/renderer/features/playlists/components/playlist-detail-song-list-header.tsx @@ -262,7 +262,7 @@ export const PlaylistDetailSongListHeader = ({ variant="subtle" > {detailQuery?.data?.name} diff --git a/src/renderer/features/playlists/components/playlist-list-header.tsx b/src/renderer/features/playlists/components/playlist-list-header.tsx index cb78bd01..403224e7 100644 --- a/src/renderer/features/playlists/components/playlist-list-header.tsx +++ b/src/renderer/features/playlists/components/playlist-list-header.tsx @@ -214,7 +214,7 @@ export const PlaylistListHeader = ({ tableRef }: PlaylistListHeaderProps) => { > Playlists diff --git a/src/renderer/features/settings/components/settings.tsx b/src/renderer/features/settings/components/settings.tsx index b0c57128..9a55be07 100644 --- a/src/renderer/features/settings/components/settings.tsx +++ b/src/renderer/features/settings/components/settings.tsx @@ -35,7 +35,7 @@ export const Settings = () => { orientation="vertical" styles={{ tab: { - fontSize: '1.1rem', + fontSize: '1rem', padding: '0.5rem 1rem', }, }} diff --git a/src/renderer/features/shared/components/library-header-bar.tsx b/src/renderer/features/shared/components/library-header-bar.tsx index a085f1f7..b3271563 100644 --- a/src/renderer/features/shared/components/library-header-bar.tsx +++ b/src/renderer/features/shared/components/library-header-bar.tsx @@ -28,7 +28,7 @@ interface TitleProps { const Title = ({ children }: TitleProps) => { return ( diff --git a/src/renderer/features/shared/components/library-header.tsx b/src/renderer/features/shared/components/library-header.tsx index 9ef4d879..13b1c89e 100644 --- a/src/renderer/features/shared/components/library-header.tsx +++ b/src/renderer/features/shared/components/library-header.tsx @@ -142,8 +142,9 @@ export const LibraryHeader = forwardRef( { compact opacity={0.8} radius={100} - size="sm" + size="md" sx={{ position: 'absolute', right: 5, top: 5 }} tooltip={{ label: 'Collapse', openDelay: 500 }} variant="default" diff --git a/src/renderer/features/songs/components/song-list-header.tsx b/src/renderer/features/songs/components/song-list-header.tsx index 1b6e9bb5..558f880d 100644 --- a/src/renderer/features/songs/components/song-list-header.tsx +++ b/src/renderer/features/songs/components/song-list-header.tsx @@ -319,7 +319,7 @@ export const SongListHeader = ({ diff --git a/src/renderer/features/titlebar/components/app-menu.tsx b/src/renderer/features/titlebar/components/app-menu.tsx index 4b11f295..29795d73 100644 --- a/src/renderer/features/titlebar/components/app-menu.tsx +++ b/src/renderer/features/titlebar/components/app-menu.tsx @@ -67,7 +67,6 @@ export const AppMenu = () => { withArrow withinPortal position="bottom" - width={200} >