Page MenuHomePhabricator

[Cashtab] Add background color to styled collapse
AbandonedPublic

Authored by kieran709 on Jan 18 2022, 21:20.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Summary

Added background color to styled collapse in StyledCollapse.js. Related to task T2174.

Test Plan

cd web/cashtab
npm start
navigate to the configure tab
ensure background colors for both StyledCollapse components are correct and that content is legible

Diff Detail

Repository
rABC Bitcoin ABC
Branch
add-bg-color-styled-collapse
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 17935
Build 35692: Build Diffcashtab-tests
Build 35691: arc lint + arc unit

Event Timeline

first level review is green

bytesofman added inline comments.
web/cashtab/src/components/Common/StyledCollapse.js
12

This is changing the color from white to grey.

Please add a separate color under props.theme.collapses, say props.theme.collapses.expandedBackground

For now, set it to white (the current color).

This revision now requires changes to proceed.Jan 21 2022, 16:43

Repushing on a new branch due to issue with commit.