From bdd37012bb1e855220e465fa6db101bed0cc4992 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 6 May 2025 18:15:06 +1000 Subject: refactor: popout layer consistency with border Make them use the same background colour and rounding as the border --- config/BackgroundConfig.qml | 16 ---------------- config/BorderConfig.qml | 13 +++++++++++++ 2 files changed, 13 insertions(+), 16 deletions(-) delete mode 100644 config/BackgroundConfig.qml create mode 100644 config/BorderConfig.qml (limited to 'config') diff --git a/config/BackgroundConfig.qml b/config/BackgroundConfig.qml deleted file mode 100644 index a4481fd..0000000 --- a/config/BackgroundConfig.qml +++ /dev/null @@ -1,16 +0,0 @@ -pragma Singleton - -import Quickshell -import QtQuick - -Singleton { - id: root - - readonly property Border border: Border {} - - component Border: QtObject { - readonly property bool enabled: false - readonly property int thickness: Appearance.padding.normal - readonly property int rounding: Appearance.rounding.large - } -} diff --git a/config/BorderConfig.qml b/config/BorderConfig.qml new file mode 100644 index 0000000..a69cf59 --- /dev/null +++ b/config/BorderConfig.qml @@ -0,0 +1,13 @@ +pragma Singleton + +import "root:/services" +import Quickshell +import QtQuick + +Singleton { + id: root + + readonly property color colour: Colours.palette.m3surface + readonly property int thickness: Appearance.padding.normal + readonly property int rounding: Appearance.rounding.large +} -- cgit v1.2.3-freya