From f7a43077fe4e139dd7e3f46f448e0951740ec148 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 2 Sep 2026 18:26:45 +0800 Subject: fix: qmlfmt IListView: animation --- config/Style.qml | 142 +++++++++++++++++++++++++++---------------------------- 1 file changed, 71 insertions(+), 71 deletions(-) (limited to 'config/Style.qml') diff --git a/config/Style.qml b/config/Style.qml index 25bf6dc..2ec507a 100644 --- a/config/Style.qml +++ b/config/Style.qml @@ -4,85 +4,85 @@ import Quickshell import QtQuick Singleton { - id: root + id: root - readonly property Rounding rounding: Rounding {} - readonly property Spacing spacing: Spacing {} - readonly property Padding padding: Padding {} - readonly property Font font: Font {} - readonly property Anim anim: Anim {} + readonly property Rounding rounding: Rounding {} + readonly property Spacing spacing: Spacing {} + readonly property Padding padding: Padding {} + readonly property Font font: Font {} + readonly property Anim anim: Anim {} - component Rounding: QtObject { - readonly property int smaller: 10 - readonly property int small: 12 - readonly property int normal: 17 - readonly property int large: 25 - readonly property int full: 1000 - } + component Rounding: QtObject { + readonly property int smaller: 10 + readonly property int small: 12 + readonly property int normal: 17 + readonly property int large: 25 + readonly property int full: 1000 + } - component Spacing: QtObject { - readonly property int small: 7 - readonly property int smaller: 10 - readonly property int normal: 12 - readonly property int larger: 15 - readonly property int largerr: 17 - readonly property int large: 20 - } + component Spacing: QtObject { + readonly property int small: 7 + readonly property int smaller: 10 + readonly property int normal: 12 + readonly property int larger: 15 + readonly property int largerr: 17 + readonly property int large: 20 + } - component Padding: QtObject { - readonly property int small: 5 - readonly property int smaller: 7 - readonly property int normal: 10 - readonly property int larger: 12 - readonly property int large: 15 - } + component Padding: QtObject { + readonly property int small: 5 + readonly property int smaller: 7 + readonly property int normal: 10 + readonly property int larger: 12 + readonly property int large: 15 + } - component FontFamily: QtObject { - readonly property string sans: "SF Pro Text" - readonly property string symbols: "Symbols Nerd Font Mono" - readonly property string iosevka: "Iosevka Nerd Font" - readonly property string mono: "JetBrains Mono" - } + component FontFamily: QtObject { + readonly property string sans: "SF Pro Text" + readonly property string symbols: "Symbols Nerd Font Mono" + readonly property string iosevka: "Iosevka Nerd Font" + readonly property string mono: "JetBrains Mono" + } - component FontSize: QtObject { - readonly property int small: 11 - readonly property int smaller: 12 - readonly property int normal: 13 - readonly property int larger: 15 - readonly property int largerr: 17 - readonly property int large: 18 - readonly property int extraLarge: 28 - } + component FontSize: QtObject { + readonly property int small: 11 + readonly property int smaller: 12 + readonly property int normal: 13 + readonly property int larger: 15 + readonly property int largerr: 17 + readonly property int large: 18 + readonly property int extraLarge: 28 + } - component Font: QtObject { - readonly property FontFamily family: FontFamily {} - readonly property FontSize size: FontSize {} - } + component Font: QtObject { + readonly property FontFamily family: FontFamily {} + readonly property FontSize size: FontSize {} + } - component AnimCurves: QtObject { - readonly property list emphasized: [0.05, 0, 2 / 15, 0.06, 1 / 6, 0.4, 5 / 24, 0.82, 0.25, 1, 1, 1] - readonly property list emphasizedAccel: [0.3, 0, 0.8, 0.15, 1, 1] - readonly property list emphasizedDecel: [0.05, 0.7, 0.1, 1, 1, 1] - readonly property list standard: [0.2, 0, 0, 1, 1, 1] - readonly property list standardAccel: [0.3, 0, 1, 1, 1, 1] - readonly property list standardDecel: [0, 0, 0, 1, 1, 1] - readonly property list expressiveFastSpatial: [0.42, 1.67, 0.21, 0.9, 1, 1] - readonly property list expressiveDefaultSpatial: [0.38, 1.21, 0.22, 1, 1, 1] - readonly property list expressiveEffects: [0.34, 0.8, 0.34, 1, 1, 1] - } + component AnimCurves: QtObject { + readonly property list emphasized: [0.05, 0, 2 / 15, 0.06, 1 / 6, 0.4, 5 / 24, 0.82, 0.25, 1, 1, 1] + readonly property list emphasizedAccel: [0.3, 0, 0.8, 0.15, 1, 1] + readonly property list emphasizedDecel: [0.05, 0.7, 0.1, 1, 1, 1] + readonly property list standard: [0.2, 0, 0, 1, 1, 1] + readonly property list standardAccel: [0.3, 0, 1, 1, 1, 1] + readonly property list standardDecel: [0, 0, 0, 1, 1, 1] + readonly property list expressiveFastSpatial: [0.42, 1.67, 0.21, 0.9, 1, 1] + readonly property list expressiveDefaultSpatial: [0.38, 1.21, 0.22, 1, 1, 1] + readonly property list expressiveEffects: [0.34, 0.8, 0.34, 1, 1, 1] + } - component AnimDurations: QtObject { - readonly property int small: 200 - readonly property int normal: 400 - readonly property int large: 600 - readonly property int extraLarge: 1000 - readonly property int expressiveFastSpatial: 350 - readonly property int expressiveDefaultSpatial: 500 - readonly property int expressiveEffects: 200 - } + component AnimDurations: QtObject { + readonly property int small: 200 + readonly property int normal: 400 + readonly property int large: 600 + readonly property int extraLarge: 1000 + readonly property int expressiveFastSpatial: 350 + readonly property int expressiveDefaultSpatial: 500 + readonly property int expressiveEffects: 200 + } - component Anim: QtObject { - readonly property AnimCurves curves: AnimCurves {} - readonly property AnimDurations durations: AnimDurations {} - } + component Anim: QtObject { + readonly property AnimCurves curves: AnimCurves {} + readonly property AnimDurations durations: AnimDurations {} + } } -- cgit v1.2.3