Skip to content

Add five colour themes: Lagoon, Sakura, Matcha, Synthwave and Dune - #11

Merged
HugoHeneault merged 1 commit into
ownwebfrom
themes-colors
Nov 2, 2026
Merged

HugoHeneault merged 1 commit into
ownwebfrom
themes-colors

Conversation

@camilleRiquet

Copy link
Copy Markdown

🤖 Généré par Claude Opus 5.5

Five new colour themes in Settings > Appearance > Theme: Lagoon, Sakura, Matcha, Synthwave and Dune.

  • Each preset changes the six window grounds (light and dark) and tints the sidebar glass with its sidebar colour.
  • Each has a code and a terminal scheme sharing its id, standing on the theme's surface and sunken, so the editor and the shell do not stay on Bloom's navy.
  • Token and ANSI colours, the accent and the status colours are unchanged: a theme still cannot change them.

Limits

  • Light mode is subtle by design. textTertiary and the syntax comment clear 4.5:1 on white by a few hundredths, so the light reading grounds keep Bloom's luminance steps and the colour lives in the sidebar, selection and rule. Dark mode has room and is where these themes show.
  • Lagoon and Matcha take their light sidebar and selection a step darker than Bloom's, because cyan and green at Bloom's luminance are invisible. Tertiary ink there is 4.08:1 and 3.62:1, against 4.32:1 and 3.76:1 for Bloom. Neither ground is covered by a test.
  • Every tested pairing (readableInk, readableSyntax, codeSchemeRoundTripAndContrast) was computed with the formula in Contrast.swift: the worst is 4.51:1.

Checks

  • swift build -Xswiftc -warnings-as-errors and make lint pass. SwiftLint is not installed on this Mac, so make swiftlint did not run.
  • Core tests were not run locally, per CLAUDE.md. A new test, ColourThemeTests.schemesExist, catches a theme naming a scheme that does not exist, which find would otherwise hide by falling back to Bloom.
  • Tried in Bloom Dev.

@HugoHeneault
HugoHeneault merged commit 9e96069 into ownweb Nov 2, 2026
4 checks passed
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.

2 participants