Scripting API

Scripting API

SheetDeclaration

Record in Abyss.Core, from Abyss.Core.

A declaration of a stylesheet's rule.

public record SheetDeclaration

Constructors

SheetDeclaration

public SheetDeclaration(string Name, string Value, bool Important)

A declaration of a stylesheet's rule.

Parameters

  • Name: Its property's name, lowercase.
  • Value: Its value as written, without !important.
  • Important: Whether it is !important.

Properties

Name

public string Name { get; init; }

Its property's name, lowercase.

Value

public string Value { get; init; }

Its value as written, without !important.

Important

public bool Important { get; init; }

Whether it is !important.