JSDocs for JSON schmea for Theme Manifest

This commit is contained in:
Warren Buckley
2023-03-07 12:08:39 +00:00
parent 80065c59de
commit 8a167fe5a6

View File

@@ -1,8 +1,16 @@
import type { ManifestWithLoader } from "./models";
// TODO: make or find type for JS Module with default export: Would be nice to support css file directly.
/**
* Theme manifest for styling the backoffice of Umbraco such as dark, high contrast etc
*/
export interface ManifestTheme extends ManifestWithLoader<string> {
type: 'theme';
/**
* File location of the CSS file of the theme
* @example 'themes/dark.theme.css'
*/
css?: string;
}