Duet3D / DuetWebControl

A completely new web interface for the Duet electronics
GNU General Public License v3.0
410 stars 230 forks source link

Feature Request (Customize theme colors) #322

Open s7a73farm opened 3 years ago

s7a73farm commented 3 years ago

Would love to have the ability to pick theme colors like the gcode viewer plugin. But the theme color of the entire web gui.

chrishamm commented 3 years ago

In any case I wouldn't want to make this a core feature; a third-party plugin would be much more appropriate. Check out https://vuetifyjs.com/en/features/theme/ if you want to see how the colors can be changed. I have no idea if they can be easily changed during runtime though.

joshenders commented 3 years ago

@chrishamm, I have a use case which you may not have thought of: many users have multiple printers (printer farm) and want to easily differentiate between them (imagine the frustration of accidentally clicking stop on the wrong printer mid print!).

I was considering adding support under the appearance section in the settings.

I'll draft a PR if you're open to it?

chrishamm commented 3 years ago

DWC 3.3 will get multi-machine support so I am not sure if it's the right time to write a PR for this. The backend has supported multiple machines since DWC2 but I haven't had time to add the necessary controls and to test everything yet. But now that users can write third-party plugins (which will be fully unlocked in v3.3) I think it's a good idea to do that next.

joshenders commented 3 years ago

In the meantime, I've written a userscript for anyone immediately needing this functionality: https://github.com/joshenders/userscript-duetwebcontrol-colors

dans98 commented 3 years ago

I'd like to see this as well.

I'd also really like to have the ability to adjust font size and spacing/padding in some way.