estroBiologist / pluralchum

PluralKit integration for BetterDiscord
MIT License
42 stars 12 forks source link

Fix such that new header formatting works correctly #21

Closed 666666t closed 1 year ago

666666t commented 1 year ago

se: With the new discord formatting updates, the .markup-XXXXXX class that is applied to messages has specific extensions for the new h1/h2/h3 formatting, and this was enough to override the text color just being applied to the parent div.

As such, we made a small change so that per-element styling is applied to the troublesome child elements within the div, in addition to the div itself as was the prior behavior. This should keep all regular text coloring correctly, without overzealously also coloring things, such as link text.

Thanks discord for making an extremely functional website, I can't wait to find out what happens when discriminators stop being real and the #0000 tag check for pk messages may or may not become... odd !

estroBiologist commented 1 year ago

thanks, and apologies for the delay!

(also oh god i haven't even thought about what'll happen when discriminators get dropped for good. welp guess we'll see LOL)