Skip to content

fix: improve weather widget icon fit and contrast#1048

Open
stablegenius49 wants to merge 1 commit intoItzCrazyKns:masterfrom
stablegenius49:pr-factory/issue-970-weather-widget-contrast
Open

fix: improve weather widget icon fit and contrast#1048
stablegenius49 wants to merge 1 commit intoItzCrazyKns:masterfrom
stablegenius49:pr-factory/issue-970-weather-widget-contrast

Conversation

@stablegenius49
Copy link
Copy Markdown

@stablegenius49 stablegenius49 commented Mar 11, 2026

Summary

  • prevent weather icons from being distorted by rendering them with object-contain
  • add a subtle dark overlay plus consistent white foreground styling for better contrast on bright gradients
  • keep the forecast/stat chips readable with matching translucent backgrounds and icon sizing

Verification

  • npx eslint src/components/Widgets/Weather.tsx (passes with repo/file warnings only: existing hook dependency + img optimization warnings)
  • npx prettier --check src/components/Widgets/Weather.tsx

Closes #970.


Summary by cubic

Fix weather widget icon distortion and boost contrast on bright gradients so text, forecast chips, and stats remain readable. Closes #970.

  • Bug Fixes
    • Render weather icons with object-contain to prevent stretching.
    • Add a subtle dark overlay and switch to white text with a light text-shadow for better contrast.
    • Use consistent translucent backgrounds and adjusted icon/text colors in forecast chips and stat cards for readability.

Written for commit 9a71e92. Summary will update on new commits.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Weather Widget UI Adjustments

1 participant