Why are Grease Pencil Strokes converted to thin Lines?
I had the same problem with the random hotkey, still don't know what it was.

On the top right corner of the viewport are four icons which change the Viewport Shading.

Select the second or third icon on the top right corner of the viewport to change Viewport Shading