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>
)}
<Stack
// align={isMobile ? 'center' : undefined}
justify={isMobile ? 'center' : undefined}
style={{
marginRight: scale * 16,
@@ -94,7 +93,16 @@ export function AppItem({
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>
{width / height > 2 && (
<Stack

View File

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

View File

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