Skip to content

Commit

Permalink
add back open year color
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelaZQ1 committed Oct 20, 2023
1 parent 3e03cbd commit 01dc4fb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/frontend-v2/components/Plan/ScheduleYear.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,16 @@ const YearHeader: React.FC<YearHeaderProps> = ({
removeYearFromCurrPlan,
displayReqErrors,
}) => {
const backgroundColor = isExpanded
? "primary.blue.dark"
: "primary.blue.light";
return (
<Flex
alignItems="center"
justifyContent="space-between"
backgroundColor="primary.blue.light.main"
backgroundColor={backgroundColor + ".main"}
_hover={{
backgroundColor: "primary.blue.light.400",
backgroundColor: "primary.blue.light.600",
}}
_active={{
bg: "primary.blue.light.600",
Expand Down

0 comments on commit 01dc4fb

Please sign in to comment.