From f4051c9c515d01b7e4f40f9de263c8d3d3876285 Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Sat, 9 Aug 2025 16:17:07 +0200 Subject: [PATCH] First little steps --- Theme/Style.qml | 45 +++++++++++++++++++++++++++++++++++++++++++++ shell.qml | 9 +++++++++ 2 files changed, 54 insertions(+) create mode 100644 Theme/Style.qml create mode 100644 shell.qml diff --git a/Theme/Style.qml b/Theme/Style.qml new file mode 100644 index 0000000..3d8c8f0 --- /dev/null +++ b/Theme/Style.qml @@ -0,0 +1,45 @@ +pragma Singleton +import QtQuick +import Quickshell +import Quickshell.Io + +Singleton { + id: root + + /* + Preset sizes for font, radii, ? + */ + + // Font + property int fontExtraLarge: 32 + property int fontLarge: 16 + property int fontMedium: 14 + property int fontSmall: 12 + + // Font weight + property int fontWeightRegular: 400 + property int fontWeightMedium: 500 + property int fontWeightBold: 700 + + // Radii + property int radiusLarge: 20 + property int radiusMedium: 16 + property int radiusSmall: 12 + + // Border + property int borderThin: 1 + property int borderMedium: 2 + property int borderThick: 3 + + // Spacing + property int spacingExtraLarge: 20 + property int spacingLarge: 16 + property int spacingMedium: 12 + property int spacingSmall: 8 + + // Animation duration (ms) + property int animationFast: 150 + property int animationNormal: 300 + property int animationSlow: 500 + } + diff --git a/shell.qml b/shell.qml new file mode 100644 index 0000000..da003ef --- /dev/null +++ b/shell.qml @@ -0,0 +1,9 @@ +import Quickshell + +ShellRoot { + /* + Here we go, this is it. Rebuild time... + No spaghetti code, preset sizing, proper project structure + only "spawn" UI, do not do anything else here. + */ +} \ No newline at end of file