diff --git a/images/dark/down.svg b/images/dark/down.svg new file mode 100644 index 0000000..ae209a9 --- /dev/null +++ b/images/dark/down.svg @@ -0,0 +1,93 @@ + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/images/light/down.svg b/images/light/down.svg new file mode 100644 index 0000000..1926146 --- /dev/null +++ b/images/light/down.svg @@ -0,0 +1,93 @@ + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/qml.qrc b/qml.qrc index b972a1e..5c1dbe9 100644 --- a/qml.qrc +++ b/qml.qrc @@ -101,5 +101,7 @@ qml/ControlDialog.qml qml/CardItem.qml qml/IconButton.qml + images/dark/down.svg + images/light/down.svg diff --git a/qml/main.qml b/qml/main.qml index bb11970..585f638 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -48,10 +48,18 @@ Item { anchors.fill: parent anchors.leftMargin: Meui.Units.smallSpacing anchors.rightMargin: Meui.Units.smallSpacing + spacing: Meui.Units.largeSpacing Label { text: acticity.title } + + Image { + width: 16 + height: 16 + sourceSize: Qt.size(width, height) + source: "qrc:/images/" + (Meui.Theme.darkMode ? "dark/down.svg" : "light/down.svg") + } } }