BB-3777 Add ButtonStyles component
Created by: arjunsinghy96
Adds a ButtonStyles component extracted out of ButtonCustomizationPage component.
Tickets BB-3777 Gitlab#710
Screenshots: See Gitlab issues
Testing Instructions
- Checkout to this branch
- Start OCIM backend in vagrant using make run.dev
- Start frontend using npm run start --prefix=frontend
- Make sure you have a BetaTestApplication with a test user already created. If not visit admin and create appropriate records. Without these the Frontend will not be fully functional.
- Visit http://localhost:3000/console/theming/buttons
- In react devtools, check that
ButtonStyles
component is used to display the color pickers collapsible - Update color values and check Button Previews is updated.
- Check in django admin that theming changes are reflected in the BetaTestApplication