Gradient question

I know how to add gradient, however, after adding gradient, I add a contour. (I wanted solid black contour)   2 days ago I was able to keep the contour solid black. Today when I do the same, the gradient effects the contour. Is there a setting I'm missing? I didn't break the contour apart either a few days ago.