test fix
This commit is contained in:
@@ -13,7 +13,7 @@ Item {
|
|||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
|
|
||||||
property bool expanded: false
|
property bool expanded: false
|
||||||
property color textColor: DynamicColors.palette.m3primary
|
property color textColor: DynamicColors.palette.m3onSurface
|
||||||
property color barColor: DynamicColors.palette.m3primary
|
property color barColor: DynamicColors.palette.m3primary
|
||||||
|
|
||||||
Behavior on implicitWidth {
|
Behavior on implicitWidth {
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ Item {
|
|||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
text: "memory_alt"
|
text: "memory_alt"
|
||||||
color: DynamicColors.palette.m3primary
|
color: DynamicColors.palette.m3onSurface
|
||||||
}
|
}
|
||||||
|
|
||||||
Resource {
|
Resource {
|
||||||
@@ -53,7 +53,7 @@ Item {
|
|||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
text: "memory"
|
text: "memory"
|
||||||
color: DynamicColors.palette.m3secondary
|
color: DynamicColors.palette.m3onSurface
|
||||||
}
|
}
|
||||||
|
|
||||||
Resource {
|
Resource {
|
||||||
@@ -66,7 +66,7 @@ Item {
|
|||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
text: "gamepad"
|
text: "gamepad"
|
||||||
color: DynamicColors.palette.m3tertiary
|
color: DynamicColors.palette.m3onSurface
|
||||||
}
|
}
|
||||||
|
|
||||||
Resource {
|
Resource {
|
||||||
@@ -78,7 +78,7 @@ Item {
|
|||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
text: "developer_board"
|
text: "developer_board"
|
||||||
color: DynamicColors.palette.m3primary
|
color: DynamicColors.palette.m3onSurface
|
||||||
}
|
}
|
||||||
|
|
||||||
Resource {
|
Resource {
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ def generate(
|
|||||||
try:
|
try:
|
||||||
if preset:
|
if preset:
|
||||||
# try local presets directory: presets/<preset>/<flavour>.txt or presets/<preset>-<flavour>.txt
|
# try local presets directory: presets/<preset>/<flavour>.txt or presets/<preset>-<flavour>.txt
|
||||||
base1 = Path("zshell") / "assets" / "schemes" / \
|
base1 = Path(__file__).parent.parent / "assets" / "schemes" / \
|
||||||
preset / flavour / f"{mode}.txt"
|
preset / flavour / f"{mode}.txt"
|
||||||
if base1.exists():
|
if base1.exists():
|
||||||
preset_path = base1
|
preset_path = base1
|
||||||
|
|||||||
Reference in New Issue
Block a user