News for hackers. Stuff that matters.
Re:Building your color palette by pg_bot on Sunday November 11, 2018 @05:50AM (#18425811)
The palette does two jobs. First, it makes sure you don't overwrite yourself somewhere else in the codebase. It also helps you easily see where someone has goofed since they aren't using the palette when defining a color. You could write everything that way, but you have to spend more effort maintaining the project.
Re:Building your color palette by Kagerjay on Sunday November 11, 2018 @11:37AM (#18427172)
Okay good point

If it's a solo project I would probably just stick to what I wrote, but for larger projects I see the benefits. Since someone might define another $color-variable elsewhere