garg3133 / JagratiWebApp

Official WebApp of Jagrati - An Initiative of IIITians
https://jagrati.iiitdmj.ac.in
MIT License
47 stars 130 forks source link

Code Improvement: Replace all the #ff8c00 colors with a variable #306

Open divyanshkhetan opened 2 years ago

divyanshkhetan commented 2 years ago

Replace all the #ff8c00 colors with a variable

Replace all instances of #ff8c00 with a CSS variable named jagratiColor or something similar so as to improve the maintainability of the code base.

Jagrati-Bot commented 2 years ago

Hi! Thanks for opening your first issue at JagratiWebApp :rocket: We really appreciate it. :raised_hands: Someone from our team will get back here soon.

nancyvaryani commented 5 months ago

Hey @garg3133 , can you please explain the issue in detail? I wanna work on it!

divyanshkhetan commented 5 months ago

@nancyvaryani Hi! The issue was about creating a file which contains all the constants. We were planning to move the colour code to that file so that if we ever decide to move to some other shade of the same colour, we can do so easily by changing the value of that variable rather than changing the values manually at all places.