@thecb/components 7.10.5 → 7.10.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.10.5",
3
+ "version": "7.10.6",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
Binary file
@@ -15,6 +15,7 @@ const CenterSingle = ({
15
15
  fullWidthMobile = true,
16
16
  centeredMobileContent = false,
17
17
  content,
18
+ backgroundColor = COOL_GREY_05,
18
19
  themeValues
19
20
  }) => {
20
21
  const themeContext = useContext(ThemeContext);
@@ -24,7 +25,7 @@ const CenterSingle = ({
24
25
  <Box
25
26
  padding="0"
26
27
  minWidth="100%"
27
- background={COOL_GREY_05}
28
+ background={backgroundColor}
28
29
  extraStyles="flex-grow: 1;"
29
30
  >
30
31
  <Cover centerOverride={isMobile && !centeredMobileContent}>