From bcd02d4e907f15e22478f66b94e5ddb28a76f93e Mon Sep 17 00:00:00 2001 From: bbedward Date: Thu, 21 Aug 2025 14:36:24 -0400 Subject: [PATCH] missing nvidia color --- Common/Theme.qml | 4 +++- Widgets/DankDropdown.qml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Common/Theme.qml b/Common/Theme.qml index dabd25ff..a907a192 100644 --- a/Common/Theme.qml +++ b/Common/Theme.qml @@ -70,7 +70,8 @@ Singleton { surfaceContainerHigh: getMatugenColor("surface_container_high", "#292b2f"), error: "#F2B8B5", warning: "#FF9800", - info: "#2196F3" + info: "#2196F3", + success: "#4CAF50" } } else { return StockThemes.getThemeByName(currentTheme, isLightMode) @@ -95,6 +96,7 @@ Singleton { property color error: currentThemeData.error || "#F2B8B5" property color warning: currentThemeData.warning || "#FF9800" property color info: currentThemeData.info || "#2196F3" + property color success: currentThemeData.success || "#4CAF50" property color primaryHover: Qt.rgba(primary.r, primary.g, primary.b, 0.12) property color primaryHoverLight: Qt.rgba(primary.r, primary.g, primary.b, 0.08) diff --git a/Widgets/DankDropdown.qml b/Widgets/DankDropdown.qml index e651f628..7e469659 100644 --- a/Widgets/DankDropdown.qml +++ b/Widgets/DankDropdown.qml @@ -348,7 +348,7 @@ Rectangle { onClicked: { root.currentValue = modelData root.valueChanged(modelData) - dropdownMenu.close() + ListView.view.popupRef.close() } } }