hummingbird icon indicating copy to clipboard operation
hummingbird copied to clipboard

We should add bg-color customization, and how?

Open rodriciru opened this issue 2 years ago • 0 comments

I'm thinking about enable body bg color change.

It's as easy as $body-bg: <color> But it has a few problems. Some components has a white background, so when keep the default bg color, they look plain as they have the same bg color (accordion on products, home product cards, category tree....)

When change the bg, obviously, some component show the white bg. And my question is, we should keep it white, or as the new bg color, to look plain again, but with the new bg?

Current problem (accordion is white) imagen

Category tree imagen

I'm working on a PR that replace $white by $body-bg. This makes body bg changes easy. Also, it adds some bg to certain parts of customer account to make style equal to other parts (respecting Figma's prototype as good as I believe)

https://github.com/PrestaShop/hummingbird/pull/299

rodriciru avatar May 25 '22 11:05 rodriciru