Style bugfix

This commit is contained in:
Sean Edmunds
2025-07-18 15:54:18 -05:00
parent 70dede6dae
commit 2a53d9f16a
24 changed files with 263 additions and 170 deletions

View File

@@ -12,7 +12,9 @@ function HelpSection({ name, items }: { name: string; items: SearchShortcut[] })
className={textClasses.helpTitle}
classNames={textClasses}
style={{
textShadow: theme.textShadowsEnabled && '2px 2px var(--mantine-color-border-0)',
textShadow: theme.textShadowsEnabled
? '2px 2px var(--mantine-color-border-0)'
: undefined,
}}
>
{name}

View File

@@ -137,9 +137,11 @@ export function SettingsHeader({
zIndex: 100,
}}
styles={
theme.textShadowsEnabled && {
label: { boxShadow: '2px 2px var(--mantine-color-border-0)' },
}
theme.textShadowsEnabled
? {
label: { boxShadow: '2px 2px var(--mantine-color-border-0)' },
}
: undefined
}
rightSection={
isLoading ? (

View File

@@ -49,8 +49,9 @@ export default function CurrentWeather({ current }: { current: CW }) {
className={textClasses.weatherTitle}
classNames={textClasses}
style={{
textShadow:
theme.textShadowsEnabled && '2px 2px var(--mantine-color-border-0)',
textShadow: theme.textShadowsEnabled
? '2px 2px var(--mantine-color-border-0)'
: undefined,
}}
>
Current Weather
@@ -155,9 +156,9 @@ export default function CurrentWeather({ current }: { current: CW }) {
classNames={textClasses}
style={{
textAlign: 'center',
textShadow:
theme.textShadowsEnabled &&
'1px 1px 1px color-mix(in srgb, var(--mantine-color-accent-0), transparent 50%)',
textShadow: theme.textShadowsEnabled
? '1px 1px 1px color-mix(in srgb, var(--mantine-color-accent-0), transparent 50%)'
: undefined,
}}
w={'100%'}
>
@@ -200,9 +201,9 @@ export default function CurrentWeather({ current }: { current: CW }) {
classNames={textClasses}
style={{
textAlign: 'center',
textShadow:
theme.textShadowsEnabled &&
'1px 1px 1px color-mix(in srgb, var(--mantine-color-accent-0), transparent 50%)',
textShadow: theme.textShadowsEnabled
? '1px 1px 1px color-mix(in srgb, var(--mantine-color-accent-0), transparent 50%)'
: undefined,
}}
w={'100%'}
>
@@ -247,9 +248,9 @@ export default function CurrentWeather({ current }: { current: CW }) {
classNames={textClasses}
style={{
textAlign: 'center',
textShadow:
theme.textShadowsEnabled &&
'1px 1px 1px color-mix(in srgb, var(--mantine-color-accent-0), transparent 50%)',
textShadow: theme.textShadowsEnabled
? '1px 1px 1px color-mix(in srgb, var(--mantine-color-accent-0), transparent 50%)'
: undefined,
}}
w={'100%'}
>

View File

@@ -29,7 +29,9 @@ export default function ExtendedForecastCard({
className={textClasses.weatherTitle}
classNames={textClasses}
style={{
textShadow: theme.textShadowsEnabled && '2px 2px var(--mantine-color-border-0)',
textShadow: theme.textShadowsEnabled
? '2px 2px var(--mantine-color-border-0)'
: undefined,
}}
>
Extended Forecast