Merge pull request 'fix(mobile): retire les doubles tirets des commentaires du values-night XML' (#122) from fix/android-values-night-xml-comment into main
All checks were successful
CI / lint (push) Successful in 2m57s
CI / build (push) Successful in 3m19s
CI / intent-service-test (push) Successful in 5m15s
CI / e2e (push) Successful in 10m0s
CI / test (push) Successful in 18m12s
CI / build-android (push) Successful in 5m8s

This commit is contained in:
kyuno 2026-09-08 07:51:25 +02:00
commit 206ab6fa0c

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 ../values/colors.xml. Without this file, AppTheme.NoActionBar's DayNight
`DayNight` parent still resolved `@color/colorPrimaryDark` / parent still resolved @color/colorPrimaryDark / @color/colorBackground to
`@color/colorBackground` to their light values under a dark system their light values under a dark system setting: the status-bar band and
setting: the status-bar band and the pre-WebView window (cold-start the pre-WebView window (cold-start flash + splash ground) stayed on the
flash + splash ground) stayed on the light "porcelaine" palette while light "porcelaine" palette while the rest of the phone, and the app's own
the rest of the phone — and the app's own WebView content — went dark WebView content, went dark (issue #104).
(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 `@media (prefers-color-scheme: dark)` apps/web/src/styles/_theme.scss (the prefers-color-scheme: dark block).
block). Note: XML comments here must not contain a double hyphen, so the theme
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 color-background, so the band is seamless with the dark app below
below it rather than a stripe of light green. `windowLightStatusBar` it rather than a stripe of light green. windowLightStatusBar stays
stays `false` (light icons) — correct against this near-black just false (light icons), correct against this near-black just as it is
as it is against the light-mode dark-basil. --> 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 / the window <!-- token color-background (dark), backs the splash and 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>