The config key colors is optional, and we assume a default mempty if the key is not present. However, if the key is present but contains invalid data (such as misspelled color names), aeson still uses the default instead of printing an error message.
The config key
colors
is optional, and we assume a defaultmempty
if the key is not present. However, if the key is present but contains invalid data (such as misspelled color names),aeson
still uses the default instead of printing an error message.