Autumn.Theme (Autumn v0.4.0)
View SourceA Neovim theme.
Contains the name, appearance, and a map of highlight Autumn.Theme.Style
's.
Autumn bundles the most popular themes from the Neovim community,
you can see the full list with Autumn.available_themes/0
and
then fetch one of the bundled themes with Autumn.Theme.get/1
.
Or check out all the available themes.
Example
%Autumn.Theme{
name: "github_light",
appearance: "light",
revision: "fe70a27afefa6e10db4a59262d31f259f702fd6a",
highlights: %{
"function.macro" => %Autumn.Theme.Style{
fg: "#6639ba",
bg: nil,
underline: false,
bold: false,
italic: false,
strikethrough: false
},
"variable.builtin" => %Autumn.Theme.Style{
fg: "#0550ae",
bg: nil,
underline: false,
bold: false,
italic: false,
strikethrough: false
},
"character" => %Autumn.Theme.Style{
fg: "#0a3069",
bg: nil,
underline: false,
bold: false,
italic: false,
strikethrough: false
},
...
}
}
Summary
Types
Functions
Load a theme from a JSON file.
Load a theme from a JSON string.
Get a theme by name.