apply reduced light mode opacity also to dock, notifications & OSD

This commit is contained in:
notiant
2026-03-28 23:11:39 +01:00
committed by GitHub
parent decb65ae95
commit 39a6671151
9 changed files with 23 additions and 25 deletions
+3 -3
View File
@@ -96,7 +96,7 @@ Item {
anchors.fill: parent
anchors.margins: shadowPadding
radius: Style.radiusL
color: Qt.alpha(Color.mSurface, Settings.data.notifications.backgroundOpacity || 1.0)
color: Qt.alpha(Color.mSurface, Color.adaptiveOpacity(Settings.data.notifications.backgroundOpacity) || 1.0)
// Colored border based on type
border.width: Style.borderS
@@ -110,7 +110,7 @@ Item {
baseColor = Color.mOutline;
break;
}
return Qt.alpha(baseColor, Settings.data.notifications.backgroundOpacity || 1.0);
return Qt.alpha(baseColor, Color.adaptiveOpacity(Settings.data.notifications.backgroundOpacity) || 1.0);
}
// Progress bar
@@ -142,7 +142,7 @@ Item {
baseColor = Color.mPrimary; // Match standard notification color
break;
}
return Qt.alpha(baseColor, Settings.data.notifications.backgroundOpacity || 1.0);
return Qt.alpha(baseColor, Color.adaptiveOpacity(Settings.data.notifications.backgroundOpacity) || 1.0);
}
}
}