SnowSignal v1.0.0-beta.3 — polish release#4
Conversation
…e, weather details, footer, docs
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 053a20624e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| /* default (light) palette */ | ||
| color-scheme: light; | ||
| --accent: hsl(var(--accent-h) 83% 53%); | ||
| --accent-strong: hsl(var(--accent-h) 85% 60%); |
There was a problem hiding this comment.
Keep selectable accent hues readable in light mode
When the user selects a yellow, green, or cyan accent in light mode, this fixed 60% lightness makes --accent-strong nearly disappear against white/light surfaces; for example, hue 60 has only about a 1.2:1 contrast ratio. Since this token colors all links plus Weather details headings, selected settings tabs, and selected pills, those controls become difficult to read. Use a darker light-theme foreground token or otherwise constrain/adjust the selectable hues to preserve text contrast.
Useful? React with 👍 / 👎.
SnowSignal
v1.0.0-beta.3— polish beta (not a stable release)A focused polish pass on the existing transparent, deterministic engine. No backend, no framework, no build step, no new runtime dependencies, no analytics/tracking. Stays fully static under GitHub Pages
/snowsignal/, and beta.2 preferences, saved/recent locations, and share links keep working.What changed
package.jsonrenamed tosnowsignal+"license": "MIT"+ version bump; newCONTRIBUTING.md; README Open source section; compact footer MIT License + View source links. RootLICENSE(MIT,© 2026 DawsonCodes) preserved exactly.midnight/midnight-snow/frost/slatepreferences migrate to Dark. Header sun/moon toggles Light↔Dark only; a read-only System detected: Dark/Light badge shows while on System. Atmosphere stays independent and is tuned for both themes.--accent-h; applied to accent, borders, ambient glow. Reset accent included; status colors stay distinct. Persisted inlocalStorage.hasMeaningfulWinterHazard(); benign weather resolves closure & delay to 0% with an explanation. Sensitivity / warm wind / month can't create risk; out-of-season storms still count.1.0.0-beta.3acrosspackage.json, README, CHANGELOG, ROADMAP, and the in-app About tab.Tests
node --test→ 94 passing. Added/updated coverage: plausibility gate (warm/zero, sensitivity-alone, warm-wind-alone, real hazards, out-of-season), theme migration, accent + estimate-counter persistence/reset, date/freshness formatting, animation-replay prevention (DOM-stub), tabbed/wider modal + accent props + removed-theme + schedule-context CSS guards, MIT/version/changelog/contributing meta. Existing engine/weather/calendar/storage/url/atmosphere/relative-path tests still green.Manual checks
text/javascript, CSStext/css, all assets resolve via relative paths.Limitations / notes