diff --git a/Common/Theme.qml b/Common/Theme.qml index 392848a6..ab0e2e87 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) @@ -97,6 +98,7 @@ Singleton { property color info: currentThemeData.info || "#2196F3" property color tempWarning: "#ff9933" property color tempDanger: "#ff5555" + 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() } } } diff --git a/generate-themes.sh b/generate-themes.sh index b62707a1..eeab5d17 100755 --- a/generate-themes.sh +++ b/generate-themes.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # System theme generation script for DankMaterialShell # This script uses matugen to generate GTK and Qt themes from wallpaper or color diff --git a/verify-notifications.sh b/verify-notifications.sh index c1f62ef2..8cd0ffab 100755 --- a/verify-notifications.sh +++ b/verify-notifications.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Enhanced Notification System Test Script with Common Icons # Uses icons that are more likely to be available on most systems