Skip to content

Qualify the Omarchy palette for Qt 6.12 and honor reduced motion - #24

Open
yamz8 wants to merge 1 commit into
mainfrom
claude/project-thread-mycqac
Open

yamz8 wants to merge 1 commit into
mainfrom
claude/project-thread-mycqac

Conversation

@yamz8

@yamz8 yamz8 commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Requested by Yam · project thread

Why

Omarchy 4.0.5 (Oct 18) moved the shell to Qt 6.12. Qt 6.12's QtQuick adds its own Color type, which shadows the shell's theme palette singleton. Omarchy fixed its own QML in omacom/omarchy#14553 and now documents that third-party plugins must import qs.Commons as Commons and use Commons.Color (docs/omarchy-shell.md, "Theme tokens"). Omarchy also added a temporary QtQuick 6.11 import pin (#14845) to keep older plugins working, but the documented rule is the one plugins should follow.

Omarchy's motion rules (Oct 24) also require every animation length to go through Style.duration(ms), and looping animations to stop on Style.reduceMotion, so omarchy toggle animations turns them off.

Changes

  • Panel.qml, PokeButton.qml: add import qs.Commons as Commons and change all bare Color.* palette reads to Commons.Color.*. Style and Border stay unqualified, as Omarchy recommends.
  • PokeButton.qml: the send spinner uses Style.duration(900) and runs only while !Style.reduceMotion.
  • docs/omarchy.md: a short compatibility section so future panel edits follow both rules.

I also checked the rest of the plugin against Omarchy HEAD: the Panel, KeyboardPanel, BarWidget, BarIconButton, PanelKeyCatcher and bar facade APIs the panel uses are all still present, the SquareKeyboardPanel card lookup still matches, the manifest (defaultSection: "right") is still valid, and omarchy plugin add/enable/update/remove/list --json used by the CLI are unchanged apart from translated prompts. No CLI change is needed.

Testing

No QML tooling runs in CI here, and I had no Omarchy desktop to load the panel on, so this needs a quick check on a real Omarchy machine (open the panel, send a poke, and check colors follow a theme switch). Version numbers are left at 0.3.1; bump them when you cut the release.

The same QML change is mirrored in yamz8/pokachy-omarchy.


Generated by Claude Code

Omarchy 4.0.5 moved the shell to Qt 6.12, which adds a QtQuick Color
type that shadows the theme palette singleton. Omarchy now asks plugins
to use Commons.Color. The send spinner also routes its duration through
Style.duration and stops while animations are turned off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CmP2EYrJuAX6XDJGAuK4Ay

This branch has not been deployed

No deployments
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