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

+26
View File
@@ -0,0 +1,26 @@
pragma Singleton
import QtQuick
QtObject {
readonly property color backgroundDeepest: "#f5f5f5"
readonly property color backgroundDefault: "#ffffff"
readonly property color surface: "#f0f0f0"
readonly property color headerBg: "#e8e8e8"
readonly property color footerBg: "#e0e0e0"
readonly property color scrollbarTrack: "#d0d0d0"
readonly property color scrollbarThumb: "#a0a0a0"
readonly property color primaryAccent: "#3a5688"
readonly property color buttonAccent: "#5785c1"
readonly property color sidebarButtonText: "#333333"
readonly property color readingText: "#222222"
readonly property color uiText: "#444444"
readonly property color headerText: "#555555"
readonly property color dimText: "#666666"
readonly property color counterText: "#777777"
readonly property color gradientTop: "#f8f8f8"
readonly property color gradientBottom: "#f0f0f0"
readonly property color divider: Qt.rgba(0, 0, 0, 0.12)
readonly property color overlayBg: Qt.rgba(0.95, 0.95, 0.95, 0.4)
readonly property color actionDisabled: "#e0e0e0"
}