"transparent" => Color.transparent

This commit is contained in:
quadbyte 2025-08-17 05:54:55 -04:00
parent 8e239ad55d
commit dbdfbdc746
28 changed files with 57 additions and 57 deletions

View file

@ -374,7 +374,7 @@ NLoader {
property bool isSelected: index === selectedIndex property bool isSelected: index === selectedIndex
color: (appCardArea.containsMouse || isSelected) ? Qt.darker(Color.mPrimary, color: (appCardArea.containsMouse || isSelected) ? Qt.darker(Color.mPrimary,
1.1) : Color.mSurface 1.1) : Color.mSurface
border.color: (appCardArea.containsMouse || isSelected) ? Color.mPrimary : "transparent" border.color: (appCardArea.containsMouse || isSelected) ? Color.mPrimary : Color.transparent
border.width: Math.max(1, (appCardArea.containsMouse border.width: Math.max(1, (appCardArea.containsMouse
|| isSelected) ? Style.borderMedium * scaling : 0) || isSelected) ? Style.borderMedium * scaling : 0)

View file

@ -22,7 +22,7 @@ Variants {
} }
} }
color: "transparent" color: Color.transparent
screen: modelData screen: modelData
WlrLayershell.layer: WlrLayer.Background WlrLayershell.layer: WlrLayer.Background
WlrLayershell.exclusionMode: ExclusionMode.Ignore WlrLayershell.exclusionMode: ExclusionMode.Ignore

View file

