summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/controls/StyledRadioButton.qml2
-rw-r--r--components/filedialog/FolderContents.qml2
-rw-r--r--components/filedialog/Sidebar.qml2
3 files changed, 3 insertions, 3 deletions
diff --git a/components/controls/StyledRadioButton.qml b/components/controls/StyledRadioButton.qml
index 73fc836..7a44baa 100644
--- a/components/controls/StyledRadioButton.qml
+++ b/components/controls/StyledRadioButton.qml
@@ -36,7 +36,7 @@ RadioButton {
implicitHeight: 8
radius: Appearance.rounding.full
- color: root.checked ? Colours.palette.m3primary : "transparent"
+ color: Qt.alpha(Colours.palette.m3primary, root.checked ? 1 : 0)
}
Behavior on border.color {
diff --git a/components/filedialog/FolderContents.qml b/components/filedialog/FolderContents.qml
index 45930ba..57500c8 100644
--- a/components/filedialog/FolderContents.qml
+++ b/components/filedialog/FolderContents.qml
@@ -124,7 +124,7 @@ Item {
implicitHeight: nonAnimHeight
radius: Appearance.rounding.normal
- color: GridView.isCurrentItem ? Colours.palette.m3surfaceContainerHighest : "transparent"
+ color: Qt.alpha(Colours.palette.m3surfaceContainerHighest, GridView.isCurrentItem ? 1 : 0)
z: GridView.isCurrentItem || implicitHeight !== nonAnimHeight ? 1 : 0
clip: true
diff --git a/components/filedialog/Sidebar.qml b/components/filedialog/Sidebar.qml
index 82a1dd5..173b429 100644
--- a/components/filedialog/Sidebar.qml
+++ b/components/filedialog/Sidebar.qml
@@ -48,7 +48,7 @@ StyledRect {
implicitHeight: placeInner.implicitHeight + Appearance.padding.normal * 2
radius: Appearance.rounding.full
- color: selected ? Colours.palette.m3secondaryContainer : "transparent"
+ color: Qt.alpha(Colours.palette.m3secondaryContainer, selected ? 1 : 0)
StateLayer {
color: place.selected ? Colours.palette.m3onSecondaryContainer : Colours.palette.m3onSurface