aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/ITheme.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/lib/ITheme.php')
-rw-r--r--apps/theming/lib/ITheme.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/theming/lib/ITheme.php b/apps/theming/lib/ITheme.php
index 3c3b081aec5..4ff455005a2 100644
--- a/apps/theming/lib/ITheme.php
+++ b/apps/theming/lib/ITheme.php
@@ -72,6 +72,14 @@ interface ITheme {
public function getDescription(): string;
/**
+ * Get the meta attribute matching the theme
+ * e.g. https://html.spec.whatwg.org/multipage/semantics.html#meta-color-scheme
+ * @return array{name?: string, content?: string}[]
+ * @since 29.0.0
+ */
+ public function getMeta(): array;
+
+ /**
* Get the media query triggering this theme
* Optional, ignored if falsy
*