fix(android): a field should look recessed, a button raised
They carried the same fill and the same pill, so the password field looked like a command. A field now holds 10 per cent white against a button's 18 and a main action's 30 - hollow against raised, which is the only cue left once borders are gone. The settings panel also reclaimed the top of the screen, above the title: created hidden, FMX moves it to the head of the stack when it becomes visible. Its position is now reasserted each time it appears. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,10 @@ $src = 'C:\Program Files (x86)\Embarcadero\Studio\23.0\Redist\styles\Fmx\Dark.st
|
||||
$dst = Join-Path $PSScriptRoot 'pm-dark.style'
|
||||
|
||||
# Doivent suivre les constantes de PMA.Theme.
|
||||
$surface = 'x2EFFFFFF' # COL_RAISED : blanc translucide, sans bordure
|
||||
# Un champ est CREUX : moins de blanc qu'un bouton (18 %) et bien moins que
|
||||
# l'action principale (30 %). Sans cet ecart, une saisie ressemble a une
|
||||
# commande - le mot de passe avait l'air d'un bouton.
|
||||
$surface = 'x1AFFFFFF'
|
||||
$border = 'x00000000' # plus de filet : la reference n'en a aucun
|
||||
$text = 'xFFFFFFFF' # COL_TEXT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user