class

Mayu::ThemeCatalog

Inherits Reference < Object

Constants

DIRECTORY = "./themes"
PREFERRED_DEFAULT_NAME = "asoul"

Constructors

load(enabled_names : String | Nil = ENV["MAYU_THEMES"]?) : ThemeCatalog
Source
new(themes : Enumerable(Theme))
Source

Instance methods

default_name
Source
empty?
Source
options_html
Source
theme_or_default(name : String | Nil) : Theme
Source