about summary refs log tree commit diff
path: root/app/javascript/flavours/vanilla
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2017-12-10 20:15:09 -0800
committerkibigo! <marrus-sh@users.noreply.github.com>2017-12-10 20:32:28 -0800
commitbdca1614d574a4b34633a19776446d2d8cf2d2e6 (patch)
tree39dd38bdacf2b6c25065a63cdc2940c0d71fbbaf /app/javascript/flavours/vanilla
parentdabf66e676c693e7e26a6035e0c6296e6804e776 (diff)
Screenshot support for themes
Diffstat (limited to 'app/javascript/flavours/vanilla')
-rw-r--r--app/javascript/flavours/vanilla/theme.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/javascript/flavours/vanilla/theme.yml b/app/javascript/flavours/vanilla/theme.yml
index 491ea173b..0b27c31bb 100644
--- a/app/javascript/flavours/vanilla/theme.yml
+++ b/app/javascript/flavours/vanilla/theme.yml
@@ -24,6 +24,12 @@ pack:
 #  the flavour, relative to this directory.
 locales: ../../mastodon/locales
 
+#  (OPTIONAL) A file to use as the preview screenshot for the flavour,
+#  or an array thereof. These filenames must be unique across all
+#  images (regardless of path), so it's a good idea to namespace them
+#  to your theme. It's up to you to let webpack know to compile them.
+screenshot: screenshot.jpg
+
 #  (OPTIONAL) The directory which contains the pack files.
 #  Defaults to this directory (`app/javascript/flavour/[flavour]`),
 #  but in the case of the vanilla Mastodon flavour the pack files are