Added ThemeSettings and ContainerSettings to Default Theme Template

Added ThemeSettings and ContainerSettings to Default Theme Template to Demonstrate how these features could be added to developers designing a theme as requested and discussed in Issue #2633
This commit is contained in:
vnetonline
2023-06-28 22:25:07 +10:00
parent ea4b85ad54
commit 4400744f35
6 changed files with 414 additions and 83 deletions

View File

@ -9,9 +9,11 @@ namespace [Owner].Theme.[Theme]
{
public Oqtane.Models.Theme Theme => new Oqtane.Models.Theme
{
Name = "[Theme]",
Name = "[Owner] [Theme]",
Version = "1.0.0",
PackageName = "[Owner].Theme.[Theme]",
ThemeSettingsType = "[Owner].Theme.[Theme].ThemeSettings, [Owner].Theme.[Theme].Client.Oqtane",
ContainerSettingsType = "[Owner].Theme.[Theme].ContainerSettings, [Owner].Theme.[Theme].Client.Oqtane",
Resources = new List<Resource>()
{
// obtained from https://cdnjs.com/libraries