using theme.grid_strokedash

I want to use solid lines for the grid, but it seems to be static.
Fortunately, I found the corresponding variable in the theme.
So I modified the part to use the given variable (theme.grid_strokedash).