Navigate to Products > Attributes > edit attribute > Choose the disabled swatch style.
So, you need to have the variant of the Product not checked with the Enable option on it, and then the Disabled Swatch style will work accordingly for variations.
Navigate to Theme Settings -> Shop -> Variable products and enable the “Show selected option name on desktop and tablet” option – https://take.ms/jusG6