Open Tdue21 opened 4 months ago
Styling chat output is a bit out of scope for this widget, that is part of the reason the widget can be configured with a custom macro. Also the chat window does not support most CSS so styling is very limited.
The widget outputs a JSON as described in the Macro API that has all the information about the desired roll. One can create a custom macro to do the roll and output whatever is desired.
I'll leave this issue open for now, because I may come back to this if the chat window in MapTool ever gets better CSS support.
Is your feature request related to a problem? Please describe. Not a problem per se, more of a lack of options. If
Inline Tooltips
are disabled the result show as a blue text on a light grey background, if it is checked, the result is shown with a white text on a light grey background. This could very well just be a theme thing, but it would nice to be able to customize the result a bit.Describe the solution you'd like I would like a way of defining a custom presentation of the result, e.g. an UDF which required to accept a specific JSON format. Then it would be possible to e.g. do something like this:![image](https://github.com/Daedeross/MapToolDiceWidget/assets/2953375/d987c136-0c18-4470-98d6-a483cf4b9d25)