From 6869467ffd987f695f8244a3455ff47657ecd7c3 Mon Sep 17 00:00:00 2001 From: nikitaorliak-cengage Date: Wed, 20 Nov 2024 16:52:43 +0100 Subject: [PATCH] fix(Charts): Fix circle styles for `Charts`. (#1578) Co-authored-by: Nikita Orliak --- .changeset/a11y-charts-space-around-circle-nodes-missing.md | 5 +++++ packages/charts/src/components/CarbonChart/CarbonChart.tsx | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changeset/a11y-charts-space-around-circle-nodes-missing.md diff --git a/.changeset/a11y-charts-space-around-circle-nodes-missing.md b/.changeset/a11y-charts-space-around-circle-nodes-missing.md new file mode 100644 index 0000000000..7d3c9fbfe4 --- /dev/null +++ b/.changeset/a11y-charts-space-around-circle-nodes-missing.md @@ -0,0 +1,5 @@ +--- +'@react-magma/charts': patch +--- + +fix(Charts): Fix circle styles for `Charts`. diff --git a/packages/charts/src/components/CarbonChart/CarbonChart.tsx b/packages/charts/src/components/CarbonChart/CarbonChart.tsx index c19bdb2481..ad3e6d229c 100644 --- a/packages/charts/src/components/CarbonChart/CarbonChart.tsx +++ b/packages/charts/src/components/CarbonChart/CarbonChart.tsx @@ -230,15 +230,15 @@ const CarbonChartWrapper = styled.div<{ drop-shadow( 1px 0px 0px ${props => props.isInverse ? props.theme.colors.primary600 - : props.theme.colors.neutral100}); + : props.theme.colors.neutral100}) drop-shadow(-1px 0px 0px ${props => props.isInverse ? props.theme.colors.primary600 - : props.theme.colors.neutral100}); + : props.theme.colors.neutral100}) drop-shadow( 0px 1px 0px ${props => props.isInverse ? props.theme.colors.primary600 - : props.theme.colors.neutral100}); + : props.theme.colors.neutral100}) drop-shadow( 0px -1px 0px ${props => props.isInverse ? props.theme.colors.primary600