From 913796b2889369e9701d315a3f178ca87663e71c Mon Sep 17 00:00:00 2001 From: erinn Date: Tue, 19 May 2020 15:04:51 -0700 Subject: [PATCH] add theme switching support --- theme/Theme.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/theme/Theme.qml b/theme/Theme.qml index 7570b24..f3f7e23 100644 --- a/theme/Theme.qml +++ b/theme/Theme.qml @@ -56,6 +56,8 @@ Item { readonly property int sidePaneMinSize: 700 readonly property int doublePaneMinSize: 1000 - property ThemeType theme: CwtchLight { } + property ThemeType dark: CwtchDark{} + property ThemeType light: CwtchLight{} + property ThemeType theme: dark }