KyoriPowered / adventure-webui

A web UI for Adventure
https://webui.advntr.dev/
MIT License
25 stars 16 forks source link

fix: Correct text shadow colour #199

Closed lucyydotp closed 4 months ago

lucyydotp commented 4 months ago

The colour selected for text shadows doesn't currently match the game, and is often way too bright. For example, <#ffff00>example, in-game and in the viewer: Screenshot 2024-04-01 at 20 59 57 Screenshot 2024-04-01 at 21 00 13

This PR uses the same logic as the game (see net.minecraft.client.gui.Font.StringRenderOutput#dimFactor).