akkoma/lib/pleroma/web/metadata/providers/theme.ex
floatingghost bc6bfe383f
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/release Pipeline failed
ci/woodpecker/push/test Pipeline failed
Add configurable theme color (#53)
Reviewed-on: #53
2022-07-06 20:00:43 +00:00

16 lines
316 B
Elixir

defmodule Pleroma.Web.Metadata.Providers.Theme do
alias Pleroma.Web.Metadata.Providers.Provider
@behaviour Provider
@impl Provider
def build_tags(_) do
[
{:meta,
[
name: "theme-color",
content: Pleroma.Config.get([__MODULE__, :theme_color])
], []}
]
end
end