mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 17:11:10 +00:00
Adds the web theme engine
This commit is contained in:
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;
|
||||
Reference in new issue
Block a user