Testing shadows

This commit is contained in:
Sean Edmunds
2025-07-11 19:51:59 -05:00
parent 72aa7231ef
commit 983d31e3e0
3 changed files with 14 additions and 7 deletions

View File

@@ -86,7 +86,6 @@ export function AppItem({
</svg> </svg>
)} )}
<Stack <Stack
// align={isMobile ? 'center' : undefined}
justify={isMobile ? 'center' : undefined} justify={isMobile ? 'center' : undefined}
style={{ style={{
marginRight: scale * 16, marginRight: scale * 16,
@@ -94,7 +93,16 @@ export function AppItem({
paddingTop: isMobile ? scale : scale * 16, paddingTop: isMobile ? scale : scale * 16,
}} }}
> >
{Icon && <Icon style={{ height: scale * 32, width: scale * 32 }} />} {Icon && (
<Icon
style={{
height: scale * 32,
width: scale * 32,
filter:
'drop-shadow(2px 2px 1px color-mix(in srgb, var(--mantine-color-primary-0), transparent 50%))',
}}
/>
)}
</Stack> </Stack>
{width / height > 2 && ( {width / height > 2 && (
<Stack <Stack

View File

@@ -73,8 +73,9 @@ function Header({
style={{ style={{
flexDirection: isMobile ? 'column' : 'row', flexDirection: isMobile ? 'column' : 'row',
}} }}
justify='space-between'
> >
<Stack w={'100%'}> <Stack w={'fit-content'} pos={'relative'}>
<Text <Text
className={textClasses.greeting} className={textClasses.greeting}
classNames={textClasses} classNames={textClasses}

View File

@@ -1,13 +1,10 @@
.greeting { .greeting {
&.root { &.root {
margin: 0;
margin-left: .5rem; margin-left: .5rem;
margin-right: .5rem;
padding: 0;
text-align: left;
font-size: 3.5rem; font-size: 3.5rem;
width: max-content; width: max-content;
color: var(--mantine-color-accent-0); color: var(--mantine-color-accent-0);
text-shadow: 3px 3px 1px color-mix(in srgb, var(--mantine-color-primary-0), transparent 50%);
} }
} }
@@ -23,6 +20,7 @@
text-transform: uppercase; text-transform: uppercase;
font-weight: 300; font-weight: 300;
color: var(--mantine-color-primary-0); color: var(--mantine-color-primary-0);
text-shadow: 1px 1px 1px color-mix(in srgb, var(--mantine-color-accent-0), transparent 50%);
} }
} }