From 5b8edfc1e29433b40bb1120043bc1b79010a6cc1 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 8 Aug 2025 19:32:38 +1000 Subject: internal: transparency support coming soon™ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also fix media player selector text colour Fix colour preview not resetting light/dark mode --- components/filedialog/CurrentItem.qml | 2 +- components/filedialog/DialogButtons.qml | 8 ++++---- components/filedialog/FileDialog.qml | 2 +- components/filedialog/FolderContents.qml | 4 ++-- components/filedialog/HeaderBar.qml | 4 ++-- components/filedialog/Sidebar.qml | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) (limited to 'components/filedialog') diff --git a/components/filedialog/CurrentItem.qml b/components/filedialog/CurrentItem.qml index e042445..9f8ffac 100644 --- a/components/filedialog/CurrentItem.qml +++ b/components/filedialog/CurrentItem.qml @@ -23,7 +23,7 @@ Item { readonly property real roundingY: flatten ? root.implicitHeight / 2 : rounding strokeWidth: -1 - fillColor: Colours.palette.m3surfaceContainer + fillColor: Colours.tPalette.m3surfaceContainer startX: root.implicitWidth startY: root.implicitHeight diff --git a/components/filedialog/DialogButtons.qml b/components/filedialog/DialogButtons.qml index a64195a..c5b11dc 100644 --- a/components/filedialog/DialogButtons.qml +++ b/components/filedialog/DialogButtons.qml @@ -11,7 +11,7 @@ StyledRect { implicitHeight: inner.implicitHeight + Appearance.padding.normal * 2 - color: Colours.palette.m3surfaceContainer + color: Colours.tPalette.m3surfaceContainer RowLayout { id: inner @@ -30,7 +30,7 @@ StyledRect { Layout.fillHeight: true Layout.rightMargin: Appearance.spacing.normal - color: Colours.palette.m3surfaceContainerHigh + color: Colours.tPalette.m3surfaceContainerHigh radius: Appearance.rounding.small StyledText { @@ -42,7 +42,7 @@ StyledRect { } StyledRect { - color: Colours.palette.m3surfaceContainerHigh + color: Colours.tPalette.m3surfaceContainerHigh radius: Appearance.rounding.small implicitWidth: cancelText.implicitWidth + Appearance.padding.normal * 2 @@ -68,7 +68,7 @@ StyledRect { } StyledRect { - color: Colours.palette.m3surfaceContainerHigh + color: Colours.tPalette.m3surfaceContainerHigh radius: Appearance.rounding.small implicitWidth: cancelText.implicitWidth + Appearance.padding.normal * 2 diff --git a/components/filedialog/FileDialog.qml b/components/filedialog/FileDialog.qml index a533243..8b0b331 100644 --- a/components/filedialog/FileDialog.qml +++ b/components/filedialog/FileDialog.qml @@ -50,7 +50,7 @@ LazyLoader { implicitWidth: 1000 implicitHeight: 600 - color: Colours.palette.m3surface + color: Colours.tPalette.m3surface title: loader.title onVisibleChanged: { diff --git a/components/filedialog/FolderContents.qml b/components/filedialog/FolderContents.qml index 57500c8..7a7cc31 100644 --- a/components/filedialog/FolderContents.qml +++ b/components/filedialog/FolderContents.qml @@ -22,7 +22,7 @@ Item { StyledRect { anchors.fill: parent - color: Colours.palette.m3surfaceContainer + color: Colours.tPalette.m3surfaceContainer layer.enabled: true layer.effect: MultiEffect { @@ -124,7 +124,7 @@ Item { implicitHeight: nonAnimHeight radius: Appearance.rounding.normal - color: Qt.alpha(Colours.palette.m3surfaceContainerHighest, GridView.isCurrentItem ? 1 : 0) + color: Qt.alpha(Colours.tPalette.m3surfaceContainerHighest, GridView.isCurrentItem ? 1 : 0) z: GridView.isCurrentItem || implicitHeight !== nonAnimHeight ? 1 : 0 clip: true diff --git a/components/filedialog/HeaderBar.qml b/components/filedialog/HeaderBar.qml index 4af9672..b6e5dba 100644 --- a/components/filedialog/HeaderBar.qml +++ b/components/filedialog/HeaderBar.qml @@ -14,7 +14,7 @@ StyledRect { implicitWidth: inner.implicitWidth + Appearance.padding.normal * 2 implicitHeight: inner.implicitHeight + Appearance.padding.normal * 2 - color: Colours.palette.m3surfaceContainer + color: Colours.tPalette.m3surfaceContainer RowLayout { id: inner @@ -50,7 +50,7 @@ StyledRect { Layout.fillWidth: true radius: Appearance.rounding.small - color: Colours.palette.m3surfaceContainerHigh + color: Colours.tPalette.m3surfaceContainerHigh implicitHeight: pathComponents.implicitHeight + pathComponents.anchors.margins * 2 diff --git a/components/filedialog/Sidebar.qml b/components/filedialog/Sidebar.qml index 173b429..e9a15bd 100644 --- a/components/filedialog/Sidebar.qml +++ b/components/filedialog/Sidebar.qml @@ -14,7 +14,7 @@ StyledRect { implicitWidth: Sizes.sidebarWidth implicitHeight: inner.implicitHeight + Appearance.padding.normal * 2 - color: Colours.palette.m3surfaceContainer + color: Colours.tPalette.m3surfaceContainer ColumnLayout { id: inner -- cgit v1.2.3-freya