Repository navigation
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Yam · project thread
Why
Omarchy 4.0.5 (Oct 18) moved the shell to Qt 6.12. Qt 6.12's
QtQuickadds its ownColortype, 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 importqs.Commons as Commonsand useCommons.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 onStyle.reduceMotion, soomarchy toggle animationsturns them off.Changes
Panel.qml,PokeButton.qml: addimport qs.Commons as Commonsand change all bareColor.*palette reads toCommons.Color.*.StyleandBorderstay unqualified, as Omarchy recommends.PokeButton.qml: the send spinner usesStyle.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,PanelKeyCatcherand bar facade APIs the panel uses are all still present, theSquareKeyboardPanelcard lookup still matches, the manifest (defaultSection: "right") is still valid, andomarchy plugin add/enable/update/remove/list --jsonused 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