I have found a solution.
When making any change to the .less files within your custom theme, follow the following four steps.
- Delete the files within:
<vendor>\var\view_preprocessed\pub\static\frontend\<vendor_theme>\en_NZ\css
- Delete the files within:
<vendor>\var\cache
- Delete the files within:
<vendor>\pub\static\frontend\<vendor_theme_name>\en_NZ\css
- If in production mode, run the
setup:distatic-content:compiledeploy
command. If in developer mode, simply refresh the page you are attempting to style.
After following these steps, I was able to observe the changes I made to my website.