kblincoe / VisualGit_SE701_2019_1

1 stars 0 forks source link

[MAINTENANCE] Clean up color.ts #251

Closed nathan-cairns closed 5 years ago

nathan-cairns commented 5 years ago

Description Currently the color.ts file is a bit of a mess with a heap of code duplication. It would be great if this code could be cleaned up to make it easier to alter in the future. This can probably be done pretty easily with the introduction / use of a few well placed variables. It would also be good to introduce constants for different colours etc.

Acceptance criteria

rmberriman commented 5 years ago

Approved - that file is a mess, would make it more readable and constants are a good idea as it will help alter the colour scheme at a later date.

bcox280 commented 5 years ago

Approved! It's painful to look at this file atm.

swimuel commented 5 years ago

Approved.

AbhinavBehal commented 5 years ago

Updating this to a medium sized issue since it took a fair amount of time to come up with a better design for handling different themes.