headerbar: Refactor 'add' styling after url parsing
The current code includes many duplications.
I extract a single parameterized style function accompanied by two delegate functions.
The current code includes many duplications.
I extract a single parameterized style function accompanied by two delegate functions.