Merge pull request #2340 from notiant/patch-4

Apply reduced light mode opacity also to dock, notifications & OSD
This commit is contained in:
Lysec
2026-03-29 10:34:33 +02:00
committed by GitHub
9 changed files with 23 additions and 25 deletions
@@ -255,7 +255,7 @@ Variants {
ShapePath {
strokeWidth: -1
fillColor: Qt.alpha(Color.mSurface, Color.panelBackgroundOpacity)
fillColor: Qt.alpha(Color.mSurface, Color.adaptiveOpacity(Settings.data.ui.panelBackgroundOpacity))
// Offset by radius to account for Shape's extended bounds
startX: panelShape.radius + panelShape.radius * panelShape.tlMultX
@@ -392,7 +392,6 @@ ColumnLayout {
color: Color.smartAlpha(Color.mSurfaceVariant)
border.color: Color.mOutline
border.width: Style.borderS
opacity: Style.opacityMedium
Image {
anchors.centerIn: parent
@@ -182,6 +182,7 @@ ColumnLayout {
label: I18n.tr("panels.wallpaper.settings-use-original-images-label")
description: I18n.tr("panels.wallpaper.settings-use-original-images-description")
checked: Settings.data.wallpaper.useOriginalImages
enabled: Settings.data.wallpaper.enabled
onToggled: checked => Settings.data.wallpaper.useOriginalImages = checked
defaultValue: Settings.getDefaultValue("wallpaper.useOriginalImages")
}
@@ -189,6 +190,7 @@ ColumnLayout {
RowLayout {
spacing: Style.marginM
Layout.fillWidth: true
enabled: Settings.data.wallpaper.enabled
NLabel {
label: I18n.tr("panels.wallpaper.settings-clear-cache-label")
@@ -228,10 +230,9 @@ ColumnLayout {
NValueSlider {
Layout.fillWidth: true
enabled: Settings.data.wallpaper.overviewEnabled
visible: Settings.data.wallpaper.overviewEnabled
label: I18n.tr("panels.wallpaper.settings-overview-blur-strength-label")
description: I18n.tr("panels.wallpaper.settings-overview-blur-strength-description")
visible: CompositorService.isNiri
from: 0.0
to: 1.0
stepSize: 0.01
@@ -244,10 +245,9 @@ ColumnLayout {
NValueSlider {
Layout.fillWidth: true
enabled: Settings.data.wallpaper.overviewEnabled
visible: Settings.data.wallpaper.overviewEnabled
label: I18n.tr("panels.wallpaper.settings-overview-tint-label")
description: I18n.tr("panels.wallpaper.settings-overview-tint-description")
visible: CompositorService.isNiri
from: 0.0
to: 1.0
stepSize: 0.01