Repository navigation
season: Halloween, in GitHub's Halloween graph colours - #18
Merged
Merged
Conversation
On 31 October GitHub turns its contribution graph orange for the day. Now commit.city does too, by the visitor's own date, the way GitHub does. In a city (viewer/src/season.js): - GitHub's Halloween graph colours: orange beams, ports and pulses, a purple-black sky (#03001c) over a dusky horizon, and Halloween colours for the nine file types, which the legend shows. - The daily timeline in GitHub's four Halloween levels (#631c03, #bd561d, #fa7a18, #fddf68), each day's level its quartile among days with commits. Repo status dots take the same levels, hottest brightest. - A harvest moon above the city, bats circling the avatar and crossing the moon, and a ghost that rises where a file is deleted, when the replay reaches that deletion. - The agent lens is the "ghostwriter lens". Its colours are data, so they stay as they are, and so do every count and height. - A pumpkin button turns it off (until next year, in that browser) or back on. #theme=halloween shows it any day, #theme=plain hides it, and an embed stays plain unless it asks. On the site: a Halloween bar with "Turn it off", the accent in orange, "Your GitHub, as a haunted city.", bats over the hero, and the hero's player in the Halloween look. The site's cyan is now one variable (--accent-rgb), so the season changes it in one place; the plain look is unchanged. The viewer self-test gains three checks: the moon is in the opening view, the bats fly, and deleted files raise ghosts.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
azank1
marked this pull request as ready for review
October 31, 2026 13:38
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On 31 October GitHub turns its contribution graph orange for the day. With this change commit.city does too, going by the visitor's own date as GitHub does.
In a city (
viewer/src/season.js, wired intomain.jsbehind one flag)#theme=halloweenshows it on any day and#theme=plainhides it. An embed stays plain unless it asks. The 9:16 recorder's overlay uses the orange accent.On the site
--accent-rgb), so the season changes it in one place. The data colours (human, bot, agent, event types) stay literal.data-seasonbefore the first paint, so there's no flash of the plain look./aboutliststheme=with the other embed parameters. The README listsseason.js.Not changed: server-rendered images (README cards, link previews, gallery thumbnails) and
/events. Their caches outlive the day, so a Halloween card could still be served on 1 November.Evidence (local dev server, headless Chrome, swiftshader)
#theme=halloween: 27/27 onsindresorhus, including the new checks. The moon is in the opening view (screen position 0.27, 0.67). The bats move. 2 files deleted over 8 replayed weeks raised 2 ghosts.supabase/supabase-swiftalso passes 27/27 (0 deletions in that span). The 9:16 recording passes in both runs.#theme=plain: 24/24 (the Halloween checks are skipped).node viewer/build.mjs && node web/scripts/site.mjsleaves the tree clean.