mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 18:30:46 +02:00
Put all the QML colors into a single standalone configurable file
This commit is contained in:
@@ -3,6 +3,7 @@ pragma ComponentBehavior: Bound
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Hyprland
|
||||
import "../theme" as Theme
|
||||
import "root:/"
|
||||
|
||||
Scope {
|
||||
@@ -113,7 +114,7 @@ Scope {
|
||||
//implicitWidth: Math.max(700, tooltipItem.largestAnimWidth) // max due to qtwayland glitches
|
||||
//implicitHeight: Math.max(700, tooltipItem.largestAnimHeight) // max due to qtwayland glitches
|
||||
visible: true
|
||||
color: "transparent"
|
||||
color: Theme.Colors.tooltipColor1
|
||||
//color: "#20ff0000"
|
||||
|
||||
mask: Region {
|
||||
@@ -154,7 +155,7 @@ Scope {
|
||||
// bkg
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: "#3B253F"
|
||||
color: Theme.Colors.tooltipColor2
|
||||
}
|
||||
|
||||
readonly property var targetWidth: shownItem?.implicitWidth ?? 0
|
||||
|
||||
Reference in New Issue
Block a user