I'm using the MWE that Jesper Ipsen provided in the following question.
I intend to use colored boxes instead of section numbers. My idea was to implement it as shown in the following question.
Now the only thing that's left to do is to have an easy way of adding those boxes whenever I create a new section, as shown below:
The idea is to have it appear like this: