feat(settings): add translucent widgets toggle to gate smart transparency

This commit is contained in:
Lemmy
2026-03-10 09:48:17 -04:00
parent 0d495490cb
commit eafcb91b8b
22 changed files with 73 additions and 17 deletions
@@ -41,6 +41,14 @@ ColumnLayout {
text: Math.floor(Settings.data.ui.panelBackgroundOpacity * 100) + "%"
}
NToggle {
label: I18n.tr("panels.user-interface.translucent-widgets-label")
description: I18n.tr("panels.user-interface.translucent-widgets-description")
checked: Settings.data.ui.translucentWidgets
defaultValue: Settings.getDefaultValue("ui.translucentWidgets")
onToggled: checked => Settings.data.ui.translucentWidgets = checked
}
NValueSlider {
Layout.fillWidth: true
label: I18n.tr("panels.user-interface.dimmer-opacity-label")