Skip to content

Take the SAT logo and the OS colour scheme from qmlcomponents - #29

Merged
jcelerier merged 3 commits into
mainfrom
sat-logo-os-colour-scheme
Oct 12, 2026
Merged

jcelerier merged 3 commits into
mainfrom
sat-logo-os-colour-scheme

Conversation

@jcelerier

@jcelerier jcelerier commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Depends on sat-mtl/qmlcomponents#6.

  • qml/Main.qml: drops the Binding { target: Theme; property: "dark" } — Theme.dark now follows Application.styleHints.colorScheme inside the shared module.
  • qml/Main.qml:315: the SAT partner logo is Theme.satLogoSource instead of a bundled PNG. The bundled qml/spm/resources/images/sat_logo.png was the white lockup only, so on a light desktop it rendered near-invisible; it is deleted.

Submodule

qml/ca/qc/sat/qmlcomponents is bumped 73faf69 → a4348c9, which is the head of the unmerged sat-logo-os-colour-scheme branch. Re-point it at the merge commit before this lands.

Validation

Ran the shipped packages-master-2026-10-09 AppImage — i.e. a real -DSCORE_QT_PLUGINS_NO_IMAGEFORMATS=1 -DSCORE_QT_PLUGINS_NO_QTQUICK3D=1 static build — with its bundled qml/ tree swapped for this branch's, on a live Plasma 6 / Wayland session, and flipped the OS colour scheme underneath it with plasma-apply-colorscheme.

One process, no restart:

OS colorScheme Theme.dark Theme.satLogoSource
2 (Dark) true logo-sat-white.png
1 (Light) false logo-sat-black.png
2 (Dark) true logo-sat-white.png

Screenshots of the About dialog in each scheme show the black lockup on the light background and the white one on the dark background, both decoding correctly.

🤖 Generated with Claude Code

https://claude.ai/code/session_019QYyvhRXvSMSRQPaq12Teq

jcelerier and others added 3 commits October 12, 2026 11:46
Theme.dark now follows Application.styleHints.colorScheme on its own,
so the Binding here was doing the shared module's job. The SAT logo
likewise comes from Theme.satLogoSource, which picks the black or white
lockup for the active scheme; the bundled sat_logo.png was the white
one only and showed up near-invisible on a light desktop.

The submodule points at the head of qmlcomponents'
sat-logo-os-colour-scheme branch, which is NOT merged yet
(sat-mtl/qmlcomponents#6). Re-point it at the
merge commit before this lands.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019QYyvhRXvSMSRQPaq12Teq
The pin was the head of the then-unmerged PR #6. Same tree, but
actions/checkout with submodules: recursive does not fetch refs/pull/*,
so CI could not resolve it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019QYyvhRXvSMSRQPaq12Teq
@jcelerier
jcelerier merged commit f36c86b into main Oct 12, 2026
8 of 9 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.

1 participant