diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-02-07 18:20:00 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2024-02-08 18:26:48 +0100 |
commit | 6364e53e5a4bf60ef81d214baa99ec286c8ea198 (patch) | |
tree | ef57e60078566c82c6d986f0738c822a11161300 /apps/theming/lib/ITheme.php | |
parent | cdf7840d00a116b4cd7a1909f7f24e60a79aebd6 (diff) | |
download | nextcloud-server-6364e53e5a4bf60ef81d214baa99ec286c8ea198.tar.gz nextcloud-server-6364e53e5a4bf60ef81d214baa99ec286c8ea198.zip |
Merge pull request #32231 from nextcloud/feat/theming-scheme-meta
Diffstat (limited to 'apps/theming/lib/ITheme.php')
-rw-r--r-- | apps/theming/lib/ITheme.php | 8 |
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 * |