29
Colours built from a variable work in dev and come out unstyled in production — what am I misunderstanding?
I have a badge component that takes a colour prop and builds the class from it, something like a template string that produces or depending on the value. In development every badge is correctly coloured. In the…