I generally like where it's going, but warn against indicating anything with color alone: the red text, for example. In the US, 1 in 12 men of European ancestry have a color vision deficiency (I'm in that cohort, BTW: can't tell red text from black text unless very light red or very bold text).
It's OK to use color to indicate, but you need to back it with something else: a symbol, boldness, italics, reverse - something to show people who can't see your color markup. The "Warning" rectangle with reversed text is a good example of that.