Raxol.Plugins.ThemePlugin (Raxol v2.0.1)

View Source

Plugin that manages terminal themes and color schemes. Allows users to apply predefined themes or create custom color schemes.

Summary

Functions

Returns the API version for compatibility checking.

Changes the current theme to the specified theme name.

Returns metadata for the plugin.

Gets the current theme.

Gets a list of available themes.

Registers a new theme. Can accept either a map of theme attributes or an existing Theme struct.

Functions

api_version()

Returns the API version for compatibility checking.

change_theme(plugin, theme_name)

Changes the current theme to the specified theme name.

disable(plugin)

enable(plugin)

enabled?(plugin)

get_metadata()

Returns metadata for the plugin.

get_name(plugin)

get_theme(plugin)

Gets the current theme.

list_themes()

Gets a list of available themes.

register_theme(theme_input)

Registers a new theme. Can accept either a map of theme attributes or an existing Theme struct.