feat: condensed

This commit is contained in:
TrèsAbhi committed 2024-03-31 22:27:11 -05:00
1 parent 65e239a22b
commit 0b88f71f26
6 files changed
+21 -19

No files matched your search

+3 -3
View File
@@ -3,13 +3,13 @@ import { ComponentProps } from 'react';
interface PageWrapperProps extends ComponentProps<typeof Flex> {
color?: ComponentProps<typeof Theme>['accentColor'];
size?: 'regular' | 'wide' | 'double';
size?: number;
}
export default function PageWrapper({
style,
color,
size = 'regular',
size = 800,
...props
}: PageWrapperProps) {
return (
@@ -19,7 +19,7 @@ export default function PageWrapper({
gap="4"
style={{
width: '100%',
maxWidth: size === 'regular' ? 800 : size === 'double' ? 1200 : 960,
maxWidth: size,
margin: 'auto',
padding: 16,
boxSizing: 'border-box',