From b086fac0b23c12995ac8fad8cd853c36fbfe01e7 Mon Sep 17 00:00:00 2001 From: Anthony Phillips Date: Fri, 20 Dec 2024 09:44:15 -0500 Subject: [PATCH] Change how color class is added to kit class --- .../playbook/pb_section_separator/_section_separator.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbook/app/pb_kits/playbook/pb_section_separator/_section_separator.tsx b/playbook/app/pb_kits/playbook/pb_section_separator/_section_separator.tsx index b1b18a6915..77a0265010 100644 --- a/playbook/app/pb_kits/playbook/pb_section_separator/_section_separator.tsx +++ b/playbook/app/pb_kits/playbook/pb_section_separator/_section_separator.tsx @@ -39,7 +39,7 @@ const SectionSeparator = (props: SectionSeparatorProps): React.ReactElement => { const ariaProps = buildAriaProps(aria) const dataProps = buildDataProps(data) const htmlProps = buildHtmlProps(htmlOptions) - const classes = classnames(buildCss('pb_section_separator_kit', variant, orientation, lineStyle === "dashed" ? lineStyle : ""), globalProps(props), color !== "default" ? `color_${color}` : '', className) + const classes = classnames(buildCss('pb_section_separator_kit', variant, orientation, lineStyle === "dashed" ? lineStyle : "", color !== "default" ? `color_${color}` : ''), globalProps(props), className) const dynamicInlineProps = globalInlineProps(props) return (