More progress toward a usable light mode theme in ngscopeclient. Not pushed yet,...

@azonenberg@ioc.exchange

More progress toward a usable light mode theme in ngscopeclient.

Not pushed yet, but color preferences are now scoped to the GUI theme setting so when you change the theme, different sets of preferences are applied.

I'm gradually going through the code finding spots that need to be themed differently and picking sane light-mode default colors, which will take a bit longer.

One thing I'm not yet sure about is how to handle channel colors; the default values for instruments are chosen to match hardware behavior (typically dark mode on the scope) and the default values for filters are a pastel palette meant to look good on a dark background.

So how should we handle these settings (which are defaults but can and often will be tuned by the user in a session file to color code channels) if e.g. you are opening the session with a different theme than it was created in? Keep the existing colors and make the user fix them if they're hard to see? Automatic HSV scaling of some sort if the contrast is too bad?