Mayu::ThemeCatalog
Inherits Reference < Object
Constants
DIRECTORY = "./themes"
PREFERRED_DEFAULT_NAME = "asoul"
Constructors
load(enabled_names : String | Nil = ENV["MAYU_THEMES"]?) : ThemeCatalog
Sourcenew(themes : Enumerable(Theme))
SourceInstance methods
default_name
Sourceempty?
Sourceoptions_html
Sourcetheme_or_default(name : String | Nil) : Theme
Source