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 .
×
May your rolls be merry + bright! 🎄
Create a free account

Night Mode via API?

1478179617
Mark Cashion
Marketplace Creator
I was wandering if it was possible to create a "Night Mode" look of the page by using the Roll20 API. Usually the page is little too bright for my eyes, sometimes to the point that it hurts my eyes. So I wandering if coding a plugin I can create a Night Mode for my eyes. I don't want to go into coding it to find out that I can't create said plugin. Does the API work only for the games, or it can work on the site too? I guess this Forum Topic might act as a Site Suggestion/Idea to implement to the site too I guess.
1478180921
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Take a look at the "Stylish" plug-in. It allows your browser to re-interpret CSS on the fly, rendering specific elements in a custom manner. It's entirely possible that there is already a Roll20 style template that will match your needs. Even so, the "coding" of a template is mostly GUI-based: select an element and choose some style options.
1478181096

Edited 1478181156
Ziechael
Forum Champion
Sheet Author
API Scripter
If you are looking for a site wide adjustment I would recommend using a browser extension like stylish to set your own client side .css. [edit] beaten to it by Keith... who even supply additional info, I am humbled
1478213574
Lithl
Pro
Sheet Author
API Scripter
I believe some computer monitors have a feature like this, too. Pretty much every computer monitor will let you adjust the color balance manually, although knowing what balance you need for a night viewing mode isn't trivial, and you'd have to re-adjust the monitor afterwards.
1478214461
The Aaron
Pro
API Scripter
Oh, you might be interested in F.lux:&nbsp; <a href="https://justgetflux.com/" rel="nofollow">https://justgetflux.com/</a>
+1 for f.lux. Some other discussions on this subject can be found via a forum search .