Skip to content

Add client color and accessibility prefs to getClientInfo()#5962

Draft
Baaaaaz wants to merge 1 commit into
RPTools:developfrom
Baaaaaz:feature/5961-expose-color-accessibility-preferences
Draft

Add client color and accessibility prefs to getClientInfo()#5962
Baaaaaz wants to merge 1 commit into
RPTools:developfrom
Baaaaaz:feature/5961-expose-color-accessibility-preferences

Conversation

@Baaaaaz
Copy link
Copy Markdown
Contributor

@Baaaaaz Baaaaaz commented May 5, 2026

closes #5961

Description of the Change

Add client color and accessibility prefs to getClientInfo().

Possible Drawbacks

None anticipated

Documentation Notes

Update https://wiki.rptools.info/index.php/getInfo with expanded getInfo("Client") sample output.

Release Notes

Added client color and accessibility preferences to getInfo("Client")


This change is Reviewable

@github-actions github-actions Bot added the feature Adding functionality that adds value label May 5, 2026
@cwisniew
Copy link
Copy Markdown
Member

I am not sure this will work the way most people expect when used in chat.
As the colouring is currently done on the sending client and not the rendering client (I know its awful).

Aside from that, there is already a mechanism to expose the theme colours etc to the frames, these values should also go into the css so that they can be used consistantly with the other colour values.

https://github.com/RPTools/maptool/blob/develop/src/main/resources/net/rptools/maptool/library/builtin/mt-theme-css.hbs

https://github.com/RPTools/maptool/blob/develop/src/main/resources/net/rptools/maptool/library/builtin/mt-stat-sheet-css.hbs

Which are processed in

https://github.com/RPTools/maptool/blob/develop/src/main/java/net/rptools/maptool/model/library/builtin/themecss/ThemeCssContext.java

@Baaaaaz Baaaaaz marked this pull request as draft May 18, 2026 20:19
@Baaaaaz
Copy link
Copy Markdown
Contributor Author

Baaaaaz commented May 18, 2026

Okay, thanks for the guidance and links, I will revisit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Adding functionality that adds value

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Expose user color/accessibility preferences

2 participants