diff --git a/Modules/SidePanel/Cards/ProfileCard.qml b/Modules/SidePanel/Cards/ProfileCard.qml index a9ef68b..66ecaa2 100644 --- a/Modules/SidePanel/Cards/ProfileCard.qml +++ b/Modules/SidePanel/Cards/ProfileCard.qml @@ -47,7 +47,8 @@ NBox { } NText { text: `System uptime: ${uptimeText}` - color: Color.mOnSurface + font.pointSize: Style.fontSizeS * scaling + color: Color.mOnSurfaceVariant } } diff --git a/Widgets/NIconButton.qml b/Widgets/NIconButton.qml index e5576ed..296279e 100644 --- a/Widgets/NIconButton.qml +++ b/Widgets/NIconButton.qml @@ -38,6 +38,13 @@ Rectangle { border.color: root.enabled && root.hovering ? colorBorderHover : colorBorder border.width: Math.max(1, Style.borderS * scaling) + Behavior on color { + ColorAnimation { + duration: Style.animationNormal + easing.type: Easing.InOutQuad + } + } + NIcon { icon: root.icon font.pointSize: Math.max(1, root.width * 0.4) @@ -46,6 +53,13 @@ Rectangle { x: (root.width - width) / 2 // Center vertically accounting for font metrics y: (root.height - height) / 2 + (height - contentHeight) / 2 + + Behavior on color { + ColorAnimation { + duration: Style.animationFast + easing.type: Easing.InOutQuad + } + } } NTooltip { diff --git a/Widgets/NToast.qml b/Widgets/NToast.qml index ffb7a80..c6ccbbc 100644 --- a/Widgets/NToast.qml +++ b/Widgets/NToast.qml @@ -112,8 +112,8 @@ Item { RowLayout { id: contentLayout anchors.fill: parent - anchors.margins: Style.marginM * scaling - spacing: Style.marginS * scaling + anchors.margins: Style.marginL * scaling + spacing: Style.marginL * scaling // Icon NIcon {