dock: adjust active color

This commit is contained in:
end-4 2025-06-07 23:02:15 +02:00
parent 1add44ba2f
commit bbd2bfda5d
2 changed files with 3 additions and 2 deletions

View file

@ -24,7 +24,7 @@ Scope { // Scope
screen: modelData
property bool reveal: root.pinned
|| ((ConfigOptions?.dock.hoverToReveal ?? true) && dockMouseArea.containsMouse)
|| (ConfigOptions?.dock.hoverToReveal && dockMouseArea.containsMouse)
|| dockApps.requestDockShow
|| (!ToplevelManager.activeToplevel?.activated)

View file

@ -2,6 +2,7 @@ import "root:/"
import "root:/services"
import "root:/modules/common"
import "root:/modules/common/widgets"
import "root:/modules/common/functions/color_utils.js" as ColorUtils
import QtQuick
import QtQuick.Controls
import QtQuick.Effects
@ -71,7 +72,7 @@ DockButton {
implicitWidth: (appToplevel.toplevels.length <= 3) ?
appButton.countDotWidth : appButton.countDotHeight // Circles when too many
implicitHeight: appButton.countDotHeight
color: Appearance.m3colors.m3primary
color: appIsActive ? Appearance.m3colors.m3primary : ColorUtils.transparentize(Appearance.colors.colOnLayer0, 0.4)
}
}
}