Files
cal.diy/apps/web/pages/settings
371e7b024a add "reset to default" color option for ColorPicker (#8643)
* add reset to default color option

* Do not show reset button in DOM if resetDefaultValue is undefined

* handle edge case: if invalid hexcode is set for resetDefaultValue

* Do not show the reset button if the color is already set to the default value

* Remove data-testid from Button

---------

Co-authored-by: Praneeth Bhogaraju <[email protected]>
Co-authored-by: sean-brydon <[email protected]>
2023-05-05 13:25:18 +01:00
..