module

Obelisk::ThemeExporter

Handles exporting themes to various formats

Class methods

save(style : Style, path : String, format : ThemeLoader::Format | Nil = nil) : Nil

Save a style to a file with format auto-detection

Source
to_chroma(style : Style) : String

Export a style to Chroma XML format

Source
to_json(style : Style, pretty : Bool = true) : String

Export a style to JSON format (native Obelisk format)

Source
to_tmtheme(style : Style) : String

Export a style to tmTheme XML format

Source
to_vscode(style : Style) : String

Export a style to VS Code JSON theme format

Source