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