I want to separate my kingdom map by Duchies and Counties. The Kingdom already has its borders, so I need to make different kinds of political borders for Duchies and inside duchies borders for Counties, I though in something like a line with little squares, one black and another white, or a line with 2 different colors in each half.

I managed to create a pattern that does that, but sometimes when the line is put in vertical it looks awful:

8MRVfWj.png