hlxsites / merative2

Merative.com site on Franklin
https://merative.com
Apache License 2.0
2 stars 9 forks source link

CTA: bg color of section #267

Closed helms-charity closed 1 year ago

helms-charity commented 1 year ago

Per the convo at https://adobe-dx-support.slack.com/archives/C04BLPWJRGR/p1688110679699879 , and similar to https://github.com/hlxsites/merative2/issues/263 , Merative would like to be able to override the section background color surrounding CTA block. Currently it is hard coded as neutral-sand and any addition to the section metadata on the page is overwritten. image

Figma design: https://www.figma.com/file/vw24IPXXt4vCh9BNumka9A/Web--Merative-Digital-Design-System-2.0?type=design&node-id=1402-12379&mode=design&t=CkB81npPe1fiobQd-0

helms-charity commented 1 year ago

Mostly a note to self: Going forward, I think a better way to build blocks like this might be to add another surrounding div to the DOM for a block, which spans the full width/height of a section, and padding/margin is added inside.