Wild guess: Affinity lets you declare a variable stroke-width patterns (probably not the right term), so it might be that?
I see the variations are identical between different instances of the same size, like perks/quirks/afflictions.
Ok, I sort of understand the OP now. Yes, I use Affinity, I made the boxes using a brush.