Skip to main content

Module theme_config

Module theme_config 

Source
Expand description

Theme configuration file parsing (.vtcode/theme.toml). Theme Configuration File Support

Parses custom .vtcode/theme.toml files with Git/LS-style syntax for colors. This allows users to customize colors beyond system defaults.

Structsยง

CliColors
Colors for CLI elements like prompts, messages, etc.
DiffColors
Colors for diff rendering
FileColors
File type colors using LS_COLORS-style patterns
ParsedCliColors
Parsed CLI colors with AnsiStyle values ready for rendering.
ParsedDiffColors
Parsed diff colors with AnsiStyle values ready for rendering.
ParsedFileColors
Parsed file-type colors with AnsiStyle values ready for rendering.
ParsedStatusColors
Parsed status colors with AnsiStyle values ready for rendering.
StatusColors
Colors for status output
ThemeConfig
Theme configuration that can be loaded from a .vtcode/theme.toml file