You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turn Marker messages currently lack any internal information for what they're for.
I'd like something as follows <div class='turn-marker'> to wrap all the content
Same div should have something like data-actor-id="actorID" just because.
<p>PLAYER NAME</p> should include class='user' or similar.
and the <em>Turn Marker</em>... I don't know removed or add class='note' or something?
This would allow at minimum for example custom CSS to be used to alter the appearance of the message instead of current state of it being indistinguishable from any other chat message.
The text was updated successfully, but these errors were encountered:
Yeah, I like this idea a lot! Do you have an example of a module that utilizes this custom css, so I know what kind of classes/ids they would be looking for? I haven't really looked at those modules yet, and could use an example.
kckaiwei
changed the title
Add classes to chat message so they can be styled/identified by macros/modules or custom CSS
[FEATURE] Add classes to chat message so they can be styled/identified by macros/modules or custom CSS
May 1, 2021
It's mostly for players doing something via Custom CSS module. So it doesn't need to be anything too specific.
I honestly would imagine most other instances are more personal modules to customize their game in particular ways (homebrew mods, essentially), or micro modules that enhance other features. For example, if the actor ID is included, I could make a micro module that adds functionality to the existing card instead of printing a separate card since it would have sufficient info to build more from.
Regardless, at minimum it needs a class name for the top level element to identify the entire thing as belonging to your module. Optimally major sub elements would have class names also as described in the original post to allow more reliable manipulation of the card with CSS or otherwise.
Turn Marker messages currently lack any internal information for what they're for.
I'd like something as follows
<div class='turn-marker'>
to wrap all the contentSame div should have something like data-actor-id="actorID" just because.
<p>PLAYER NAME</p>
should includeclass='user'
or similar.and the
<em>Turn Marker</em>
... I don't know removed or addclass='note'
or something?This would allow at minimum for example custom CSS to be used to alter the appearance of the message instead of current state of it being indistinguishable from any other chat message.
The text was updated successfully, but these errors were encountered: