Files
triangles_v5/src/qt/forms
Sami Ahmed 6ba38e6f7a ui: 3-tier Amount color (grey / light green / bright green) by confirmation depth
Replaces the previous 3-color rule with a finer-grained one that
matches how the rest of the codebase already classifies transaction
state via TransactionStatus enum:

  Status               | Amount color             | Hex
  ---------------------+--------------------------+--------
  Unconfirmed (0 conf) | COLOR_UNCONFIRMED grey   | #61280E
  Confirming (1..3)    | COLOR_CONFIRMING pale    | #C5EBC9
  Confirmed (4+)       | COLOR_POSITIVE bright    | #7CDB8A
  Conflicted           | COLOR_UNCONFIRMED grey   | #61280E
  Immature             | (olive, via .ui, unchanged)
  Negative any tier    | COLOR_NEGATIVE red       | #FF0000

RecommendedNumConfirmations = 4 (existing constant in transactionrecord.h),
so the Confirming tier covers depths 1, 2, 3 and the Confirmed tier
covers 4+. The codebase already uses this same state distinction for
the icon column (transaction_0 / transaction_1..3 / transaction_confirmed),
so the amount column now matches the icon's signal.

Both paint sites updated:
  - src/qt/transactiontablemodel.cpp ForegroundRole
  - src/qt/overviewpage.cpp recent-5 painter

New constant in guiconstants.h:
  COLOR_CONFIRMING QColor(197, 235, 201) — soft mint, deliberately
  pale so it reads as 'partial' vs the saturated #7CDB8A 'final' green.
2026-07-08 13:13:56 -07:00
..
2014-10-05 23:37:30 +02:00