Best Practice for UI Themes

Morning All,

I’m redoing my UI from the usual jumbled mess in to well structured panels and even with the minimization I realised I keep copy\pasting things like default colour schemes, fonts, etc.

I came up with two options.

  1. Binding to a function that read a global variable in GameMode. I don’t like this.
  2. Creating master User Widget wrappers with default settings baked in. I’ll probably do this.

Is there anything else I might consider that more experienced UI designers might use?

Kind thanks

Or a combination, where the ‘Wrapper Widgets’ constructor pulls the colours on construction from GameMode? That seems fairly cheap.