@ -26,7 +26,7 @@ NLoader {
&& !Settings.data.wallpaper.swww.enabled ? WallpaperService.currentWallpaper : "" && !Settings.data.wallpaper.swww.enabled ? WallpaperService.currentWallpaper : ""
visible: wallpaperSource !== "" && !Settings.data.wallpaper.swww.enabled visible: wallpaperSource !== "" && !Settings.data.wallpaper.swww.enabled
color: "transparent" color: Color.transparent
screen: modelData screen: modelData
WlrLayershell.layer: WlrLayer.Background WlrLayershell.layer: WlrLayer.Background
WlrLayershell.exclusionMode: ExclusionMode.Ignore WlrLayershell.exclusionMode: ExclusionMode.Ignore

View file

@ -27,7 +27,7 @@ NLoader {
// Rounded radius for the inner cutout // Rounded radius for the inner cutout
property int innerRadius: 20 property int innerRadius: 20
color: "transparent" color: Color.transparent
WlrLayershell.exclusionMode: ExclusionMode.Ignore WlrLayershell.exclusionMode: ExclusionMode.Ignore
WlrLayershell.namespace: "quickshell-corner" WlrLayershell.namespace: "quickshell-corner"

View file

@ -18,7 +18,7 @@ Variants {
screen: modelData screen: modelData
implicitHeight: Style.barHeight * scaling implicitHeight: Style.barHeight * scaling
color: "transparent" color: Color.transparent
// If no bar activated in settings, then show them all // If no bar activated in settings, then show them all
visible: modelData ? (Settings.data.bar.monitors.includes(modelData.name) visible: modelData ? (Settings.data.bar.monitors.includes(modelData.name)

View file

@ -271,7 +271,7 @@ NLoader {
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
radius: Style.radiusMedium * scaling radius: Style.radiusMedium * scaling
color: modelData.device.connected ? Color.mPrimary : (deviceMouseArea.containsMouse ? Color.mTertiary : "transparent") color: modelData.device.connected ? Color.mPrimary : (deviceMouseArea.containsMouse ? Color.mTertiary : Color.transparent)
RowLayout { RowLayout {
anchors.fill: parent anchors.fill: parent

View file

@ -172,7 +172,7 @@ Item {
Rectangle { Rectangle {
id: trayMenuRect id: trayMenuRect
color: "transparent" color: Color.transparent
anchors.fill: parent anchors.fill: parent
// Animation properties // Animation properties

View file

@ -17,7 +17,7 @@ PopupWindow {
implicitWidth: Style.baseWidgetSize * 5.625 * scaling implicitWidth: Style.baseWidgetSize * 5.625 * scaling
implicitHeight: Math.max(60 * scaling, listView.contentHeight + (Style.marginMedium * 2 * scaling)) implicitHeight: Math.max(60 * scaling, listView.contentHeight + (Style.marginMedium * 2 * scaling))
visible: false visible: false
color: "transparent" color: Color.transparent
anchor.item: anchorItem ? anchorItem : null anchor.item: anchorItem ? anchorItem : null
anchor.rect.x: anchorX anchor.rect.x: anchorX
@ -99,7 +99,7 @@ PopupWindow {
width: listView.width width: listView.width
height: (modelData?.isSeparator) ? 8 * scaling : Math.max(32 * scaling, text.height + 8) height: (modelData?.isSeparator) ? 8 * scaling : Math.max(32 * scaling, text.height + 8)
color: "transparent" color: Color.transparent
property var subMenu: null property var subMenu: null
@ -112,7 +112,7 @@ PopupWindow {
Rectangle { Rectangle {
id: bg id: bg
anchors.fill: parent anchors.fill: parent
color: mouseArea.containsMouse ? Color.mTertiary : "transparent" color: mouseArea.containsMouse ? Color.mTertiary : Color.transparent
radius: Style.radiusSmall * scaling radius: Style.radiusSmall * scaling
visible: !(modelData?.isSeparator ?? false) visible: !(modelData?.isSeparator ?? false)
@ -254,7 +254,7 @@ PopupWindow {
implicitWidth: Style.baseWidgetSize * 5.625 * scaling implicitWidth: Style.baseWidgetSize * 5.625 * scaling
implicitHeight: Math.max(40, listView.contentHeight + 12) implicitHeight: Math.max(40, listView.contentHeight + 12)
visible: false visible: false
color: "transparent" color: Color.transparent
property QsMenuHandle menu property QsMenuHandle menu
property var anchorItem: null property var anchorItem: null
@ -334,7 +334,7 @@ PopupWindow {
width: listView.width width: listView.width
height: (modelData?.isSeparator) ? 8 * scaling : Math.max(32 * scaling, subText.height + 8) height: (modelData?.isSeparator) ? 8 * scaling : Math.max(32 * scaling, subText.height + 8)
color: "transparent" color: Color.transparent
property var subMenu: null property var subMenu: null
@ -347,7 +347,7 @@ PopupWindow {
Rectangle { Rectangle {
id: bg id: bg
anchors.fill: parent anchors.fill: parent
color: mouseArea.containsMouse ? Color.mTertiary : "transparent" color: mouseArea.containsMouse ? Color.mTertiary : Color.transparent
radius: Style.radiusSmall * scaling radius: Style.radiusSmall * scaling
visible: !(modelData?.isSeparator ?? false) visible: !(modelData?.isSeparator ?? false)
property color hoverTextColor: mouseArea.containsMouse ? Color.mOnSurface : Color.mOnSurface property color hoverTextColor: mouseArea.containsMouse ? Color.mOnSurface : Color.mOnSurface

View file

@ -243,7 +243,7 @@ NLoader {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: Style.baseWidgetSize * 1.5 * scaling Layout.preferredHeight: Style.baseWidgetSize * 1.5 * scaling
radius: Style.radiusMedium * scaling radius: Style.radiusMedium * scaling
color: modelData.connected ? Color.mPrimary : (networkMouseArea.containsMouse ? Color.mTertiary : "transparent") color: modelData.connected ? Color.mPrimary : (networkMouseArea.containsMouse ? Color.mTertiary : Color.transparent)
RowLayout { RowLayout {
anchors.fill: parent anchors.fill: parent
@ -377,7 +377,7 @@ NLoader {
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
radius: Style.radiusTiny * scaling radius: Style.radiusTiny * scaling
color: "transparent" color: Color.transparent
border.color: passwordInputField.activeFocus ? Color.mPrimary : Color.mOutline border.color: passwordInputField.activeFocus ? Color.mPrimary : Color.mOutline
border.width: Math.max(1, Style.borderThin * scaling) border.width: Math.max(1, Style.borderThin * scaling)

View file

@ -244,7 +244,7 @@ Item {
width: workspacePillContainer.width + 18 * root.masterProgress * scale width: workspacePillContainer.width + 18 * root.masterProgress * scale
height: workspacePillContainer.height + 18 * root.masterProgress * scale height: workspacePillContainer.height + 18 * root.masterProgress * scale
radius: width / 2 radius: width / 2
color: "transparent" color: Color.transparent
border.color: root.effectColor border.color: root.effectColor
border.width: Math.max(1, Math.round((2 + 6 * (1.0 - root.masterProgress)) * scaling)) border.width: Math.max(1, Math.round((2 + 6 * (1.0 - root.masterProgress)) * scaling))
opacity: root.effectsActive && model.isFocused ? (1.0 - root.masterProgress) * 0.7 : 0 opacity: root.effectsActive && model.isFocused ? (1.0 - root.masterProgress) * 0.7 : 0

View file

@ -211,7 +211,7 @@ NLoader {
width: (Style.baseWidgetSize * scaling) width: (Style.baseWidgetSize * scaling)
height: (Style.baseWidgetSize * scaling) height: (Style.baseWidgetSize * scaling)
radius: Style.radiusSmall * scaling radius: Style.radiusSmall * scaling
color: model.today ? Color.mPrimary : "transparent" color: model.today ? Color.mPrimary : Color.transparent
NText { NText {
anchors.centerIn: parent anchors.centerIn: parent

View file

@ -46,7 +46,7 @@ NLoader {
anchors.left: true anchors.left: true
anchors.right: true anchors.right: true
focusable: false focusable: false
color: "transparent" color: Color.transparent
implicitHeight: iconSize * 1.4 * scaling implicitHeight: iconSize * 1.4 * scaling
// Watch for autoHide setting changes // Watch for autoHide setting changes
@ -182,7 +182,7 @@ NLoader {
id: appButton id: appButton
width: iconSize * scaling width: iconSize * scaling
height: iconSize * scaling height: iconSize * scaling
color: "transparent" color: Color.transparent
radius: Style.radiusMedium * scaling radius: Style.radiusMedium * scaling
property bool isActive: ToplevelManager.activeToplevel && ToplevelManager.activeToplevel === modelData property bool isActive: ToplevelManager.activeToplevel && ToplevelManager.activeToplevel === modelData
@ -194,7 +194,7 @@ NLoader {
Rectangle { Rectangle {
id: hoverBackground id: hoverBackground
anchors.fill: parent anchors.fill: parent
color: appButton.hovered ? Color.mSurfaceVariant : "transparent" color: appButton.hovered ? Color.mSurfaceVariant : Color.transparent
radius: parent.radius radius: parent.radius
opacity: appButton.hovered ? 0.8 : 0 opacity: appButton.hovered ? 0.8 : 0

View file

@ -146,7 +146,7 @@ WlSessionLock {
// Blurred background // Blurred background
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
color: "transparent" color: Color.transparent
// Simple blur effect // Simple blur effect
layer.enabled: true layer.enabled: true
@ -266,7 +266,7 @@ WlSessionLock {
width: 120 * scaling width: 120 * scaling
height: 120 * scaling height: 120 * scaling
radius: width * 0.5 radius: width * 0.5
color: "transparent" color: Color.transparent
border.color: Color.mPrimary border.color: Color.mPrimary
border.width: Math.max(1, Style.borderThick * scaling) border.width: Math.max(1, Style.borderThick * scaling)
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
@ -277,7 +277,7 @@ WlSessionLock {
width: parent.width + 24 * scaling width: parent.width + 24 * scaling
height: parent.height + 24 * scaling height: parent.height + 24 * scaling
radius: width * 0.5 radius: width * 0.5
color: "transparent" color: Color.transparent
border.color: Qt.rgba(Color.mPrimary.r, Color.mPrimary.g, Color.mPrimary.b, 0.3) border.color: Qt.rgba(Color.mPrimary.r, Color.mPrimary.g, Color.mPrimary.b, 0.3)
border.width: Math.max(1, Style.borderMedium * scaling) border.width: Math.max(1, Style.borderMedium * scaling)
z: -1 z: -1
@ -572,7 +572,7 @@ WlSessionLock {
// Status messages // Status messages
Text { Text {
text: lock.authenticating ? "Authenticating..." : (lock.errorMessage !== "" ? "Authentication failed." : "") text: lock.authenticating ? "Authenticating..." : (lock.errorMessage !== "" ? "Authentication failed." : "")
color: lock.authenticating ? Color.mPrimary : (lock.errorMessage !== "" ? Color.mError : "transparent") color: lock.authenticating ? Color.mPrimary : (lock.errorMessage !== "" ? Color.mError : Color.transparent)
font.family: "DejaVu Sans Mono" font.family: "DejaVu Sans Mono"
font.pointSize: Style.fontSizeLarge font.pointSize: Style.fontSizeLarge
Layout.fillWidth: true Layout.fillWidth: true
@ -659,7 +659,7 @@ WlSessionLock {
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
radius: parent.radius radius: parent.radius
color: "transparent" color: Color.transparent
border.color: Color.applyOpacity(Color.mPrimary, "4D") border.color: Color.applyOpacity(Color.mPrimary, "4D")
border.width: Math.max(1, Style.borderThin * scaling) border.width: Math.max(1, Style.borderThin * scaling)
z: -1 z: -1
@ -706,7 +706,7 @@ WlSessionLock {
width: parent.width + 10 * scaling width: parent.width + 10 * scaling
height: parent.height + 10 * scaling height: parent.height + 10 * scaling
radius: width * 0.5 radius: width * 0.5
color: "transparent" color: Color.transparent
border.color: Qt.rgba(Color.mError.r, Color.mError.g, Color.mError.b, 0.3) border.color: Qt.rgba(Color.mError.r, Color.mError.g, Color.mError.b, 0.3)
border.width: Math.max(1, Style.borderMedium * scaling) border.width: Math.max(1, Style.borderMedium * scaling)
opacity: shutdownArea.containsMouse ? 1 : 0 opacity: shutdownArea.containsMouse ? 1 : 0
@ -763,7 +763,7 @@ WlSessionLock {
width: parent.width + 10 * scaling width: parent.width + 10 * scaling
height: parent.height + 10 * scaling height: parent.height + 10 * scaling
radius: width * 0.5 radius: width * 0.5
color: "transparent" color: Color.transparent
border.color: Qt.rgba(Color.mPrimary.r, Color.mPrimary.g, Color.mPrimary.b, 0.3) border.color: Qt.rgba(Color.mPrimary.r, Color.mPrimary.g, Color.mPrimary.b, 0.3)
border.width: Math.max(1, Style.borderMedium * scaling) border.width: Math.max(1, Style.borderMedium * scaling)
opacity: rebootArea.containsMouse ? 1 : 0 opacity: rebootArea.containsMouse ? 1 : 0
@ -819,7 +819,7 @@ WlSessionLock {
width: parent.width + 10 * scaling width: parent.width + 10 * scaling
height: parent.height + 10 * scaling height: parent.height + 10 * scaling
radius: width * 0.5 radius: width * 0.5
color: "transparent" color: Color.transparent
border.color: Qt.rgba(Color.mSecondary.r, Color.mSecondary.g, Color.mSecondary.b, 0.3) border.color: Qt.rgba(Color.mSecondary.r, Color.mSecondary.g, Color.mSecondary.b, 0.3)
border.width: Math.max(1, Style.borderMedium * scaling) border.width: Math.max(1, Style.borderMedium * scaling)
opacity: logoutArea.containsMouse ? 1 : 0 opacity: logoutArea.containsMouse ? 1 : 0

View file

@ -25,7 +25,7 @@ Variants {
// Track notifications being removed for animation // Track notifications being removed for animation
property var removingNotifications: ({}) property var removingNotifications: ({})
color: "transparent" color: Color.transparent
// If no notification display activated in settings, then show them all // If no notification display activated in settings, then show them all
visible: modelData ? (Settings.data.notifications.monitors.includes(modelData.name) visible: modelData ? (Settings.data.notifications.monitors.includes(modelData.name)

View file

@ -265,7 +265,7 @@ NLoader {
width: parent.width width: parent.width
height: 32 * scaling height: 32 * scaling
radius: Style.radiusSmall * scaling radius: Style.radiusSmall * scaling
color: selected ? Color.mPrimary : (tabItem.hovering ? Color.mTertiary : "transparent") color: selected ? Color.mPrimary : (tabItem.hovering ? Color.mTertiary : Color.transparent)
readonly property bool selected: index === currentTabIndex readonly property bool selected: index === currentTabIndex
property bool hovering: false property bool hovering: false
property color tabTextColor: selected ? Color.mOnPrimary : (tabItem.hovering ? Color.mOnTertiary : Color.mOnSurface) property color tabTextColor: selected ? Color.mOnPrimary : (tabItem.hovering ? Color.mOnTertiary : Color.mOnSurface)

View file

@ -110,7 +110,7 @@ ColumnLayout {
Layout.preferredWidth: updateText.implicitWidth + 46 * scaling Layout.preferredWidth: updateText.implicitWidth + 46 * scaling
Layout.preferredHeight: Style.barHeight * scaling Layout.preferredHeight: Style.barHeight * scaling
radius: Style.radiusLarge * scaling radius: Style.radiusLarge * scaling
color: updateArea.containsMouse ? Color.mPrimary : "transparent" color: updateArea.containsMouse ? Color.mPrimary : Color.transparent
border.color: Color.mPrimary border.color: Color.mPrimary
border.width: Math.max(1, Style.borderThin * scaling) border.width: Math.max(1, Style.borderThin * scaling)
visible: { visible: {
@ -200,7 +200,7 @@ ColumnLayout {
width: contributorsGrid.cellWidth - Style.marginLarge * scaling width: contributorsGrid.cellWidth - Style.marginLarge * scaling
height: contributorsGrid.cellHeight - Style.marginTiny * scaling height: contributorsGrid.cellHeight - Style.marginTiny * scaling
radius: Style.radiusLarge * scaling radius: Style.radiusLarge * scaling
color: contributorArea.containsMouse ? Color.mTertiary : "transparent" color: contributorArea.containsMouse ? Color.mTertiary : Color.transparent
RowLayout { RowLayout {
anchors.fill: parent anchors.fill: parent

View file

@ -76,7 +76,7 @@ NBox {
visible: false visible: false
// implicitWidth: 120 * scaling // implicitWidth: 120 * scaling
// implicitHeight: 30 * scaling // implicitHeight: 30 * scaling
color: "transparent" color: Color.transparent
border.color: playerSelector.activeFocus ? Color.mTertiary : Color.mOutline border.color: playerSelector.activeFocus ? Color.mTertiary : Color.mOutline
border.width: Math.max(1, Style.borderThin * scaling) border.width: Math.max(1, Style.borderThin * scaling)
radius: Style.radiusMedium * scaling radius: Style.radiusMedium * scaling
@ -140,7 +140,7 @@ NBox {
background: Rectangle { background: Rectangle {
width: popup.width - Style.marginSmall * scaling * 2 width: popup.width - Style.marginSmall * scaling * 2
color: highlighted ? Color.mTertiary : "transparent" color: highlighted ? Color.mTertiary : Color.transparent
radius: Style.radiusTiny * scaling radius: Style.radiusTiny * scaling
} }
} }
@ -161,8 +161,8 @@ NBox {
width: 90 * scaling width: 90 * scaling
height: 90 * scaling height: 90 * scaling
radius: width * 0.5 radius: width * 0.5
color: trackArt.visible ? Color.mPrimary : "transparent" color: trackArt.visible ? Color.mPrimary : Color.transparent
border.color: trackArt.visible ? Color.mOutline : "transparent" border.color: trackArt.visible ? Color.mOutline : Color.transparent
border.width: Math.max(1, Style.borderThin * scaling) border.width: Math.max(1, Style.borderThin * scaling)
clip: true clip: true

View file

@ -57,7 +57,7 @@ NPanel {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: Style.barHeight * scaling Layout.preferredHeight: Style.barHeight * scaling
radius: Style.radiusSmall * scaling radius: Style.radiusSmall * scaling
color: lockButtonArea.containsMouse ? Color.mTertiary : "transparent" color: lockButtonArea.containsMouse ? Color.mTertiary : Color.transparent
Item { Item {
anchors.left: parent.left anchors.left: parent.left
@ -117,7 +117,7 @@ NPanel {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: Style.barHeight * scaling Layout.preferredHeight: Style.barHeight * scaling
radius: Style.radiusSmall * scaling radius: Style.radiusSmall * scaling
color: suspendButtonArea.containsMouse ? Color.mTertiary : "transparent" color: suspendButtonArea.containsMouse ? Color.mTertiary : Color.transparent
Item { Item {
anchors.left: parent.left anchors.left: parent.left
@ -175,7 +175,7 @@ NPanel {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: Style.barHeight * scaling Layout.preferredHeight: Style.barHeight * scaling
radius: Style.radiusSmall * scaling radius: Style.radiusSmall * scaling
color: rebootButtonArea.containsMouse ? Color.mTertiary : "transparent" color: rebootButtonArea.containsMouse ? Color.mTertiary : Color.transparent
Item { Item {
anchors.left: parent.left anchors.left: parent.left
@ -233,7 +233,7 @@ NPanel {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: Style.barHeight * scaling Layout.preferredHeight: Style.barHeight * scaling
radius: Style.radiusSmall * scaling radius: Style.radiusSmall * scaling
color: logoutButtonArea.containsMouse ? Color.mTertiary : "transparent" color: logoutButtonArea.containsMouse ? Color.mTertiary : Color.transparent
Item { Item {
anchors.left: parent.left anchors.left: parent.left
@ -291,7 +291,7 @@ NPanel {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: Style.barHeight * scaling Layout.preferredHeight: Style.barHeight * scaling
radius: Style.radiusSmall * scaling radius: Style.radiusSmall * scaling
color: shutdownButtonArea.containsMouse ? Color.mTertiary : "transparent" color: shutdownButtonArea.containsMouse ? Color.mTertiary : Color.transparent
Item { Item {
anchors.left: parent.left anchors.left: parent.left

View file

@ -18,9 +18,9 @@ Rectangle {
width: 68 * scaling width: 68 * scaling
height: 92 * scaling height: 92 * scaling
color: flat ? "transparent" : Color.mSurface color: flat ? Color.transparent : Color.mSurface
radius: Style.radiusSmall * scaling radius: Style.radiusSmall * scaling
border.color: flat ? "transparent" : Color.mSurfaceVariant border.color: flat ? Color.transparent : Color.mSurfaceVariant
border.width: flat ? 0 : Math.max(1, Style.borderThin * scaling) border.width: flat ? 0 : Math.max(1, Style.borderThin * scaling)
clip: true clip: true

View file

@ -12,7 +12,7 @@ Rectangle {
width: textItem.paintedWidth width: textItem.paintedWidth
height: textItem.paintedHeight height: textItem.paintedHeight
color: "transparent" color: Color.transparent
NText { NText {
id: textItem id: textItem

View file

@ -125,7 +125,7 @@ ColumnLayout {
background: Rectangle { background: Rectangle {
width: combo.width - Style.marginMedium * scaling * 3 width: combo.width - Style.marginMedium * scaling * 3
color: highlighted ? Color.mTertiary : "transparent" color: highlighted ? Color.mTertiary : Color.transparent
radius: Style.radiusSmall * scaling radius: Style.radiusSmall * scaling
} }
} }

View file

@ -26,9 +26,9 @@ Rectangle {
implicitWidth: size implicitWidth: size
implicitHeight: size implicitHeight: size
color: (root.hovering || showFilled) ? Color.mPrimary : "transparent" color: (root.hovering || showFilled) ? Color.mPrimary : Color.transparent
radius: width * 0.5 radius: width * 0.5
border.color: showBorder ? Color.mPrimary : "transparent" border.color: showBorder ? Color.mPrimary : Color.transparent
border.width: Math.max(1, Style.borderThin * scaling) border.width: Math.max(1, Style.borderThin * scaling)
NText { NText {

View file

@ -7,13 +7,13 @@ import qs.Services
Rectangle { Rectangle {
id: root id: root
color: "transparent" color: Color.transparent
property real imageRadius: width * 0.5 property real imageRadius: width * 0.5
radius: imageRadius radius: imageRadius
property string imagePath: "" property string imagePath: ""
property string fallbackIcon: "" property string fallbackIcon: ""
property color borderColor: "transparent" property color borderColor: Color.transparent
property real borderWidth: 0 property real borderWidth: 0
anchors.margins: Style.marginTiniest * scaling anchors.margins: Style.marginTiniest * scaling
@ -22,7 +22,7 @@ Rectangle {
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
radius: parent.radius radius: parent.radius
color: "transparent" color: Color.transparent
border.color: parent.borderColor border.color: parent.borderColor
border.width: parent.borderWidth border.width: parent.borderWidth
z: 10 z: 10

View file

@ -12,7 +12,7 @@ PanelWindow {
property bool showOverlay: Settings.data.general.dimDesktop property bool showOverlay: Settings.data.general.dimDesktop
property int topMargin: Style.barHeight * scaling property int topMargin: Style.barHeight * scaling
// Show dimming if this panel is opened OR if we're in a transition (to prevent flickering) // Show dimming if this panel is opened OR if we're in a transition (to prevent flickering)
property color overlayColor: (showOverlay && (PanelService.openedPanel === root || isTransitioning)) ? Color.applyOpacity(Color.mShadow, "AA") : "transparent" property color overlayColor: (showOverlay && (PanelService.openedPanel === root || isTransitioning)) ? Color.applyOpacity(Color.mShadow, "AA") : Color.transparent
property bool isTransitioning: false property bool isTransitioning: false
signal dismissed signal dismissed
@ -49,7 +49,7 @@ PanelWindow {
implicitWidth: screen.width implicitWidth: screen.width
implicitHeight: screen.height implicitHeight: screen.height
color: visible ? overlayColor : "transparent" color: visible ? overlayColor : Color.transparent
visible: false visible: false
WlrLayershell.exclusionMode: ExclusionMode.Ignore WlrLayershell.exclusionMode: ExclusionMode.Ignore

View file

@ -80,7 +80,7 @@ Item {
width: iconSize width: iconSize
height: iconSize height: iconSize
radius: width * 0.5 radius: width * 0.5
color: showPill ? iconCircleColor : "transparent" color: showPill ? iconCircleColor : Color.transparent
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right anchors.right: parent.right

View file

@ -13,7 +13,7 @@ RadioButton {
implicitWidth: Style.baseWidgetSize * 0.625 * scaling implicitWidth: Style.baseWidgetSize * 0.625 * scaling
implicitHeight: Style.baseWidgetSize * 0.625 * scaling implicitHeight: Style.baseWidgetSize * 0.625 * scaling
radius: width * 0.5 radius: width * 0.5
color: "transparent" color: Color.transparent
border.color: root.checked ? Color.mPrimary : Color.mOnSurface border.color: root.checked ? Color.mPrimary : Color.mOnSurface
border.width: Math.max(1, Style.borderMedium * scaling) border.width: Math.max(1, Style.borderMedium * scaling)
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter

View file

@ -55,8 +55,8 @@ Item {
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
radius: frame.radius radius: frame.radius
color: "transparent" color: Color.transparent
border.color: input.activeFocus ? Color.mTertiary : "transparent" border.color: input.activeFocus ? Color.mTertiary : Color.transparent
border.width: input.activeFocus ? Math.max(1, Style.borderThin * scaling) : 0 border.width: input.activeFocus ? Math.max(1, Style.borderThin * scaling) : 0
} }

View file

@ -12,7 +12,7 @@ Window {
property bool positionAbove: false property bool positionAbove: false
flags: Qt.ToolTip | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint flags: Qt.ToolTip | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint
color: "transparent" color: Color.transparent
visible: false visible: false
onIsVisibleChanged: { onIsVisibleChanged: {