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
The current implementation of the getColors function in the file of colors.js file declares unnecessary variables for each theme's color object, which increases complexity and can be simplified. We can refactor the function to use require directly on the json files for each theme's color object.
The text was updated successfully, but these errors were encountered:
The current implementation of the
getColors
function in the file of colors.js file declares unnecessary variables for each theme's color object, which increases complexity and can be simplified. We can refactor the function to userequire
directly on thejson
files for each theme's color object.The text was updated successfully, but these errors were encountered: