Add DarkTheme and LightTheme switching

This commit is contained in:
Agel committed 2026-03-31 20:43:37 +02:00
1 parent 7409ba789a
commit ff88cf581b
17 files changed
+206 -73

No files matched your search

+5 -5
View File
@@ -4,9 +4,9 @@ import Asteria
Rectangle {
id: header
height: barsVisible ? Theme.headerHeight : 0
height: barsVisible ? ThemeManager.currentTheme.headerHeight : 0
clip: true
color: Theme.surface
color: ThemeManager.currentTheme.surface
property bool sidebarOpen: false
property string currentPage: "starter"
@@ -28,7 +28,7 @@ Rectangle {
contentItem: Text {
text: "\u2630"
font.pixelSize: 24
color: Theme.buttonAccent
color: ThemeManager.currentTheme.buttonAccent
}
background: Item {}
onClicked: header.menuClicked()
@@ -44,7 +44,7 @@ Rectangle {
}
}
font.pixelSize: 16
color: Theme.headerText
color: ThemeManager.currentTheme.headerText
}
Row {
@@ -58,7 +58,7 @@ Rectangle {
anchors.verticalCenter: parent.verticalCenter
font.pixelSize: 16
font.bold: true
color: Theme.dimText
color: ThemeManager.currentTheme.dimText
Timer {
running: true