feat: better titlebar

This commit is contained in:
TrèsAbhi committed 2024-03-06 09:52:09 -06:00
1 parent 19e81ff78a
commit f605801555
10 files changed
+63 -90

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
import { ReactNode } from 'react';
import { theme } from '../stitches.config';
interface CommandWrapperProps {
children: ReactNode;
fat?: boolean;
}
export default function CommandWrapper({ children, fat }: CommandWrapperProps) {
return (
<div
style={{
display: 'flex',
flexDirection: 'column',
padding: `16px ${fat ? 0 : 16}px`,
gap: 16,
width: 480,
color: theme.colors.textHighContrast,
background: 'url(https://i.imgur.com/PhS06NJ.png)',
}}
>
{children}
</div>
);
}