From 0e1dc0a283d121edf81a99e9eb0a9e6e5d67a4f9 Mon Sep 17 00:00:00 2001 From: SoMuchForSubtlety Date: Sat, 12 Mar 2022 13:47:29 +0100 Subject: [PATCH] fix theme toml mapping closes #207 --- internal/config/config.go | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index ca5c333..812e659 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -40,21 +40,21 @@ type ConversionConfig struct { } type Theme struct { - BackgroundColor string `json:"background_color"` - BorderColor string `json:"border_color"` - CategoryNodeColor string `json:"category_node_color"` - FolderNodeColor string `json:"folder_node_color"` - ItemNodeColor string `json:"item_node_color"` - ActionNodeColor string `json:"action_node_color"` - LoadingColor string `json:"loading_color"` - LiveColor string `json:"live_color"` - UpdateColor string `json:"update_color"` - NoContentColor string `json:"no_content_color"` - InfoColor string `json:"info_color"` - ErrorColor string `json:"error_color"` - TerminalAccentColor string `json:"terminal_accent_color"` - TerminalTextColor string `json:"terminal_text_color"` - MultiCommandColor string `json:"multi_command_color"` + BackgroundColor string `toml:"background_color"` + BorderColor string `toml:"border_color"` + CategoryNodeColor string `toml:"category_node_color"` + FolderNodeColor string `toml:"folder_node_color"` + ItemNodeColor string `toml:"item_node_color"` + ActionNodeColor string `toml:"action_node_color"` + LoadingColor string `toml:"loading_color"` + LiveColor string `toml:"live_color"` + UpdateColor string `toml:"update_color"` + NoContentColor string `toml:"no_content_color"` + InfoColor string `toml:"info_color"` + ErrorColor string `toml:"error_color"` + TerminalAccentColor string `toml:"terminal_accent_color"` + TerminalTextColor string `toml:"terminal_text_color"` + MultiCommandColor string `toml:"multi_command_color"` } //go:embed default-config.toml