Page MenuHomePhabricator

[Cashtab] Add theming to better organize color changes
ClosedPublic

Authored by bytesofman on Mar 8 2021, 22:42.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCe3887570c68e: [Cashtab] Add theming to better organize color changes
Summary

Remove color specification of .anticon class from App.css. Replace with styled-components <ThemeProvider> object and theme. For now, this is only one color affecting only the icons impacted by removing this 1 line of css. Will be expanded on so that all app styles can be centrally controlled, as with the parameters in Ticker.js.

Test Plan

npm start and confirm the icons on the Settings page and the Send page look the same as at cashtabapp.com

Diff Detail

Repository
rABC Bitcoin ABC
Branch
anticon-colors-out-of-css
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15332
Build 30593: Build Diffcashtab-tests
Build 30592: arc lint + arc unit