forked from Shinonome/dots-hyprland
cleaner import; sidebar quick toggles
This commit is contained in:
@@ -122,6 +122,8 @@ Singleton {
|
||||
property color colLayer3Active: mix(colLayer3, colOnLayer3, 0.80);
|
||||
property color colPrimaryHover: mix(m3colors.m3primary, colLayer1Hover, 0.7)
|
||||
property color colPrimaryActive: mix(m3colors.m3primary, colLayer1Active, 0.4)
|
||||
property color colTooltip: m3colors.m3inverseSurface
|
||||
property color colOnTooltip: m3colors.m3inverseOnSurface
|
||||
}
|
||||
|
||||
rounding: QtObject {
|
||||
@@ -148,7 +150,8 @@ Singleton {
|
||||
property int small: 11
|
||||
property int normal: 12
|
||||
property int large: 13
|
||||
property int larger: 16
|
||||
property int larger: 14
|
||||
property int huge: 16
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@ import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import Quickshell.Services.Mpris
|
||||
import "../.."
|
||||
|
||||
Singleton {
|
||||
id: root;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import "../"
|
||||
import "root:/modules/common"
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import "../"
|
||||
import "root:/modules/common"
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import "../"
|
||||
import "root:/modules/common"
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
import "root:/modules/common"
|
||||
import "root:/modules/common/widgets"
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
|
||||
ToolTip {
|
||||
property string content
|
||||
parent: parent
|
||||
visible: parent.hovered
|
||||
padding: 7
|
||||
background: Rectangle {
|
||||
color: Appearance.colors.colTooltip
|
||||
radius: Appearance.rounding.small
|
||||
}
|
||||
StyledText {
|
||||
text: content
|
||||
id: tooltipText
|
||||
color: Appearance.colors.colOnTooltip
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user