
I've scoured through the forum posts and the guide here: <a href="https://wiki.roll20.net/Character_Sheet_Development/Dark_Mode" rel="nofollow">https://wiki.roll20.net/Character_Sheet_Development/Dark_Mode</a> but can't seem to make it work. Some helpful clarification on the documentation would be (especially for us newly learning coders): What do you mean you need 3 classes to override darkmode? Do you need to replace your existing rolltemplate class? Wrap the former entire roll template in a new div? Do all your roll templates just have to be called "sheet-rolltemplate-template" now? Or is it "sheet-rolltemplate-(yournamehere)" Is there an example of a previous sheet code, updated to work with dark mode Roll Templates specifically that can be shared in a condensed way, besides referrals to large sheets? A bit more thorough documentation could really help with the confusion of a relative noob like me. Anyways, here's my code I'm trying to style I think. I can include more code if I'm missing something. HTML: <rolltemplate class="sheet-rolltemplate-dodas1"> <table> <caption>{{name}}</caption> {{#allprops() }} <tr><td>{{key}}</td><td>{{value}}</td> {{/allprops() }} </table> </rolltemplate> CSS: (I included the first bracket as something that is working previously, the second bracket is not) /* this part works fine, I think? Though tbh not sure what the href is referring to. */
.sheet-rolltemplate-dodas1 a[href^='!'],.sheet-rolltemplate-dodas1 a[href^='~'] { background-color: #6f120c; padding: 1px 0px 0px 0px; color: white; height: 17px; width: 18px; display: inline-block; text-align: center; border: 1px solid white; }
/* this appears to do nothing */ .sheet-rolltemplate-template .sheet-template-wrapper .inlinerollresult { color: black; }
/* also tried .sheet-rolltemplate-dodas1 but no luck */ Any help would be much appreciated. Thank you!