Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

GroupCheck Light/Dark Mode Toggle?

1725995357

Edited 1726089092
Cron
Pro
I have looked can't seem to find an answer if there is a way to make the results of GroupCheck appear in dark mode? I use Light mode but another DM, I introduced to the magic of API, only uses dark mode and the results of GroupCheck come up as light gray text on a while background.
1726002705
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Cron! Unfortunately, the API cannot detect the dark mode/light mode state. And even if it could, the chat parser cannot send separate formatting commands to different browsers according. Group Check would need to leverage a roll template, which being part of the Roll20 engine would be able to render differently. That being said, I have engineered my more recent scripts with what I call Gray Mode. A mode which does not (hopefully) jar with either mode. I have monkeyed with Group Check in my own campaign for this. It's a quick and dirty fix (I haven't thoroughly vetted it), but it should work. The output looks like this: You can grab the code here .
Oh, thank you very much.