Skip to content

[Beta] Use SASS modules#4539

Merged
thisisdano merged 81 commits into
library--developfrom
library--develop-sass-modules
Mar 3, 2022
Merged

[Beta] Use SASS modules#4539
thisisdano merged 81 commits into
library--developfrom
library--develop-sass-modules

Conversation

@mejiaj

@mejiaj mejiaj commented Feb 24, 2022

Copy link
Copy Markdown
Contributor

Description

Convert to SASS modules. This release adds SASS modules to USWDS beta (currently based on 2.12.2). Closes #4357.

Additional information

  • Bulk of the work was done in core to ensure functions (color especially), mixins, placeholders, settings, tokens, and variables work as expected
  • Components now use SASS module syntax
  • Old import style still works

⚠️ Updating shouldn't require any changes from user.


Before you hit Submit, make sure you’ve done whichever of these applies to you:

  • Follow the 18F Front End Coding Style Guide and Accessibility Guide.
  • Run npm test and make sure the tests for the files you have changed have passed.
  • Run your code through HTML_CodeSniffer and make sure it’s error free.
  • Title your pull request using this format: [Website] - [UI component]: Brief statement describing what this pull request solves.

@mejiaj mejiaj marked this pull request as ready for review February 28, 2022 15:15
@forward "settings";
@forward "variables";
// @TODO is defaults necessary?
// @forward "defaults";

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Defaults might not even be necessary. I'm not sure what the purpose of this is originally.

@thisisdano thisisdano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😅

@thisisdano thisisdano merged commit 060c6ac into library--develop Mar 3, 2022
@thisisdano thisisdano deleted the library--develop-sass-modules branch March 3, 2022 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants