Dark and Bright UI Design
-
Hey
I was wondering whats the best idea to make a 2 mode ui? Bright / Dark?
-
@ILIAM If you're using css you might just be able to swap out style sheets or component classes.
If you using component colours then you'd need to have a json object with all the colours for dark and light. Then when the user changes theme you loop through the object and apply the colours to the components.
-
@ILIAM I basically do it by LAF-ing every component, and the LAF's all refer to a skin.json file, then all you need do is store a number of these "skins" and load as required...
-
@d-healey said in Dark and Bright UI Design:
If you're using css you might just be able to swap out style sheets or component classes.
or the colour variable maybe