Here, two styles are defined.
The first decides the fill shapes (Symbol) and their color (Fill color), the size of each instance of the fill symbols (Symbol size), and finally the distance between the symbols (Gap). Trial and error is the best method of finding your preferred settings for each instance.
The second style setting defines the color (Outline color) and width (Width) of each polygon’s outline stroke.
Example, legend
Example, in map