Wdfn 663 - Replace use of @import with @use in Sass style sheets

Merged Bucknell, Mary S. requested to merge mbucknell/waterdataui:wdfn-663 into main

Before making a pull request

  • Run all linters (make lint)
  • Run all tests (make test)
  • Update the changelog appropriately
  • If making a release, update code.json, versionNumber and metadataLastUpdated.


Replaced use of @import (which is depracated) with @use in Sass stylesheets. This entailed some reorganization as the @use syntax can not be used conditionally as we were using the @import. In addition, it was an opportunity to bring more consistent organization for the templates and the stylesheets since the project now includes far more than the monitoring location pages. I also removed the embed component and view. It is feature toggled off for production and no longer works. In addition, the graph server serves a similar purpose. This allowed even more streamlining of templates.

After making a pull request

  • If appropriate, put the link to the PR in the JIRA ticket
  • Assign someone to review unless the change is trivial

Merge request reports