Skip to content

Add night mode theme with dark palette, stars, and moon#144

Open
andreslfdz wants to merge 1 commit into
meltylabs:mainfrom
andreslfdz:2-your-first-parallel-agent-c37e56d1
Open

Add night mode theme with dark palette, stars, and moon#144
andreslfdz wants to merge 1 commit into
meltylabs:mainfrom
andreslfdz:2-your-first-parallel-agent-c37e56d1

Conversation

@andreslfdz

Copy link
Copy Markdown

Congratulations 🎉

You made a pull request in Conductor. This starter project gave you something quick to install, run, edit, review, and ship from an isolated git worktree workspace.

This PR adds a night mode theme that automatically activates when the system is in dark mode. It includes a dark color palette, a subtle starry sky background, a glowing moon, and adjusted steam/hover colors for the dark theme.

@andreslfdz andreslfdz requested a review from mattppal as a code owner July 5, 2026 18:26

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5e3c209d9f

ℹ️ 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".

Comment thread index.html
let lastLane = -1;
let lastDirection = "rtl";
let muted = localStorage.getItem("wtc:muted") === "1";
let nightMode = localStorage.getItem("wtc:theme") === "night";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use the system dark-mode preference initially

On a first visit where wtc:theme is not already in localStorage, this initializes nightMode to false; the later syncThemeButton() call then writes day, so users whose browser/OS prefers dark mode never get the night theme automatically. Initialize from matchMedia('(prefers-color-scheme: dark)') when no explicit saved theme exists, or avoid persisting the default until the user toggles it.

Useful? React with 👍 / 👎.

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