Add accent colour proposal

This commit is contained in:
FloatingGhost 2022-06-27 11:30:07 +01:00
parent 0543954d14
commit 4c387ef4ef
2 changed files with 2 additions and 0 deletions

View file

@ -189,6 +189,7 @@
email: "example@example.com",
notify_email: "noreply@example.com",
description: "Pleroma: An efficient and flexible fediverse server",
accent_color: "#4f36bf",
background_image: "/images/city.jpg",
instance_thumbnail: "/instance/thumbnail.jpeg",
limit: 5_000,

View file

@ -63,6 +63,7 @@ def raw_nodeinfo do
metadata: %{
nodeName: Config.get([:instance, :name]),
nodeDescription: Config.get([:instance, :description]),
nodeAccentColor: Config.get([:instance, :accent_color]),
private: !Config.get([:instance, :public], true),
suggestions: %{
enabled: false