Match History is hard to read: white text on a light grey panel

Aperta Adatta ai principianti
#67 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
78/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
lua
Ambito
design, frontend

Direzione di ricerca

Inizia da ui/account_overlay.lua e controlla la riga, l’intestazione e gli stili di stato di Match History descritti nell’issue. Applica le modifiche indicate al pannello scuro della riga e al testo grigio chiaro uniforme, poi controlla il risultato nel gioco; il lavoro è completo quando il testo e i colori di stato di Match History sono facili da leggere. Il riquadro delle informazioni e quello della chat sono verifiche successive facoltative.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Problem

The Match History tab (Account overlay) is very hard to read. The text blends into the panel and the Balatro background behind it.

What we found

In ui/account_overlay.lua:

Part Today Why it's hard to read
Each match row Small white text (scale 0.32) on darken(G.C.JOKER_GREY, 0.1), a light grey-blue (about #acb3c0) White on light grey is about 2:1 contrast
Column headers, Restarted / Abandoned / Terminated, a +0 rating G.C.UI.TEXT_INACTIVE, a grey at 60% opacity (#88888899) Nearly vanishes on the light row and on the background
Green / gold status, green / red rating Bright colours on the light grey Also low contrast

Fix

  • Put each row on the game's dark panel colour (G.C.L_BLACK, #4f6367). White on it is about 6:1, and the green, red and gold read well, as they do elsewhere in the game.
  • Replace the see-through grey with a solid light grey for headers and quiet statuses, and make the headers a little bigger (0.28 to 0.3).

A local branch does exactly this (one file, ui/account_overlay.lua); it still needs an in-game look before a PR.

Also worth checking

The Account tab's info box and the chat "respectful use" box use the same light panel (darken(G.C.JOKER_GREY, 0.1)) with white text and may have the same problem.

Lingua principale
Lua
Stelle
10
Fork
8
Merge medio
1g 18h
PR unite (30g)
20

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Balatro-Multiplayer/BalatroMultiplayerAPI

Tutte le issue di Balatro-Multiplayer/BalatroMultiplayerAPI

Issue simili

Altre issue su Lua

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.