Migrate to Mantine v8 and Design Changes (#961)

* mantine v8 migration

* various design changes and improvements
This commit is contained in:
Jeff
2025-06-24 00:04:36 -07:00
committed by GitHub
parent bea55d48a8
commit c1330d92b2
473 changed files with 12469 additions and 11607 deletions
+4 -13
View File
@@ -1,29 +1,20 @@
import { Outlet } from 'react-router';
import styled from 'styled-components';
import styles from './titlebar-outlet.module.css';
import { Titlebar } from '/@/renderer/features/titlebar/components/titlebar';
import { useWindowSettings } from '/@/renderer/store/settings.store';
import { Platform } from '/@/shared/types/types';
const TitlebarContainer = styled.header`
position: absolute;
top: 0;
right: 0;
z-index: 5000;
height: 65px;
background: var(--titlebar-controls-bg);
-webkit-app-region: drag;
`;
export const TitlebarOutlet = () => {
const { windowBarStyle } = useWindowSettings();
return (
<>
{windowBarStyle === Platform.WEB && (
<TitlebarContainer>
<header className={styles.container}>
<Titlebar />
</TitlebarContainer>
</header>
)}
<Outlet />
</>