diff options
author | kibigo! <marrus-sh@users.noreply.github.com> | 2017-12-10 20:15:09 -0800 |
---|---|---|
committer | kibigo! <marrus-sh@users.noreply.github.com> | 2017-12-10 20:32:28 -0800 |
commit | bdca1614d574a4b34633a19776446d2d8cf2d2e6 (patch) | |
tree | 39dd38bdacf2b6c25065a63cdc2940c0d71fbbaf /app/javascript/flavours/glitch/theme.yml | |
parent | dabf66e676c693e7e26a6035e0c6296e6804e776 (diff) |
Screenshot support for themes
Diffstat (limited to 'app/javascript/flavours/glitch/theme.yml')
-rw-r--r-- | app/javascript/flavours/glitch/theme.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/theme.yml b/app/javascript/flavours/glitch/theme.yml index 9437e2c04..435fa2329 100644 --- a/app/javascript/flavours/glitch/theme.yml +++ b/app/javascript/flavours/glitch/theme.yml @@ -26,6 +26,12 @@ pack: # language tags and whose default exports are a messages object. locales: 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: glitch-preview.jpg + # (OPTIONAL) The directory which contains the pack files. # Defaults to the theme directory (`app/javascript/themes/[theme]`), # which should be sufficient for like 99% of use-cases lol. |