Current section
Files
Jump to
Current section
Files
lib/atproto/site/standard/theme/basic.ex
defmodule Site.Standard.Theme.Basic do
@moduledoc false
use Atex.Lexicon
deflexicon(%{
id: "site.standard.theme.basic",
defs: %{
main: %{
type: "object",
description:
"A simplified theme definition for publications, providing basic color customization for content display across different platforms and applications.",
required: ["background", "foreground", "accent", "accentForeground"],
properties: %{
accent: %{
type: "union",
description: "Color used for links and button backgrounds.",
refs: ["site.standard.theme.color#rgb"]
},
accentForeground: %{
type: "union",
description: "Color used for button text.",
refs: ["site.standard.theme.color#rgb"]
},
background: %{
type: "union",
description: "Color used for content background.",
refs: ["site.standard.theme.color#rgb"]
},
foreground: %{
type: "union",
description: "Color used for content text.",
refs: ["site.standard.theme.color#rgb"]
}
}
}
},
lexicon: 1
})
end