Skip to content

Bring back the app's dark palette without the template look - #35

Merged
frahlg merged 1 commit into
mainfrom
web/dark-without-template
Oct 30, 2026
Merged

frahlg merged 1 commit into
mainfrom
web/dark-without-template

Conversation

@frahlg

@frahlg frahlg commented Oct 30, 2026

Copy link
Copy Markdown
Member

Problem

The dark design from #33 looked good but read as a generic AI template. The editorial reset in #34 fixed that by following Sourceful's design system to the letter, but lost the look Fredrik liked. He asked for the dark design back, without the AI feel and without following Sourceful's system strictly.

What changes

Back from #33:

  • The iPhone app's dark palette.
  • One colour per kind of energy in the chart, the plan dial and the legend.
  • The app screens and recording.

Kept from #34:

  • A label rail beside the text, and ruled lists for savings, planner points, news, community and trust.
  • Square corners and hairlines.
  • Underline form fields.
  • The example conversation as a transcript.
  • Satoshi with JetBrains Mono labels.

Gone, because they made it read as a template:

  • Glows and gradients.
  • Rounded cards and pill buttons.
  • Scroll fades and the floating phone.
  • Grey second halves in headings. Each heading now stresses one word by weight instead.

New: the savings rail shows the example day's prices as the app's block bars (▁▂▃…█), computed from the model.

Motion is limited to what shows something: the chart switching, the plan dial's hand, the command receipt, the transcript and the app tour. All of it stops under Reduce Motion. The other pages still load sourceful.css. The README now records this direction.

Evidence

  • node --test tests/*.test.mjs: 32 passed, 0 failed.
  • Browser, on a local server that runs the real worker: every section at 1440 × 900 and 375 × 812, no console errors and no sideways scroll on the phone.
  • Not checked: Safari on a phone, and this branch's Pages preview.

🤖 Generated with Claude Code

Fredrik liked the dark design from #33 better than the editorial reset
in #34, but not its generic look. This keeps the app's dark ground and
energy colours and drops what made it read as a template: no glows,
gradients, rounded cards, pill buttons, scroll fades or grey second
halves in headings.

The layout stays editorial: a label rail beside the text, ruled lists,
square corners, hairlines, underline form fields and the transcript.
Headings use weight, not colour, for their one stressed word. The
chart, plan dial and receipt use the app's energy colours, and the
savings rail shows the example day's prices as the app's block bars.
The page no longer loads sourceful.css; the other pages still do.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T09:02:28.272918Z 9c5f4b3 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

@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: 9c5f4b3b04

ℹ️ 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 home.css
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; padding: 10px 14px; border: 1px solid var(--rule); font-size: 11px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); padding: 6px 0; border: 1px solid var(--rule); background: var(--raised); }

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 Restore viewport-height scrolling for the mobile menu

On short viewports, such as a phone in landscape at 812 × 375, the seven mobile navigation links extend below the screen. The replacement stylesheet drops the max-height: calc(100svh - 100px) and overflow-y: auto previously supplied by sourceful.css. Because the menu is attached to the sticky header, scrolling the page does not bring its bottom links into view, leaving destinations such as News and Discord inaccessible through the menu. Restore a viewport-relative height limit and internal scrolling.

Useful? React with 👍 / 👎.

@frahlg
frahlg merged commit b074fcd into main Oct 30, 2026
1 check passed
@frahlg
frahlg deleted the web/dark-without-template branch November 11, 2026 09:25
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