docs(app): record real dark-theme evidence for the stage-node probe

The fixture had no darkTheme, so its Material "dark" captures were the
default light theme. Supply the stock dark theme and themeMode.system, rerun
the probe in both schemes, and correct the note's test counts, capture names
and branch state.
This commit is contained in:
2026-10-21 18:47:56 +01:00
parent d14db60460
commit 7eaab4b359
2 changed files with 42 additions and 25 deletions
+7
View File
@@ -77,6 +77,13 @@ void main() {
? CupertinoApp(home: const _Probe(cupertino: true))
: MaterialApp(
theme: ThemeData(platform: TargetPlatform.android),
// Stock dark theme so the forced `prefers-color-scheme` capture is
// a real dark render rather than a duplicate light one.
darkTheme: ThemeData(
platform: TargetPlatform.android,
brightness: Brightness.dark,
),
themeMode: ThemeMode.system,
home: const _Probe(cupertino: false),
),
);