module

Adamantine::Theme

Constants

MAX_THEME_FILE_BYTES = 1048576
PRESETS = {"vscode" => Palette.vscode_dark, "vscode-dark" => Palette.vscode_dark, "vscode-high-contrast" => Palette.vscode_high_contrast, "vs-dark" => Palette.vscode_dark, "vs-light" => Palette.vscode_light, "default" => Palette.vscode_dark, "vscode_light" => Palette.vscode_light, "vscode-light" => Palette.vscode_light}

Class methods

color(key : String) : Tui::Color
Source
editor_diagnostic_style(base_style : Tui::Style, severity : Int32 | Nil) : Tui::Style
Source
load(path : String | Nil) : Bool
Source
load_error
Source
lsp_underline?
Source
name
Source
preset_names
Source
reset
Source
resolve_path(path : String | Nil) : String | Nil
Source
syntax_color(token_type : String) : Tui::Color | Nil
Source

Nested types