[libadwaita/wip/exalm/dark: 15/15] doc: Mention default color scheme change in migration guide
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/dark: 15/15] doc: Mention default color scheme change in migration guide
- Date: Fri, 24 Sep 2021 10:37:12 +0000 (UTC)
commit 27e9505bf1935b0de14a82dadc699f6b78613d42
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 | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/doc/migrating-libhandy-1-4-to-libadwaita.md b/doc/migrating-libhandy-1-4-to-libadwaita.md
index f74d3dc0..b5806cb0 100644
--- a/doc/migrating-libhandy-1-4-to-libadwaita.md
+++ b/doc/migrating-libhandy-1-4-to-libadwaita.md
@@ -302,6 +302,14 @@ functions have been removed, use the newly added
[method@Adw.Avatar.draw_to_texture] does not have the `size` parameter. Instead,
it uses the avatar's current size, with no replacement.
+### 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_PREFER_LIGHT` instead of
+`HDY_COLOR_SCHEME_FORCE_LIGHT`, following the system dark style preference by
+default. Make sure your application works with it, or otherwise set the
+`ADW_COLOR_SCHEME_FORCE_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]