diff --git a/src/components/page/theming/CodeColor/index.tsx b/src/components/page/theming/CodeColor/index.tsx index 09aa3393d6..f6a3539653 100644 --- a/src/components/page/theming/CodeColor/index.tsx +++ b/src/components/page/theming/CodeColor/index.tsx @@ -5,7 +5,7 @@ import styles from './index.module.scss'; function CodeColor({ color, ...props }): JSX.Element { return ( -
+ {props.children && {props.children}} -
+ ); } diff --git a/src/components/page/theming/LayeredColorsSelect/index.tsx b/src/components/page/theming/LayeredColorsSelect/index.tsx index eb1ac56058..bd0e97a20f 100755 --- a/src/components/page/theming/LayeredColorsSelect/index.tsx +++ b/src/components/page/theming/LayeredColorsSelect/index.tsx @@ -83,28 +83,32 @@ export default function LayeredColorsSelect({ ...props }) { - - - - - - - {variations.map((variation) => { - const codeColor = variation.rgb ? `rgb(${variation.value})` : `${variation.value}`; + + + + + + + + + + {variations.map((variation) => { + const codeColor = variation.rgb ? `rgb(${variation.value})` : `${variation.value}`; - return ( - - - - - - - ); - })} + return ( + + + + + + + ); + })} +
NamePropertyDefault ValueDescription
NamePropertyDefault ValueDescription
{variation.name} - {variation.property} - - {variation.value} - {variation.description}
{variation.name} + {variation.property} + + {variation.value} + {variation.description}
);