mirror of
https://github.com/funamitech/mastodon
synced 2024-12-12 21:59:04 +09:00
7208edbd37
Packs are now loaded from views, just like upstream, and are identified by their filenames. The definition of `theme.yml` has changed as such: - `pack_directory` is now required - `pack` is now unused - `signed_in_preload` has been introduced
23 lines
912 B
YAML
23 lines
912 B
YAML
# (REQUIRED) The directory which contains the entry point files.
|
|
pack_directory: app/javascript/flavours/glitch/packs
|
|
|
|
# (OPTIONAL) Define files to be preloaded when a logged-in user is
|
|
# visiting the main web app.
|
|
signed_in_preload:
|
|
- flavours/glitch/async/compose.js
|
|
- flavours/glitch/async/home_timeline.js
|
|
- flavours/glitch/async/notifications.js
|
|
|
|
# (OPTIONAL) The directory which contains localization files for
|
|
# the flavour, relative to this directory. The contents of this
|
|
# directory must be `.json` files whose names correspond to
|
|
# language tags and whose default exports are a messages object.
|
|
locales: locales
|
|
|
|
# (OPTIONAL) Which flavour to inherit locales from
|
|
inherit_locales: vanilla
|
|
|
|
# (OPTIONAL) A file to use as the preview screenshot for the flavour,
|
|
# or an array thereof. These are the full path from `app/javascript/`.
|
|
screenshot: flavours/glitch/images/glitch-preview.png
|