feat(android): blue instead of cyan, everywhere at once

Cyan came from the desktop app. On the phone the reference is the system: its global search and its own apps are blue, and an app should look like the place it runs.

Accent #3B82F6 on the same slate, with white on the accent since blue is darker than cyan. The launcher icon and the launch screen follow - a cyan padlock in front of a blue interface would have read as a different app.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
r-zakarya
2026-08-15 19:55:06 +01:00
parent 8dedcaecab
commit 8f9ebb8d47
11 changed files with 12 additions and 8 deletions
+7 -3
View File
@@ -23,15 +23,19 @@ uses
System.UITypes, System.Classes, FMX.Types, FMX.Objects, FMX.StdCtrls;
const
// Ardoise et cyan, la palette du poste Windows.
// Ardoise et bleu. Le poste Windows accentue en cyan ; ici c'est le bleu
// d'Android - celui de la recherche globale et des applications systeme.
// Une application mobile a deux references legitimes, celle dont elle
// prolonge le service et celle du systeme qui l'heberge ; pour ce qui se
// touche, la seconde l'emporte.
COL_BG = TAlphaColor($FF0F172A); // fond general
COL_SURFACE = TAlphaColor($FF1E293B); // blocs poses dessus
COL_RAISED = TAlphaColor($FF334155); // bouton au repos
COL_LINE = TAlphaColor($FF334155); // filet des cadres
COL_TEXT = TAlphaColor($FFE2E8F0);
COL_MUTED = TAlphaColor($FF94A3B8);
COL_ACCENT = TAlphaColor($FF22D3EE);
COL_ON_ACC = TAlphaColor($FF042F3B); // texte sur fond accentue
COL_ACCENT = TAlphaColor($FF3B82F6);
COL_ON_ACC = TAlphaColor($FFFFFFFF); // texte sur fond accentue
/// A appeler une fois, avant la creation de la forme.
procedure ApplyDarkTheme;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 658 B

After

Width:  |  Height:  |  Size: 655 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 874 B

After

Width:  |  Height:  |  Size: 877 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

@@ -10,14 +10,14 @@
android:viewportHeight="108">
<!-- Anse : trait, pas remplissage, pour garder l'interieur ajoure. -->
<path
android:strokeColor="#22D3EE"
android:strokeColor="#3B82F6"
android:strokeWidth="5.5"
android:strokeLineCap="round"
android:fillColor="#00000000"
android:pathData="M44,56 L44,47 A10,10 0 0 1 64,47 L64,56" />
<!-- Corps -->
<path
android:fillColor="#22D3EE"
android:fillColor="#3B82F6"
android:pathData="M38,54 L70,54 A4,4 0 0 1 74,58 L74,76 A4,4 0 0 1 70,80 L38,80 A4,4 0 0 1 34,76 L34,58 A4,4 0 0 1 38,54 Z" />
<!-- Serrure, evidee dans la couleur du fond -->
<path
@@ -10,13 +10,13 @@
android:viewportWidth="288"
android:viewportHeight="288">
<path
android:strokeColor="#22D3EE"
android:strokeColor="#3B82F6"
android:strokeWidth="11"
android:strokeLineCap="round"
android:fillColor="#00000000"
android:pathData="M124,139 L124,121 A20,20 0 0 1 164,121 L164,139" />
<path
android:fillColor="#22D3EE"
android:fillColor="#3B82F6"
android:pathData="M112,135 L176,135 A8,8 0 0 1 184,143 L184,179 A8,8 0 0 1 176,187 L112,187 A8,8 0 0 1 104,179 L104,143 A8,8 0 0 1 112,135 Z" />
<path
android:fillColor="#0F172A"
+1 -1
View File
@@ -9,7 +9,7 @@ Add-Type -AssemblyName System.Drawing
$root = Join-Path $PSScriptRoot 'android-res'
$bg = [System.Drawing.Color]::FromArgb(255, 15, 23, 42) # #0F172A
$fg = [System.Drawing.Color]::FromArgb(255, 34, 211, 238) # #22D3EE
$fg = [System.Drawing.Color]::FromArgb(255, 59, 130, 246) # #3B82F6
# densite -> cote en pixels, tel qu'Android les attend
$sizes = @{ 'drawable-ldpi' = 36; 'drawable-mdpi' = 48; 'drawable-hdpi' = 72