Fix plugin colours on Qt 6.12
Qt 6.12's QtQuick exports a Color singleton, which hides the Omarchy and Noctalia kits' Commons.Color: every Color.foreground read undefined, so plugin buttons, toggles and text fell back to black. The kits now import QtQuick 6.8, which predates it, and the installer pins the same version in plugin files that use Color (reinstall plugins to pick it up). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fc272e45b2
commit
84c2385cfa
77 files changed
+99
-74
No files matched your search
@@ -1,5 +1,5 @@
|
||||
pragma Singleton
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import "BorderGeometry.js" as Geometry
|
||||
|
||||
// Central border-spec factory for shell surfaces and controls. A spec carries
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
pragma Singleton
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import "../../../theme" as G
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import QtQuick.Controls
|
||||
import qs.compat.omarchy.Commons
|
||||
// The button. One component for every clickable thing in the kit.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import qs.compat.omarchy.Commons
|
||||
// Mutually-exclusive row of Buttons — the form-style "pick one of N"
|
||||
// pattern (bar position top/right/bottom/left, theme preset chips, etc.).
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import qs.compat.omarchy.Commons
|
||||
Item {
|
||||
id: root
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import qs.compat.omarchy.Commons
|
||||
// Shared visual chrome for keyboard-and-mouse-navigable items inside a panel.
|
||||
// Contract: items must NOT read `containsMouse` for color/border. Mouse
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import QtQuick.Controls
|
||||
import qs.compat.omarchy.Commons
|
||||
// Themed single-select dropdown. Trigger row paints with the kit's focus
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import QtQuick.Controls as QQC
|
||||
import QtQuick.Window
|
||||
import Quickshell.Io
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import QtQuick.Controls as QQC
|
||||
import qs.compat.omarchy.Commons
|
||||
Column {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import qs.compat.omarchy.Commons
|
||||
Item {
|
||||
id: root
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import Quickshell.Io
|
||||
import qs.compat.omarchy.Commons
|
||||
// Base item for plugin popup widgets. Many first-party plugins expose a bar
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import qs.compat.omarchy.Commons
|
||||
// Small (22×22 by default) icon button used at the right edge of panel rows
|
||||
// for inline actions — forget network, confirm passphrase, unpair device,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import qs.compat.omarchy.Commons
|
||||
Item {
|
||||
id: root
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import qs.compat.omarchy.Commons
|
||||
// Small-caps-style label that introduces a panel section ("DNS provider",
|
||||
// "Wi-Fi networks", "Output device", "Paired devices"). Sits between a
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import qs.compat.omarchy.Commons
|
||||
// 1px horizontal divider for panel sections. The alpha-on-foreground tint
|
||||
// keeps the rule legible against the panel background without competing
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import qs.compat.omarchy.Commons
|
||||
import "../../../theme" as G
|
||||
Item {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import QtQuick.Controls
|
||||
import qs.compat.omarchy.Commons
|
||||
// Styled wrapper around Qt Quick Controls ToolTip. Drop-in: declare inside
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import QtQuick.Controls as QQC
|
||||
import qs.compat.omarchy.Commons
|
||||
// Searchable single-select dropdown. Same trigger shape as Dropdown, but
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import QtQuick.Layouts
|
||||
import QtQuick.Shapes
|
||||
import Quickshell
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import QtQuick.Controls
|
||||
import qs.compat.omarchy.Commons
|
||||
// Single-line text input with the kit's focus + selection styling. Inherits
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import qs.compat.omarchy.Commons
|
||||
// Labeled toggle row: title + optional description on the left, a
|
||||
// `ToggleSwitch` on the right. Clicking anywhere on the row emits `clicked()`;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import qs.compat.omarchy.Commons
|
||||
import "../../../theme" as G
|
||||
// Bare on/off switch: a track with a sliding knob and no label. This is the
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick 6.8 // 6.12 added a QtQuick Color singleton that hides Commons.Color
|
||||
import qs.compat.omarchy.Commons
|
||||
import "../../../theme" as G
|
||||
Item {
|
||||
|
||||
Reference in new issue
Block a user