Skip to content

Night paintings for the decorations - #19

Merged
BaranDev merged 2 commits into
mainfrom
decoration-nights
Oct 21, 2026
Merged

BaranDev merged 2 commits into
mainfrom
decoration-nights

Conversation

@BaranDev

Copy link
Copy Markdown
Owner

What

  • Every decoration has night frames (<i>-night.png): a soft night grade of each day frame, so the animation stays exactly the same.
  • /decorations/<name>?time=night draws them; no time or time=day keeps the day painting, so existing READMEs don't change.
  • The builder gives decorations the same Day, Night and Switch with dark mode choice as the cards; switching writes a <picture> block with the night version for dark mode readers.
  • Site thumbnails redrawn (297), including the night decorations; wiki and README list time.

Checks

  • cargo test --release --locked passes; a test checks every decoration has night frames that differ from day.
  • Builder round trip: a decoration set to Switch with dark mode writes the picture block and reads back as the same choice.

BaranDev added 2 commits October 21, 2026 17:40
- Every decoration has night frames (<i>-night.png, a soft night grade of each day
  frame, so the animation stays the same). /decorations/<name>?time=night draws
  them; time=day or no time is the day painting.
- The builder gives decorations the same Day, Night and Switch with dark mode
  choice as the cards; switching writes a picture block with the night version
  for readers in dark mode.
- Site thumbnails redrawn, including the night decorations; wiki and README list
  the time option.
- The home page decorations and the wiki's decoration gallery switch with the
  reader's theme; the wiki gains a day and night pair and a picture example for
  decorations, and the dark mode section points to it.
- Adding a decoration in the builder follows the README's last image, like a
  card: Switch with dark mode, or night, when that one does.
- README: a day and night image of all seven decorations, the picture example,
  and a link to the status page. Changelog lists the new features.
- Site thumbnails redrawn.
@BaranDev BaranDev closed this Oct 21, 2026
@BaranDev BaranDev reopened this Oct 21, 2026
@BaranDev
BaranDev merged commit c2e874a into main Oct 21, 2026
1 check passed
@BaranDev
BaranDev deleted the decoration-nights branch October 21, 2026 15:28
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.

1 participant