Compare commits

..

2 Commits

Author SHA1 Message Date
zv
a4f02d711a style: simplify app icon branding 2026-06-04 20:37:03 +02:00
zv
1eff0c258b style: use muted token for forecast error 2026-06-04 20:29:47 +02:00
7 changed files with 14 additions and 25 deletions

View File

@@ -135,7 +135,7 @@ export function ForecastPanel({ latitude, longitude, locationName }: { latitude?
</div> </div>
) : isError || !forecast ? ( ) : isError || !forecast ? (
<Card className="flex min-h-40 flex-col items-center justify-center p-6 text-center"> <Card className="flex min-h-40 flex-col items-center justify-center p-6 text-center">
<p className="text-sm text-slate-600 dark:text-slate-300">{t("forecast.error")}</p> <p className="text-sm text-muted">{t("forecast.error")}</p>
<Button variant="glass" className="mt-4" onClick={() => refetch()}><RefreshCw className="size-4" />{t("common.retry")}</Button> <Button variant="glass" className="mt-4" onClick={() => refetch()}><RefreshCw className="size-4" />{t("common.retry")}</Button>
</Card> </Card>
) : !forecast.hourly.length || !forecast.daily.length ? ( ) : !forecast.hourly.length || !forecast.daily.length ? (

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@@ -1,12 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" role="img" aria-label="wtr.">
<defs> <rect width="512" height="512" rx="120" fill="#171d25"/>
<linearGradient id="g" x1="70" y1="44" x2="450" y2="484" gradientUnits="userSpaceOnUse"> <rect x="22" y="22" width="468" height="468" rx="102" fill="none" stroke="#eef3f7" stroke-opacity=".16" stroke-width="2"/>
<stop stop-color="#38bdf8"/> <text x="62" y="318" fill="#eef3f7" font-family="Arial, Helvetica, sans-serif" font-size="186" font-weight="700" letter-spacing="-28">wtr</text>
<stop offset=".52" stop-color="#2563eb"/> <circle cx="382" cy="295" r="18" fill="#8fb4ce"/>
<stop offset="1" stop-color="#312e81"/>
</linearGradient>
</defs>
<rect width="512" height="512" rx="142" fill="url(#g)"/>
<circle cx="388" cy="138" r="78" fill="#fff" fill-opacity=".12"/>
<text x="62" y="318" fill="white" font-family="Arial, Helvetica, sans-serif" font-size="186" font-weight="700" letter-spacing="-28">wtr.</text>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 606 B

After

Width:  |  Height:  |  Size: 482 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@@ -1,12 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" role="img" aria-label="wtr.">
<defs> <rect width="512" height="512" fill="#171d25"/>
<linearGradient id="g" x1="40" y1="20" x2="480" y2="500" gradientUnits="userSpaceOnUse"> <rect x="44" y="44" width="424" height="424" rx="96" fill="#1f2630"/>
<stop stop-color="#38bdf8"/> <rect x="68" y="68" width="376" height="376" rx="78" fill="none" stroke="#eef3f7" stroke-opacity=".14" stroke-width="2"/>
<stop offset=".55" stop-color="#2563eb"/> <text x="84" y="318" fill="#eef3f7" font-family="Arial, Helvetica, sans-serif" font-size="172" font-weight="700" letter-spacing="-26">wtr</text>
<stop offset="1" stop-color="#312e81"/> <circle cx="386" cy="296" r="17" fill="#8fb4ce"/>
</linearGradient>
</defs>
<rect width="512" height="512" fill="url(#g)"/>
<circle cx="392" cy="124" r="90" fill="#fff" fill-opacity=".12"/>
<text x="62" y="318" fill="white" font-family="Arial, Helvetica, sans-serif" font-size="186" font-weight="700" letter-spacing="-28">wtr.</text>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 597 B

After

Width:  |  Height:  |  Size: 544 B

View File

@@ -4,8 +4,8 @@
"description": "Pogoda z danych IMGW. Prosto. Pięknie. Aktualnie.", "description": "Pogoda z danych IMGW. Prosto. Pięknie. Aktualnie.",
"start_url": "/", "start_url": "/",
"display": "standalone", "display": "standalone",
"background_color": "#07111f", "background_color": "#171d25",
"theme_color": "#0c4a6e", "theme_color": "#171d25",
"lang": "pl", "lang": "pl",
"orientation": "portrait-primary", "orientation": "portrait-primary",
"icons": [ "icons": [