[libhandy/wip/exalm/dark: 4/6] demo: Set color scheme




commit 3366d6268ea13020f0a8ce3c5eb934092c4a91a5
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Thu Aug 26 15:49:19 2021 +0500

    demo: Set color scheme

 examples/handy-demo.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/examples/handy-demo.c b/examples/handy-demo.c
index 7225afe9..909a2284 100644
--- a/examples/handy-demo.c
+++ b/examples/handy-demo.c
@@ -43,6 +43,9 @@ startup (GtkApplication *app)
                                              GTK_STYLE_PROVIDER (css_provider),
                                              GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
 
+  hdy_style_manager_set_color_scheme (hdy_style_manager_get_default (),
+                                      HDY_COLOR_SCHEME_LIGHT_DARK);
+
   g_object_unref (css_provider);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]