feat: add simple logo
It maintains a discreet presence with dark & light mode.
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
import QtQuick
|
||||||
|
|
||||||
|
Image {
|
||||||
|
sourceSize.width: 70
|
||||||
|
|
||||||
|
source: Theme.darkTheme ? "qrc:/live.flowy/imports/DesignSystem/logos/FLOWY-3.svg" : "qrc:/live.flowy/imports/DesignSystem/logos/FLOWY-5.svg"
|
||||||
|
}
|
||||||
@@ -18,6 +18,7 @@ set(plain_qml_files
|
|||||||
AppHeadline.qml
|
AppHeadline.qml
|
||||||
AppSubHeadline.qml
|
AppSubHeadline.qml
|
||||||
AppLabel.qml
|
AppLabel.qml
|
||||||
|
AppLogo.qml
|
||||||
)
|
)
|
||||||
set(qml_singletons
|
set(qml_singletons
|
||||||
Fonts.qml
|
Fonts.qml
|
||||||
@@ -84,6 +85,7 @@ set(icons
|
|||||||
app-icons/vs-code.svg
|
app-icons/vs-code.svg
|
||||||
app-icons/ghostty.png
|
app-icons/ghostty.png
|
||||||
app-icons/outlook.svg
|
app-icons/outlook.svg
|
||||||
|
logos/FLOWY-3.svg
|
||||||
logos/FLOWY-4.svg
|
logos/FLOWY-4.svg
|
||||||
logos/FLOWY-5.svg
|
logos/FLOWY-5.svg
|
||||||
logos/FLOWY-6.svg
|
logos/FLOWY-6.svg
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ ApplicationWindow {
|
|||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.margins: 10
|
anchors.margins: 10
|
||||||
|
|
||||||
|
AppLogo {}
|
||||||
|
|
||||||
AppPrimaryButton {
|
AppPrimaryButton {
|
||||||
text: "Toggle theme"
|
text: "Toggle theme"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|||||||
Reference in New Issue
Block a user