Enable opportunity card deletion (#490)

* Add checkbox

* Add state management for selected opportunities

* Use recoil for selected items state, show action bar

* Deduplicate code

* Add delete action

* Enable delete

* Add color for selected cards

* update board state on delete

* Add stories

* Enable empty board

* Fix story

* Handle dark mdoe

* Nits

* Rename module

* Better naming

* Fix naming confusion process<>progress
This commit is contained in:
Emilien Chauvet
2023-07-03 14:11:39 -07:00
committed by GitHub
parent c871d1cc10
commit db5dfb3bdf
22 changed files with 275 additions and 81 deletions

View File

@ -29,6 +29,8 @@ export const lightTheme = {
background: backgroundLight,
border: borderLight,
boxShadow: boxShadowLight,
selectedCardHover: color.blue20,
selectedCard: color.blue10,
font: fontLight,
},
};
@ -40,6 +42,8 @@ export const darkTheme: ThemeType = {
background: backgroundDark,
border: borderDark,
boxShadow: boxShadowDark,
selectedCardHover: color.blue70,
selectedCard: color.blue80,
font: fontDark,
},
};