Theme as Definition
Friday, September 27, 2024
LTheme should inherit LDefinition.
If it does this, then changes need to be made to the LTheme construction to pass any required values into the base constructor. LDefinition requires a name, value (as an LJsonValue), and the name of the file where the data came from.
TODO:
Set the active theme from the application (Layers Tester) since this is an action expected to be performed by the application. This should include making the new active theme a child of the root definition. Once done, attribute linking should be functional.
Also, need to consider the need for realtime attribute link resolution now that dynamic linking is performed strictly by the definitions. There is a possibility that these links can be resolved during initialization, storing cached link attributes.