feat: better spacing

This commit is contained in:
TrèsAbhi committed 2024-04-16 19:07:06 -05:00
1 parent f4d58015f5
commit e6404d5c77
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ export default function Page() {
<Heading color="gray">[OPTML]</Heading> <Heading color="gray">[OPTML]</Heading>
</Flex> </Flex>
<HeroStat color="#00b1ff" subtitle="Super Unicum" value={3112} /> <HeroStat color="#8E4EC6" subtitle="Super Unicum" value={3142} />
</PageWrapper> </PageWrapper>
); );
} }
@@ -38,6 +38,7 @@ export function HeroStat({ color, subtitle, value }: WN8DisplayProps) {
flexDirection: 'column', flexDirection: 'column',
alignItems: 'center', alignItems: 'center',
justifyContent: 'center', justifyContent: 'center',
gap: 2,
}} }}
> >
<span <span
@@ -47,6 +48,7 @@ export function HeroStat({ color, subtitle, value }: WN8DisplayProps) {
fontSize: 32, fontSize: 32,
color: theme.colors.textHighContrast, color: theme.colors.textHighContrast,
lineHeight: '26px', lineHeight: '26px',
letterSpacing: '-0.03em',
}} }}
> >
{value} {value}
@@ -55,6 +57,7 @@ export function HeroStat({ color, subtitle, value }: WN8DisplayProps) {
style={{ style={{
display: 'block', display: 'block',
fontSize: 16, fontSize: 16,
lineHeight: '16px',
color: theme.colors.textHighContrast, color: theme.colors.textHighContrast,
}} }}
> >