s2kiwi wrote: 
> Long shot, but does anyone know a programmatic way to change the skin
> easily?
> 
> I have integrated this as a panel in my home automation setup and would
> love it to be able to automatically switch between light/dark modes
> along with the rest of the dashboard.
> 
> I am hoping for something easy like a call to http://IP:9000?theme=dark,
> but I'll take any suggestions anyone has!

I'll implement this for 1.9.0 (which will not be the next release). For
themes other than light, dark, darker, and black you will need to
specify the path as well. e.g. http ://
SERVER:9000/material/?theme=linux/dark/Adwaita-Dark,green - this also
allows (optionally) setting the colour varaint. http ://
SERVER:9000/material/?theme=dark will work for just setting the dark
theme. Care msut be taken to get the correct theme name and colour name
- as no validation is performed.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to