diff --git a/widgets/StyledLabel.qml b/widgets/StyledLabel.qml new file mode 100644 index 0000000..13781b9 --- /dev/null +++ b/widgets/StyledLabel.qml @@ -0,0 +1,17 @@ +import qs.config +import QtQuick +import Quickshell.Widgets + +WrapperRectangle { + id: root + required property Component content + margin: 8 + radius: 8 + color: Theme.palette.base100 + Behavior on color { + ColorAnimation { + duration: 200 + easing.type: Easing.InOutQuad + } + } +} diff --git a/widgets/StyledText.qml b/widgets/StyledText.qml new file mode 100644 index 0000000..a11a4ea --- /dev/null +++ b/widgets/StyledText.qml @@ -0,0 +1,7 @@ +import qs.config +import QtQuick + +Text { + color: Theme.palette.basecontent + font.family: Theme.fontFamily +}