Set colour theme in Alacritty

I would like to modify the default colour theme in Alacritty (catpuccin in this case). I have done the following:

  1. Populated the ~/.config/alacritty/themes folder with various .toml files from the themes repository.

  2. Modified the ~/.config/alacritty/alacritty.toml to include the import and TERM instructions:


[window]

opacity = 0.98

padding.x = 10
padding.y = 10

decorations = "Full"
decorations_theme_variant = "Dark" # "Light"

[general]
import = [
    "~/.config/alacritty/themes/catppuccin-macchiato.toml"
]

[font]

size = 15.0

[env]
TERM = "xterm-256color"

And yet the default colour theme prevails. A snapshot is below. What else I need to do to modify the theme?

Alacritty terminal with default colour theme