diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2019-10-19 20:11:58 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2019-10-19 20:11:58 +0000 |
commit | f01dbc450c658ac1a03b91b7ff3ba8d5ea1454e5 (patch) | |
tree | efdf22a77ba49ec31ab97a512d57055fc5e63c8e /config/description.exs | |
parent | cec4b00140ea67de5933357f46e9519271a074a9 (diff) | |
parent | df3c2dfd8bed82121f3dcfba18105ce8ee5daddf (diff) | |
download | pleroma-f01dbc450c658ac1a03b91b7ff3ba8d5ea1454e5.tar.gz pleroma-f01dbc450c658ac1a03b91b7ff3ba8d5ea1454e5.zip |
Merge branch 'feature/mastofe-pwa' into 'develop'
MastoFE: Add PWA manifest.
See merge request pleroma/pleroma!1834
Diffstat (limited to 'config/description.exs')
-rw-r--r-- | config/description.exs | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs index 571c64bc1..70e963399 100644 --- a/config/description.exs +++ b/config/description.exs @@ -1100,6 +1100,45 @@ config :pleroma, :config_description, [ }, %{ group: :pleroma, + key: :manifest, + type: :group, + description: + "This section describe PWA manifest instance-specific values. Currently this option relate only for MastoFE", + children: [ + %{ + key: :icons, + type: {:list, :map}, + description: "Describe the icons of the app", + suggestion: [ + %{ + src: "/static/logo.png" + }, + %{ + src: "/static/icon.png", + type: "image/png" + }, + %{ + src: "/static/icon.ico", + sizes: "72x72 96x96 128x128 256x256" + } + ] + }, + %{ + key: :theme_color, + type: :string, + description: "Describe the theme color of the app", + suggestions: ["#282c37", "mediumpurple"] + }, + %{ + key: :background_color, + type: :string, + description: "Describe the background color of the app", + suggestions: ["#191b22", "aliceblue"] + } + ] + }, + %{ + group: :pleroma, key: :mrf_simple, type: :group, description: "Message Rewrite Facility", |