zlataovce / takenaka

A Kotlin library for reconciling multiple obfuscation mapping files from multiple versions of Minecraft: JE.
Apache License 2.0
51 stars 3 forks source link

feat(generator-web): configurable usage of pseudo-elements #15

Closed zlataovce closed 1 year ago

zlataovce commented 1 year ago

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.