import QtQuick import Quickshell import Quickshell.Wayland import "." // Live reference for the shared design-language kit: every Shared/ // component in one place, so future surfaces (notification center, lock // screen, dashboard) have something concrete to copy from instead of // reverse-engineering an existing feature component. PanelWindow { id: showcaseWindow property bool open: false visible: open anchors { top: true bottom: true left: true right: true } exclusiveZone: 0 color: "transparent" WlrLayershell.layer: WlrLayer.Overlay WlrLayershell.namespace: "quickshell-showcase" WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive MouseArea { anchors.fill: parent onClicked: showcaseWindow.open = false } Rectangle { anchors.fill: parent color: Theme.colors.overlay } Surface { anchors.centerIn: parent width: 640 height: content.implicitHeight + Theme.geometry.padding * 2 glow: true MouseArea { anchors.fill: parent } Column { id: content anchors.fill: parent anchors.margins: Theme.geometry.padding spacing: Theme.geometry.spacing * 2 Text { text: "Design language showcase" color: Theme.colors.text font.family: Theme.font.family font.pixelSize: Theme.type.title font.bold: true } Row { spacing: Theme.geometry.spacing Pill { tint: Theme.colors.primary; glow: true; Text { text: "primary"; color: Theme.colors.text; font.family: Theme.font.family } } Pill { tint: Theme.colors.secondary; glow: true; Text { text: "secondary"; color: Theme.colors.text; font.family: Theme.font.family } } Pill { tint: Theme.colors.tertiary; glow: true; Text { text: "tertiary"; color: Theme.colors.text; font.family: Theme.font.family } } } Row { spacing: Theme.geometry.spacing Button { variant: "primary"; text: "Primary" } Button { variant: "secondary"; text: "Secondary" } Button { variant: "success"; text: "Success" } Button { variant: "warning"; text: "Warning" } Button { variant: "info"; text: "Info" } Button { variant: "destructive"; text: "Destructive" } } TextField { width: parent.width placeholder: "TextField..." } Column { width: parent.width spacing: Theme.geometry.spacing ProgressBar { width: parent.width; value: 0.7; fillColor: Theme.colors.primary } ProgressBar { width: parent.width; value: 0.4; fillColor: Theme.colors.warning } ProgressBar { width: parent.width; value: 0.9; fillColor: Theme.colors.success } } Tooltip { text: "Tooltip bubble" } } } }