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:
@@ -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),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user