0020-the-desktop-defaults-to-dark.md (2014B)
1 # 0020. The desktop defaults to dark 2 3 Date: 2026-11-28 4 5 ## Status 6 7 Accepted (the user's direction: dark mode as the default for the whole OS, not just the browser). 8 9 ## Context 10 11 Light or dark is one setting on this desktop: GNOME's `org.gnome.desktop.interface color-scheme` 12 (`default`, `prefer-light`, `prefer-dark`), which Settings' Appearance page and the desktop's menu write 13 (patina-desktop's ADR-0087). xdg-desktop-portal(-gtk) hands it on as `org.freedesktop.appearance 14 color-scheme`, and Patina's apps on the Default skin, GTK 4 apps and Firefox follow it live. Out of the box 15 it is `default`, which apps read as light. (The shell, the greeter and Files already use the Everforest 16 Dark skin, patina-desktop's ADR-0100; this is about everything that follows the setting.) 17 18 ## Decision 19 20 - The schema's default for `color-scheme` is `prefer-dark`: `usr/share/glib-2.0/schemas/90_patina.gschema.override`, 21 compiled into the image (`glib-compile-schemas --strict` in the Containerfile, which fails the build on an 22 invalid override). 23 - It is a default, not a setting: a person's own choice (Settings, Appearance) is stored in their dconf and 24 sits on top of it, and an update never changes that. A machine whose owner has never chosen follows the new 25 default, which is the point; one whose owner chose Light keeps Light. 26 27 ## Tried 28 29 In the image: the override compiles under `--strict`; the default reads `'prefer-dark'`; after a user sets 30 `prefer-light` it reads `'prefer-light'`. **Not tried yet:** the whole chain on a running desktop (the portal 31 reporting dark, and the apps drawing dark), which wants the next image in the test VM. 32 33 ## Not covered 34 35 - GTK 3 apps do not read `color-scheme`; they follow the GTK theme name instead. The only one in the image is 36 Firefox, whose own window follows the portal, so nothing is missing today. 37 - A Light, Dark or Default switch in the setup wizard (ADR-0019) was not asked for; this makes the choice 38 once, for everyone, and Settings is where it is changed.