This is a base theme utilizing the United States Web Design System. Out of the box, it works with a CDN to the USWDS CSS/JS, but is meant to be utilized with a local file setup.

Project link

https://www.drupal.org/project/uswds_base

Git instructions

git clone --branch 8.x-2.x https://git.drupalcode.org/project/uswds_base.git

Comments

mferanda created an issue. See original summary.

avpaderno’s picture

Issue summary: View changes

Thank you for your contribution! Remember to change status, when the project is ready to be reviewed.

mferanda’s picture

Sorry... first time. It's ready to be reviewed... what status do I need to change?

avpaderno’s picture

Status: Active » Needs review
altagrade’s picture

The following errors are found with the Coder module's check:

phpcs --standard=Drupal uswds_base

FILE: /var/www/docroot/modules/uswds_base/config/install/uswds_base.settings.yml
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
 40 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------


FILE: /var/www/docroot/modules/uswds_base/starterkits/uswds_base_subtheme/config/install/uswds_base_subtheme.settings.yml
-------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------
 40 | ERROR | [x] Expected 1 newline at end of file; 0 found
-------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------


FILE: /var/www/docroot/modules/uswds_base/starterkits/uswds_base_subtheme/uswds_base_subtheme.libraries.yml
-----------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------
 7 | ERROR | [x] Expected 1 newline at end of file; 0 found
-----------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------


FILE: /var/www/docroot/modules/uswds_base/starterkits/uswds_base_subtheme_sass/config/install/uswds_base_subtheme.settings.yml
------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------
 40 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------


FILE: /var/www/docroot/modules/uswds_base/starterkits/uswds_base_subtheme_sass/uswds_base_subtheme.libraries.yml
----------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------
 7 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------
mferanda’s picture

I've updated the dev branch accordingly.

klausi’s picture

Status: Needs review » Reviewed & tested by the community

Thanks for your contribution!

Review:
* uswds_base_preprocess_menu__secondary_menu(): the user facing text "Search" should run through t() for translation.

Otherwise looks good to me, I don't see any security issues.

mferanda’s picture

Thanks!

Fixed it and pushed to dev

avpaderno’s picture

Assigned: Unassigned » avpaderno
Status: Reviewed & tested by the community » Fixed

Thank you for your contribution! I am going to update your account.

These are some recommended readings to help with excellent maintainership:

You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

I thank all the dedicated reviewers as well.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.