UNPKG

woltlab-compiler

Version:

A compiler for WoltLab-Package Archives and WoltLab-Package Components

33 lines (32 loc) 1.01 kB
import { InstructionCompiler } from "../../../../Compilation/PackageSystem/Instructions/InstructionCompiler"; import { Theme } from "../../../../Customization/Presentation/Themes/Theme"; import { Instruction } from "../../Instruction"; import { IThemeInstructionOptions } from "./IThemeInstructionOptions"; /** * Represents an instruction which provides a theme. */ export declare class ThemeInstruction extends Instruction { /** * The theme provided by the instruction. */ private theme; /** * Initializes a new instance of the `ThemeInstruction` class. * * @param options * The options for the theme-instruction. */ constructor(options: IThemeInstructionOptions); /** * @inheritdoc */ readonly Type: string; /** * Gets the theme provided by the instruction. */ readonly Theme: Theme; /** * @inheritdoc */ readonly Compiler: InstructionCompiler<ThemeInstruction>; }