You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Identify all instances of the same hex color values across different pages and components.
Extract these hex color values into a shared file (e.g., a theme or constants file).
Refactor the code to reference the shared color values instead of hardcoding them.
Additional Information
This change will help in maintaining consistency in the color scheme across the dApp and make future updates to the color palette easier to manage.
Consider creating a well-documented and organized shared file that can be easily extended or modified in the future.
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.
The text was updated successfully, but these errors were encountered:
@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
#152:
![Image](https://private-user-images.githubusercontent.com/102844542/361001326-401d8fc9-af7a-4046-ba98-6962f3089dbd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNDA3NDcsIm5iZiI6MTczOTI0MDQ0NywicGF0aCI6Ii8xMDI4NDQ1NDIvMzYxMDAxMzI2LTQwMWQ4ZmM5LWFmN2EtNDA0Ni1iYTk4LTY5NjJmMzA4OWRiZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQwMjIwNDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zZDUzNTY4YWRkY2Q3M2NkMDNkMmY2ODRmY2JjOWFjYTg2MjYxMjllMTZjZTY3MDRjZjVjZTE1MGU4NTNjYmU1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.essmSxYfa0X6IushD0uol0V6hD0lhdv-zKW-ZYHxiGk)
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.
The text was updated successfully, but these errors were encountered: