[libadwaita/wip/exalm/dark: 13/13] doc: Mention default color scheme change in migration guide




commit 816e2ff0a325b7f7ba5024e97804ad5f33ae9174
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Sep 20 20:59:55 2021 +0500

    doc: Mention default color scheme change in migration guide

 doc/migrating-libhandy-1-4-to-libadwaita.md | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/doc/migrating-libhandy-1-4-to-libadwaita.md b/doc/migrating-libhandy-1-4-to-libadwaita.md
index fa3ecb1d..3fe16224 100644
--- a/doc/migrating-libhandy-1-4-to-libadwaita.md
+++ b/doc/migrating-libhandy-1-4-to-libadwaita.md
@@ -284,6 +284,13 @@ and setter. It can be replaced by [property@Adw.Avatar:custom-image].
 The `hdy_avatar_draw_to_pixbuf_async()` function has been removed, use the
 regular [method@Adw.Avatar.draw_to_pixbuf] instead.
 
+### Adapt to [class@Adw.StyleManager] API Changes
+
+When used with the default style manager, `ADW_COLOR_SCHEME_DEFAULT` is now
+equivalent to `ADW_COLOR_SCHEME_LIGHT_DARK` instead of `HDY_COLOR_SCHEME_LIGHT`,
+following the dark style preference by default. Make sure your application works
+with it, or otherwise set the `ADW_COLOR_SCHEME_LIGHT` color scheme manually.
+
 ## Adapt to Stylesheet Changes
 
 Most widgets don't have a backdrop state anymore, and the following public


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