Compare commits

..

No commits in common. "206ab6fa0c22255e35f03ad4f93058993b946d19" and "22119adf07bdbbc02db154dd7f7a65a4e05e6d19" have entirely different histories.

View file

@ -1,30 +1,30 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!--
Dark-mode overrides for the native colour resources in Dark-mode overrides for the native colour resources in
../values/colors.xml. Without this file, AppTheme.NoActionBar's DayNight ../values/colors.xml. Without this file, `AppTheme.NoActionBar`'s
parent still resolved @color/colorPrimaryDark / @color/colorBackground to `DayNight` parent still resolved `@color/colorPrimaryDark` /
their light values under a dark system setting: the status-bar band and `@color/colorBackground` to their light values under a dark system
the pre-WebView window (cold-start flash + splash ground) stayed on the setting: the status-bar band and the pre-WebView window (cold-start
light "porcelaine" palette while the rest of the phone, and the app's own flash + splash ground) stayed on the light "porcelaine" palette while
WebView content, went dark (issue #104). the rest of the phone — and the app's own WebView content — went dark
(issue #104).
Keep the hex values in sync with the dark-mode colour tokens in Keep the hex values in sync with the dark-mode colour tokens in
apps/web/src/styles/_theme.scss (the prefers-color-scheme: dark block). apps/web/src/styles/_theme.scss (the `@media (prefers-color-scheme: dark)`
Note: XML comments here must not contain a double hyphen, so the theme block).
tokens are named "color-x", not with their CSS custom-property prefix.
--> -->
<resources> <resources>
<!-- token color-primary (dark). --> <!-- token --color-primary (dark). -->
<color name="colorPrimary">#5FAE7E</color> <color name="colorPrimary">#5FAE7E</color>
<!-- Status-bar band + pre-WebView window in dark mode: the dark <!-- Status-bar band + pre-WebView window in dark mode: the dark
color-background, so the band is seamless with the dark app below --color-background, so the band is seamless with the dark app
it rather than a stripe of light green. windowLightStatusBar stays below it rather than a stripe of light green. `windowLightStatusBar`
false (light icons), correct against this near-black just as it is stays `false` (light icons) — correct against this near-black just
against the light-mode dark-basil. --> as it is against the light-mode dark-basil. -->
<color name="colorPrimaryDark">#14181A</color> <color name="colorPrimaryDark">#14181A</color>
<!-- token color-accent (dark). --> <!-- token --color-accent (dark). -->
<color name="colorAccent">#EA7A48</color> <color name="colorAccent">#EA7A48</color>
<!-- token color-background (dark), backs the splash and the window <!-- token --color-background (dark) — backs the splash / the window
while the WebView is still blank. --> while the WebView is still blank. -->
<color name="colorBackground">#14181A</color> <color name="colorBackground">#14181A</color>
</resources> </resources>