mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: better spacing
This commit is contained in:
1 parent
f4d58015f5
commit
e6404d5c77
2 files changed
+4
-1
No files matched your search
@@ -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,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in new issue
Block a user