Handle user preference theme in the `editor_lite` module
Context
The following discussion from !24158 (merged) should be addressed:
-
@pslaughter started a discussion: note: @mishunov heads up! We now have multiple themes... This leaves us some choices
🤔 Option 1 - Load the default theme initially and then expose a method for the theme to be updated
I'm not a huge fan of this because 9 times out of 10, we want to use the user preferences
🤔 Option 2 - Always load the user preference theme in the "lite" editor
I like the simplicity this will give, but I'm not sure I like tightly coupling this to something like the
gon
🤔 ... Maybe it'd be nice to have another module which exposes acreateLiteEditor
factory which injects our environment stuff🤔 Going to create a separate issue for this lite editor discussion
😄