A Neovim theme.
Contains the name, appearance, and a map of highlight Lumis.Theme.Style's.
Lumis bundles the most popular themes from the Neovim community,
you can see the full list with Lumis.available_themes/0 and
then fetch one of the bundled themes with Lumis.Theme.get/1.
Or check out all the available themes.
Example
%Lumis.Theme{
name: "github_light",
appearance: :light,
revision: "fe70a27afefa6e10db4a59262d31f259f702fd6a",
highlights: %{
"function.macro" => %Lumis.Theme.Style{
fg: "#6639ba",
bg: nil,
bold: false,
italic: false,
text_decoration: %Lumis.Theme.TextDecoration{
underline: :solid,
strikethrough: false
}
},
...
}
}
Summary
Types
A Neovim theme with name, appearance (:light or :dark), revision, and highlight styles.
Types
@type appearance() :: :light | :dark
@type t() :: %Lumis.Theme{ appearance: appearance(), highlights: %{required(String.t()) => Lumis.Theme.Style.t()}, name: String.t(), revision: String.t() }
A Neovim theme with name, appearance (:light or :dark), revision, and highlight styles.
Functions
Load a theme from a JSON file.
Load a theme from a JSON string.
Get a theme by name.