summaryrefslogtreecommitdiff
path: root/raveos-hyprland-theme/theme-data/dms/PLUGINS/ColorDemoPlugin
diff options
context:
space:
mode:
authorNippy <nippy@rp1.hu>2026-07-28 15:11:02 +0200
committerNippy <nippy@rp1.hu>2026-07-28 15:11:02 +0200
commit077a92c901cb4f31bdb47a1a19a73636be0b4a48 (patch)
treed86acead5a642dd4d2dde332c0733012b37079c4 /raveos-hyprland-theme/theme-data/dms/PLUGINS/ColorDemoPlugin
parent0bd16bd038538d879cbf21f3ef0731f06c3bfb24 (diff)
downloadRaveOS-PKGBUILD-077a92c901cb4f31bdb47a1a19a73636be0b4a48.tar.gz
RaveOS-PKGBUILD-077a92c901cb4f31bdb47a1a19a73636be0b4a48.zip
new settings
Diffstat (limited to 'raveos-hyprland-theme/theme-data/dms/PLUGINS/ColorDemoPlugin')
-rw-r--r--raveos-hyprland-theme/theme-data/dms/PLUGINS/ColorDemoPlugin/ColorDemoSettings.qml32
-rw-r--r--raveos-hyprland-theme/theme-data/dms/PLUGINS/ColorDemoPlugin/ColorDemoWidget.qml57
-rw-r--r--raveos-hyprland-theme/theme-data/dms/PLUGINS/ColorDemoPlugin/plugin.json12
3 files changed, 0 insertions, 101 deletions
diff --git a/raveos-hyprland-theme/theme-data/dms/PLUGINS/ColorDemoPlugin/ColorDemoSettings.qml b/raveos-hyprland-theme/theme-data/dms/PLUGINS/ColorDemoPlugin/ColorDemoSettings.qml
deleted file mode 100644
index 1307fad..0000000
--- a/raveos-hyprland-theme/theme-data/dms/PLUGINS/ColorDemoPlugin/ColorDemoSettings.qml
+++ /dev/null
@@ -1,32 +0,0 @@
-import QtQuick
-import qs.Common
-import qs.Modules.Plugins
-import qs.Widgets
-
-PluginSettings {
- id: root
- pluginId: "colorDemo"
-
- StyledText {
- width: parent.width
- text: "Color Demo Settings"
- font.pixelSize: Theme.fontSizeLarge
- font.weight: Font.Bold
- color: Theme.surfaceText
- }
-
- StyledText {
- width: parent.width
- text: "Choose a custom color to display in the bar widget"
- font.pixelSize: Theme.fontSizeSmall
- color: Theme.surfaceVariantText
- wrapMode: Text.WordWrap
- }
-
- ColorSetting {
- settingKey: "customColor"
- label: "Custom Color"
- description: "Choose a custom color to display in the widget"
- defaultValue: Theme.primary
- }
-}
diff --git a/raveos-hyprland-theme/theme-data/dms/PLUGINS/ColorDemoPlugin/ColorDemoWidget.qml b/raveos-hyprland-theme/theme-data/dms/PLUGINS/ColorDemoPlugin/ColorDemoWidget.qml
deleted file mode 100644
index 6b90845..0000000
--- a/raveos-hyprland-theme/theme-data/dms/PLUGINS/ColorDemoPlugin/ColorDemoWidget.qml
+++ /dev/null
@@ -1,57 +0,0 @@
-import QtQuick
-import qs.Common
-import qs.Services
-import qs.Widgets
-import qs.Modules.Plugins
-
-PluginComponent {
- id: root
-
- property color customColor: pluginData.customColor || Theme.primary
-
- horizontalBarPill: Component {
- Row {
- spacing: Theme.spacingS
-
- Rectangle {
- width: 20
- height: 20
- radius: 4
- color: root.customColor
- border.color: Theme.outlineStrong
- border.width: 1
- anchors.verticalCenter: parent.verticalCenter
- }
-
- StyledText {
- text: root.customColor.toString()
- font.pixelSize: Theme.fontSizeSmall
- color: Theme.surfaceText
- anchors.verticalCenter: parent.verticalCenter
- }
- }
- }
-
- verticalBarPill: Component {
- Column {
- spacing: Theme.spacingXS
-
- Rectangle {
- width: 20
- height: 20
- radius: 4
- color: root.customColor
- border.color: Theme.outlineStrong
- border.width: 1
- anchors.horizontalCenter: parent.horizontalCenter
- }
-
- StyledText {
- text: root.customColor.toString()
- font.pixelSize: Theme.fontSizeSmall
- color: Theme.surfaceText
- anchors.horizontalCenter: parent.horizontalCenter
- }
- }
- }
-}
diff --git a/raveos-hyprland-theme/theme-data/dms/PLUGINS/ColorDemoPlugin/plugin.json b/raveos-hyprland-theme/theme-data/dms/PLUGINS/ColorDemoPlugin/plugin.json
deleted file mode 100644
index 45bf33a..0000000
--- a/raveos-hyprland-theme/theme-data/dms/PLUGINS/ColorDemoPlugin/plugin.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "id": "colorDemo",
- "name": "Color Demo",
- "description": "Demonstrates color picker plugin setting",
- "version": "1.0.0",
- "author": "DMS",
- "icon": "palette",
- "type": "widget",
- "component": "./ColorDemoWidget.qml",
- "settings": "./ColorDemoSettings.qml",
- "permissions": ["settings_read", "settings_write"]
-}