Make lines in legend longer

I am trying to create a separate common legend for a grid of plots, however the length of the lines in the legend appears too short.

What keyword argument modifies it?

You could use linepoints:

But what if I use GR backend instead of Makie?