Cleanup: removed Color.applyOpacity in favor of Qt.alpha

This commit is contained in:
LemmyCook 2025-09-04 11:29:45 -04:00
parent d53a404bf1
commit c1bec66151
7 changed files with 22 additions and 31 deletions

View file

@ -316,8 +316,8 @@ ColumnLayout {
// Padding around the inner row
property real pad: Style.marginS * scaling
// Visuals
color: Color.applyOpacity(Color.mOnSurface, "20")
border.color: Color.applyOpacity(Color.mOnSurface, "50")
color: Qt.alpha(Color.mOnSurface, 0.125)
border.color: Qt.alpha(Color.mOnSurface, Style.opacityLight)
border.width: Math.max(1, Style.borderS * scaling)
// Content