Skip to content

chore(theme): align Android success greens with the shared tokens - #1761

Merged
bmc08gt merged 1 commit into
code/cashfrom
chore/shared-success-greens
Oct 13, 2026
Merged

bmc08gt merged 1 commit into
code/cashfrom
chore/shared-success-greens

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

Android's theme declares a text green (#73EAA4) but maps successText to the fill green, so the declared value never reaches the screen. iOS is moving to the same pair in code-payments/code-ios-app#1047: #1AC86A for fills and #73EAA4 for text.

  • FlipcashDesignSystem maps successText to #73EAA4.
  • CurrencyAppreciationLabel and MarketCapExplainerContent read success for price up, so price up keeps rendering #1AC86A.
  • CodeToggleSwitch uses success for the checked track instead of SystemGreen (#04C759). Switches used SystemGreen to look like the system switch; they now follow the design system on purpose. SystemGreen had no other users and is removed.
  • ui/resources ic_checked_green (#87D300, white checks) now matches the apps/flipcash/core copy. The app copy already won the resource merge for all three users (checked in the merged debug APK), so nothing changes on screen.
  • The Flipcash success banner uses the gray bannerThemed instead of BannerSuccess (#0F5020), matching iOS.

The legacy CodeDefaultColorScheme still maps success to #87D300. Nothing renders under it, so it is left alone.

Map successText to the declared #73EAA4 so validity text uses the shared
text green. Price-up keeps rendering #1AC86A by reading success in
CurrencyAppreciationLabel and MarketCapExplainerContent.

CodeToggleSwitch now uses the success fill (#1AC86A) instead of
SystemGreen, which is removed. The unused ui/resources ic_checked_green
(#87D300) now matches the app copy that already won the resource merge.
The Flipcash success banner uses the gray bannerThemed.
@bmc08gt bmc08gt self-assigned this Oct 12, 2026
@github-actions github-actions Bot added area: ui Compose UI, theme, components, resources type: chore Maintenance, config, CI/CD area: tokens Token accounts, balances, token info labels Oct 12, 2026
@bmc08gt
bmc08gt merged commit 923860b into code/cash Oct 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tokens Token accounts, balances, token info area: ui Compose UI, theme, components, resources type: chore Maintenance, config, CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant