aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/details.lua
AgeCommit message (Collapse)AuthorFilesLines
11 daysfeat(details): air under the compass, no empty strip under the rowsDanilo M.1-2/+1
The compass goes back to the big slot's own size, leaving a gap above the WIND row. card.standard()'s height budget reserved about a fifth more than the header and rows draw; it now matches what is drawn plus a little air, which changes nothing on a card already at the size cap (compared pixel for pixel) and lets details drop to 3.75 rows at full type. sky moves up to take the space. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 daysfeat(details): the wind compass takes the big value's placeDanilo M.1-10/+15
card.standard() accepts a function as spec.big and calls it with the big slot's right edge, top and size, so a card can put a graphic where the big number goes. details draws its compass there, 1.2x the slot, and the band under the rows is gone: the card drops to 4.25 rows and sky moves up to take the space. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 daysfix(weather cards): arrowhead needle, matched type sizes, visible rain barsDanilo M.1-6/+12
- details: the wind needle ends in a filled arrowhead instead of a dot, so the direction it points (where the wind goes) reads one way only. - hourly, details, sky: raise each card's share so card.standard reaches the same S (72) as now and week. Title and row text now match across the five cards (21.6px / 23px), in line with breaktimer and calendar. The bands (curve, compass, arc) absorb what is left. - hourly: band labels follow the band height a little more (capped at the row size), so they do not shrink with the taller header. - hourly: rain-chance bars at half alpha with a minimum height for any nonzero chance. Typical chances are a few percent, which scaled honestly is a 1px bar that no alpha can rescue. - now: the condition line sits on the card's foot, so the height the capped type leaves over is not an empty strip at the bottom. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 daysfix(weather cards): review fixesDanilo M.1-1/+1
Hour and day labels go through weather.clock, hourly clamps rain chance and caps at 24 hours, week widens the scale by min and max together and sizes the glyph apart from the text, details compass letters never exceed row text, now always hints at the fetcher. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
11 daysfeat(details): wind, humidity, UV and AQI card adapted from Conky-MirageDanilo M.1-0/+77
UV and the European AQI carry the ok/warning/critical roles, which puts critical back on the board. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>