Open eduramme opened 3 months ago
@eduramme clear and concise! This could be called avatar colors or something like, you know? not good to name the const as the color name because if it changes the information would need to be reupdated once again (the const name :))
Refactor Request
Description
There are several hex color values being used in the codebase that are likely shared across multiple pages and components of the dApp. To improve maintainability and consistency, these hex color values should be extracted into a shared file and reused wherever possible across the project.
Requirements
Additional Information
https://github.com/blockful-io/external-resolver-dapp/pull/152:
Possible Solution
Extract the common hex color values to a centralized file and update the codebase to use this file wherever those colors are needed. This can be done by creating a constants or theme file that contains all the color values and importing it into the relevant components.