diff options
author | beatrix <beatrix.bitrot@gmail.com> | 2017-12-11 09:36:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-11 09:36:14 -0500 |
commit | 771b950febf2e5ee41ccfcd088f0757d80483332 (patch) | |
tree | 64419082b5ec535699fb116d933328548beeec92 /app/javascript/flavours/vanilla | |
parent | 0cd5f2a61f60dcad51b2c8461fc705facd725075 (diff) | |
parent | ed7231947c618b7c7c471699a05da85c59afa824 (diff) |
Merge pull request #254 from glitch-soc/new-theme-ux
New flavour/skin UX
Diffstat (limited to 'app/javascript/flavours/vanilla')
-rw-r--r-- | app/javascript/flavours/vanilla/names.yml | 4 | ||||
-rw-r--r-- | app/javascript/flavours/vanilla/theme.yml | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/app/javascript/flavours/vanilla/names.yml b/app/javascript/flavours/vanilla/names.yml index 8816fcb3a..94326f6ee 100644 --- a/app/javascript/flavours/vanilla/names.yml +++ b/app/javascript/flavours/vanilla/names.yml @@ -1,6 +1,8 @@ en: flavours: - vanilla: Vanilla Mastodon + vanilla: + description: The theme used by vanilla Mastodon instances. This theme might not support all of the features of GlitchSoc. + name: Vanilla Mastodon skins: vanilla: default: Default 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 |