diff --git a/Customizations/AllKnownLayouts.ts b/Customizations/AllKnownLayouts.ts index 7da19ba75b..e93ae4a06e 100644 --- a/Customizations/AllKnownLayouts.ts +++ b/Customizations/AllKnownLayouts.ts @@ -229,5 +229,16 @@ export class AllKnownLayouts { } return dict; } + + public static GenerateDocumentationForTheme(theme: LayoutConfig): BaseUIElement{ + return new Combine([ + new Title(new Combine([theme.title, "(",theme.id+")"]), 2), + theme.description, + "This theme contains the following layers:", + new List(theme.layers.map(l => l.id)), + "Available languages:", + new List(theme.language) + ]) + } }