From 7303e7d900e06cb70bbd29083c2a310c4bed5c35 Mon Sep 17 00:00:00 2001 From: zhuzihcu Date: Wed, 12 Apr 2023 13:42:45 +0800 Subject: [PATCH] update --- example/global/ItemsOriginal.qml | 2 +- example/qml.qrc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/example/global/ItemsOriginal.qml b/example/global/ItemsOriginal.qml index 81a92c7..0d8f6c5 100644 --- a/example/global/ItemsOriginal.qml +++ b/example/global/ItemsOriginal.qml @@ -12,7 +12,7 @@ FluObject{ // icon:FluentIcons.Home cusIcon: Image{ anchors.centerIn: parent - source: "qrc:/res/svg/home.svg" + source: FluTheme.dark ? "qrc:/res/svg/home_dark.svg" : "qrc:/res/svg/home.svg" sourceSize: Qt.size(30,30) width: 18 height: 18 diff --git a/example/qml.qrc b/example/qml.qrc index 53e542d..b9b9433 100644 --- a/example/qml.qrc +++ b/example/qml.qrc @@ -161,5 +161,6 @@ T_Settings.qml global/MainEvent.qml res/svg/home.svg + res/svg/home_dark.svg