style.css. Edit that file directly to change any of the values described below.
Background
Thebody uses a white base color with three radial gradients that produce a subtle sky-blue tint in the corners and top center.
style.css
background-color. To shift the tint, adjust the hue values in the hsla() functions. The first argument is the hue (0–360): 210 and 220 are blue tones.
Example — soft warm tint:
style.css
Card / container
The.container class controls the white card that centers the app’s content.
style.css
width:
style.css
prefers-color-scheme media query:
style.css
border-radius: 24px gives the card its rounded corners. Set it to 0 for sharp corners or 12px for a subtler rounding.Typography
The app uses theInter typeface with a system font fallback:
style.css
index.html and update the font-family value in style.css.
1
Add the Google Fonts link to index.html
Place the
<link> tag inside <head>, before the stylesheet:index.html
2
Update font-family in style.css
style.css
Button colors
The “Check Weather” button and the forecast tab buttons (#getWeather, .tab-btn) are styled in style.css. Find those selectors in the file and update the background-color, color, and border properties to match your preferred palette.
The primary blue used throughout the app is
#007bff. Keeping your button color consistent with this value maintains visual cohesion with the icon and accent colors.Animation speed
The sun and rain icons follow an arc path above the logo using theweatherArcPath keyframe animation. The animation property is set on .sun-icon, .rain-icon:
style.css
6s) is the duration. Decrease it to speed up the arc, or increase it to slow it down.