mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
* 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
24 lines
514 B
TypeScript
24 lines
514 B
TypeScript
import { Outlet } from 'react-router';
|
|
import styled from 'styled-components';
|
|
import { Titlebar } from '/@/renderer/features/titlebar/components/titlebar';
|
|
|
|
const TitlebarContainer = styled.header`
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
z-index: 5000;
|
|
height: 30px;
|
|
background: var(--titlebar-controls-bg);
|
|
-webkit-app-region: drag;
|
|
`;
|
|
|
|
export const TitlebarOutlet = () => {
|
|
return (
|
|
<>
|
|
<TitlebarContainer>
|
|
<Titlebar />
|
|
</TitlebarContainer>
|
|
<Outlet />
|
|
</>
|
|
);
|
|
};
|