move qs config to work on mango and do general improvements

This commit is contained in:
lucy 2026-08-23 21:25:55 +02:00
commit 0f8929c55a
30 changed files with 994 additions and 0 deletions

10
widgets/BarComponent.qml Normal file
View file

@ -0,0 +1,10 @@
import Quickshell
import QtQuick
import qs
import qs.settings
Rectangle {
property bool active: false
color: active ? Colors.activeModuleBg : Colors.moduleBg
implicitHeight: Config.moduleHeight
}

11
widgets/BarComponent.qml~ Normal file
View file

@ -0,0 +1,11 @@
import Quickshell
import QtQuick
Rectangle {
property bool active: false
color: active ? Colors.activeModuleBg : Colors.moduleBg
implicitHeight: Config.moduleHeight
}

16
widgets/MaterialIcon.qml Normal file
View file

@ -0,0 +1,16 @@
import qs
import qs.settings
import QtQuick
Text {
font.family: "Material Symbols Outlined"
color: Colors.text
font.pointSize: Config.iconSize
property bool fill: false
renderType: Text.NativeRendering
font.variableAxes: {
"FILL": fill ? 1 : 0,
"opsz": 24,
"wght": 400
}
}

9
widgets/StyledText.qml Normal file
View file

@ -0,0 +1,9 @@
import QtQuick
import qs
import qs.settings
Text {
color: Colors.text
font.family: Config.font
font.pixelSize: Config.fontSize
}

10
widgets/StyledText.qml~ Normal file
View file

@ -0,0 +1,10 @@
import QtQuick
import qs
import qs.settings
Text {
color: Colors.text
anchors.verticalCenter: parent.verticalCenter
font.family: Config.font
font.pixelSize: Config.fontSize
}

View file

@ -0,0 +1,9 @@
import Quickshell
import QtQuick
Rectangle {
color: Colors.moduleBg
}