Abstract some more colors in main.js