Migrate to mantine v6 (#15)

* Add letter spacing to cell text

* Set window control height in px

* Add temp unused routes

* Migrate text title font weights

* Bump mantine to v6 alpha

* Migrate modals / notifications

* Increase header bar to 65px

* Adjust play button props

* Migrate various components

* Migrate various pages and root styles

* Adjust default badge padding

* Fix sidebar spacing

* Fix list header badges

* Adjust default theme
This commit is contained in:
Jeff 2023-01-28 20:46:07 -08:00 committed by GitHub
parent 768269f074
commit 44a4b88809
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
52 changed files with 1301 additions and 349 deletions

View file

@ -14,7 +14,7 @@ export const LibraryHeaderBar = ({ children }: LibraryHeaderBarProps) => {
align="center"
h="100%"
px="1rem"
spacing="xl"
spacing="md"
>
{children}
</Group>
@ -28,9 +28,9 @@ interface TitleProps {
const Title = ({ children }: TitleProps) => {
return (
<TextTitle
fw="bold"
order={2}
overflow="hidden"
weight={700}
>
{children}
</TextTitle>
@ -39,14 +39,13 @@ const Title = ({ children }: TitleProps) => {
interface PlayButtonProps {
onClick: () => void;
size?: number;
}
const PlayButton = ({ size, onClick }: PlayButtonProps) => {
const PlayButton = ({ onClick }: PlayButtonProps) => {
return (
<PlayBtn
h={size || 45}
w={size || 45}
h="50px"
w="50px"
onClick={onClick}
/>
);