Testing shadows
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
@@ -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%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user