diff --git a/components/BarGraph.module.css b/components/BarGraph.module.css index af16d7f..2e426fe 100644 --- a/components/BarGraph.module.css +++ b/components/BarGraph.module.css @@ -1,9 +1,15 @@ .barBackground { fill: var(--card-background); + transition: fill 0.5s ease-out; } .bar { fill: var(--primary-accent-light); + transition: fill 0.5s ease-out; +} + +.barGroup { + transition: fill 0.5s ease-out; } .barGroup:hover .bar { diff --git a/components/Boxplot.module.css b/components/Boxplot.module.css index 66dda09..b77fd93 100644 --- a/components/Boxplot.module.css +++ b/components/Boxplot.module.css @@ -1,5 +1,6 @@ .boxplot { fill: var(--primary-accent-light); + transition: fill 0.5s ease-out; } .boxplot:hover { diff --git a/components/GroupedBarGraph.module.css b/components/GroupedBarGraph.module.css index e8b1611..43b5208 100644 --- a/components/GroupedBarGraph.module.css +++ b/components/GroupedBarGraph.module.css @@ -19,6 +19,10 @@ fill: var(--label); } +.bar { + transition: fill 0.5s ease-out; +} + .legend { display: flex; margin: calc(16rem / 16); diff --git a/components/GroupedBarGraph.tsx b/components/GroupedBarGraph.tsx index 4ea148a..e437137 100644 --- a/components/GroupedBarGraph.tsx +++ b/components/GroupedBarGraph.tsx @@ -603,6 +603,7 @@ function HoverableBar(props: HoverableBarProps) { }} >