Style updates

This commit is contained in:
Sean Edmunds
2025-09-08 16:29:52 -05:00
parent fed970834b
commit 9a5af3f4ef
28 changed files with 197 additions and 220 deletions

View File

@@ -10,7 +10,7 @@ import WeatherFeaturePill from './WeatherFeaturePill';
import WeatherIcon from './WeatherIcon';
export default function CurrentWeather({ current }: { current: CW }) {
const { currentLocation, isMobile, theme } = useCommonHooks();
const { currentLocation, isMobile, theme, textShadowStyle } = useCommonHooks();
const { data: sunStateData } = useSunStateAPI({
lat: currentLocation.lat,
lon: currentLocation.lon,
@@ -156,9 +156,7 @@ 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%)'
: undefined,
textShadow: theme.textShadowsEnabled ? textShadowStyle : undefined,
}}
w={'100%'}
>
@@ -201,9 +199,7 @@ 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%)'
: undefined,
textShadow: theme.textShadowsEnabled ? textShadowStyle : undefined,
}}
w={'100%'}
>
@@ -248,9 +244,7 @@ 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%)'
: undefined,
textShadow: theme.textShadowsEnabled ? textShadowStyle : undefined,
}}
w={'100%'}
>