Swatches are assigned per-attribute. Currently, you can choose from any of the following swatch types:
Upload an image to your media library to use it as a swatch. It will use the “thumbnail” size from your media settings.
Select a colour to use as a swatch.
Use the attribute label as a “tag” style swatch.
Use the attribute label as a “radio” style list.