Adds the web theme engine

This commit is contained in:
BinaryAlley committed 2026-08-19 10:27:16 -07:00
1 parent 57e8e2ed65
commit 59de6e3df6
29 files changed
+2254 -4

No files matched your search

@@ -0,0 +1,19 @@
#region ========================================================================= USING =====================================================================================
using System.Collections.Generic;
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.DTO.Themes;
/// <summary>
/// Data transfer object for a conditional or repeating section in a theme template.
/// </summary>
/// <param name="Expression">The property path expression that controls the section.</param>
/// <param name="Inverted">Whether the section renders when the resolved value is falsy instead of truthy.</param>
/// <param name="Children">The template nodes rendered when the section is active.</param>
[DebuggerDisplay("Expression: {Expression}")]
public sealed record ThemeSectionNodeDto(
string Expression,
bool Inverted,
IReadOnlyList<ThemeTemplateNodeDto> Children
) : ThemeTemplateNodeDto;