summaryrefslogtreecommitdiff
path: root/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Common/Appearance.qml
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Common/Appearance.qml')
-rw-r--r--raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Common/Appearance.qml66
1 files changed, 66 insertions, 0 deletions
diff --git a/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Common/Appearance.qml b/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Common/Appearance.qml
new file mode 100644
index 0000000..3c22566
--- /dev/null
+++ b/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Common/Appearance.qml
@@ -0,0 +1,66 @@
+pragma Singleton
+pragma ComponentBehavior: Bound
+
+import QtQuick
+import Quickshell
+
+Singleton {
+ id: root
+
+ readonly property Rounding rounding: Rounding {}
+ readonly property Spacing spacing: Spacing {}
+ readonly property FontSize fontSize: FontSize {}
+ readonly property Anim anim: Anim {}
+
+ component Rounding: QtObject {
+ readonly property int small: 8
+ readonly property int normal: 12
+ readonly property int large: 16
+ readonly property int extraLarge: 24
+ readonly property int full: 1000
+ }
+
+ component Spacing: QtObject {
+ readonly property int small: 4
+ readonly property int normal: 8
+ readonly property int large: 12
+ readonly property int extraLarge: 16
+ readonly property int huge: 24
+ }
+
+ component FontSize: QtObject {
+ readonly property int small: 12
+ readonly property int normal: 14
+ readonly property int large: 16
+ readonly property int extraLarge: 20
+ readonly property int huge: 24
+ }
+
+ component AnimCurves: QtObject {
+ readonly property list<real> standard: [0.2, 0, 0, 1, 1, 1]
+ readonly property list<real> standardAccel: [0.3, 0, 1, 1, 1, 1]
+ readonly property list<real> standardDecel: [0, 0, 0, 1, 1, 1]
+ readonly property list<real> emphasized: [0.05, 0, 2 / 15, 0.06, 1
+ / 6, 0.4, 5 / 24, 0.82, 0.25, 1, 1, 1]
+ readonly property list<real> emphasizedAccel: [0.3, 0, 0.8, 0.15, 1, 1]
+ readonly property list<real> emphasizedDecel: [0.05, 0.7, 0.1, 1, 1, 1]
+ readonly property list<real> expressiveFastSpatial: [0.42, 1.67, 0.21, 0.9, 1, 1]
+ readonly property list<real> expressiveDefaultSpatial: [0.38, 1.21, 0.22, 1, 1, 1]
+ readonly property list<real> expressiveEffects: [0.34, 0.8, 0.34, 1, 1, 1]
+ }
+
+ component AnimDurations: QtObject {
+ readonly property int quick: 150
+ readonly property int normal: 300
+ readonly property int slow: 500
+ readonly property int extraSlow: 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 {}
+ }
+}