Currently, the generator uses pseudo-elements for often repeating parts, such as namespace badges.
While this aids in decreasing the size of the build output, it also hinders the experience for users who want to use their browser's search function to move through the site, due to pseudo-elements not being selectable.
A basic abstraction is laid out using the StyleProvider type, using which this could be implemented, after some mandatory refactoring and improvement of the StyleProvider API.
Currently, the generator uses pseudo-elements for often repeating parts, such as namespace badges.
While this aids in decreasing the size of the build output, it also hinders the experience for users who want to use their browser's search function to move through the site, due to pseudo-elements not being selectable.
A basic abstraction is laid out using the
StyleProvider
type, using which this could be implemented, after some mandatory refactoring and improvement of theStyleProvider
API.