>>717999494
I give it a strict prompt to follow for the HUD then I use regex to wrap it with <span style='color: X'> tags.
Here is the regex:
```
/(\w+): Health: (\d+\/\d+) \| Stamina: (\d+\/\d+) \| Fatigue: (\d+\/\d+) \| Condition: (([^\n]+))/gis
Replaces it with:
<span style="color:gold;">$1</span>: Health: <span style="color:IndianRed;">$2</span> | Stamina: <span style="color:lightgreen;">$3</span> | Fatigue: <span style="color:orange;">$4</span> | Condition: <span style="color:cyan;">$5</span>
```
Not sure if codeblocks work on /v/.. Otherwise for the dialogue i use simple span element for it.
><span style='color:COLOR; name:NAME;'>«TEXT»</span>
Though you do need to edit the script.js file in SillyTavern/public folder to remove your preference of quotes from being auto-colored by ST itself. So it's mostly just regex to find and add style elements to it, saves me some time and token on generation, plus less chance of models fucking it up.