You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/appearance.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,13 +59,13 @@ Although the color scheme is available immediately, this may change when not ove
59
59
60
60
### App-level overriding
61
61
62
-
`setColorScheme()` overrides the color scheme at the application level — it does not affect the system setting or other applications. Passing `'unspecified'` removes any override, restoring the system preference.
62
+
`setColorScheme()` overrides the color scheme at the application level — it does not affect the system setting or other applications. Passing `'auto'` removes any override, restoring the system preference.
Forces the application to always adopt a light or dark interface style. The change applies to the application and all native elements within it (Alerts, Pickers, etc.).
@@ -112,7 +112,8 @@ Supported values:
112
112
113
113
-`'light'`: Apply light color scheme.
114
114
-`'dark'`: Apply dark color scheme.
115
-
-`'unspecified'`: Follow the system color scheme (removes any override).
115
+
-`'auto'`: Follow the system color scheme (removes any override).
116
+
-`'unspecified'` (**deprecated**): Follow the system color scheme (removes any override).
0 commit comments