PHPackages                             atf/prudentia - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. atf/prudentia

ActiveDrupal-theme

atf/prudentia
=============

Drupal Theme based on the uswds\_base theme

0.4.0(4y ago)34.0k3[1 PRs](https://github.com/atfweb/prudentia/pulls)GPL-2.0-or-laterSCSS

Since Jan 8Pushed 4y ago6 watchersCompare

[ Source](https://github.com/atfweb/prudentia)[ Packagist](https://packagist.org/packages/atf/prudentia)[ RSS](/packages/atf-prudentia/feed)WikiDiscussions main Synced 4d ago

READMEChangelog (10)Dependencies (2)Versions (27)Used By (0)

INTRODUCTION
------------

[](#introduction)

This theme is a sub-theme of uswds\_base drupal theme. This sub-theme requires the full USWDS assets folder and the @USWDS/compile package. The steps below assume you are using a docker container to run Drupal app and you Lando to spin services and tooling in your app. It uses GULP to compile SASS and copy/update USWDS assets. This assumes your webroot is : web . If your codebase webroot name is different, you need to update lando.yml file.

Install and enable a Prudentia subtheme in a Drupal 9 website
-------------------------------------------------------------

[](#install-and-enable-a-prudentia-subtheme-in-a-drupal-9-website)

1. Install the prudentia theme `lando composer require atf/prudentia`

\_**Note**: As March 2022, to use the USWDS 2.13.1 version we need the uswds\_base 2.13@alpha version. Since this alpha version that does not meet the composer minimum-stability, manually installation of that version is needed.

2. Run: `lando composer require 'drupal/uswds_base:^2.13@alpha'`
3. Copy the /web/themes/contrib/prudentia/starterkit/yourthemename folder
4. Paste the yourthemename folder in the /web/themes/custom/ directory
5. Replace "yourthemename" folder name with your theme name
6. Replace all instances of "yourthemename" in the filenames with your theme name.

    custom/yourthemename/

    custom/yourthemename/config/install

    custom/yourthemename/config/optional

    custom/yourthemename/config/schema

    custom/yourthemename/js

    custom/yourthemename/sass
7. Open the files inside each of the following folders and replace all instances of "yourthemename" with your theme name.

    custom/yourthemename/

    custom/yourthemename/config/install

    custom/yourthemename/config/optional

    custom/yourthemename/config/schema

    custom/yourthemename/js

    custom/yourthemename/sass

**NOTE:** Remove the 'rename-me' from the filename of custom/yourthemename/yourthemename.info.rename.me.yml file

8. Navigate to /admin/extend and enable the components module
9. Navigate to the /admin/appearance page
10. Install and set as default "yourthemename" theme
11. Open lando.yml file and add the following code:

Note: replace **yourthemename** with your theme name

```
services:
  node:
    type: node:16
    build:
      - npm install --prefix ./web/themes/contrib/prudentia/
      - rm -rf ./web/themes/custom/yourthemename/node_modules
      - mv ./web/themes/contrib/prudentia/node_modules ./web/themes/custom/yourthemename

tooling:
  node:
    service: node
  npm:
    service: node
  npx:
    service: node

```

Notes:

- Change 'web' with the root of your application if it is needed.
- The reason of removing node\_modules from yourthemename/ is to avoid issue of not finding empty directory on lando rebuild -y

12. `lando rebuild -y`
13. `cd web/themes/custom/yourthemename`
14. `lando npx gulp copyAssets`
15. `lando npx gulp compile`
16. `lando drush cr`
17. In your drupal application:

- Go to "*admin/config/development/performance*" and uncheck: "Aggregate CSS files" and "Aggregate JavaScript files" under the Bandwidth Optimization and click Save Configuration (to prevent caching)
- Go to "*/admin/appearance*" page and "Install and set as default" ***yourthemename*** theme.

18. Clear cache `lando drush cr`
19. Navigate to your project home page, it should be running your custom theme based on Prudentia

**Important Notes**:

- The lando.yml code above:

    - Runs on lando rebuild and installs Node and NPM in your docker container, adds @uswds/compile, uswds design system and other packages/dependencies to the 'node\_modules' in *docroot/themes/custom/yourthemename* directory.
    - Assumes your webroot folder name is "web". You might need to change it with "docroot" or with the name of your webroot folder.
- The Prudentia theme depends on the Components Library Drupal module () and the module must be enabled for the theme to be enabled. If you install the theme via composer the module will be pulled into your codebase automatically.
- As March 2022, this theme needs the uswds\_base ^2.13@alpha version which works with uswds 2.13.1. You need to manually require the uswds\_base ^2.13@alpha version.
- This theme uses USWDS Compiler (@uswds/compile package) to compile SASS and it requires Node v16
- Upgrade lando to version 3.6.2 that supports Node v16

PRUDENTIA GITHUB REPO:

**References:**

- Drupal and Lando ()
- USWDS-COMPILE ()
- USWDS\_BASE theme ([https://www.drupal.org/project/uswds\_base](https://www.drupal.org/project/uswds_base))
- Drupal - Creating sub-themes ()
- USWDS - Design System package: ()
- USWDS JSDELIVR : ()
- USWDS Design System : ()

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~18 days

Recently: every ~96 days

Total

24

Last Release

1526d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16084a76a5dbcf0ef8e2d14dba34a56d50dd963afe87804b56821ff17a2cff2a?d=identicon)[Mayela](/maintainers/Mayela)

---

Top Contributors

[![mayelaatf](https://avatars.githubusercontent.com/u/15654794?v=4)](https://github.com/mayelaatf "mayelaatf (93 commits)")[![sarahjean](https://avatars.githubusercontent.com/u/82015?v=4)](https://github.com/sarahjean "sarahjean (2 commits)")[![stephencross](https://avatars.githubusercontent.com/u/2040851?v=4)](https://github.com/stephencross "stephencross (1 commits)")

### Embed Badge

![Health badge](/badges/atf-prudentia/health.svg)

```
[![Health](https://phpackages.com/badges/atf-prudentia/health.svg)](https://phpackages.com/packages/atf-prudentia)
```

###  Alternatives

[emulsify-ds/emulsify-drupal

The official Drupal base theme for Emulsify that generates custom themes with Storybook development + Webpack Build

96539.1k2](/packages/emulsify-ds-emulsify-drupal)[govcms/govcms

GovCMS Drupal Distribution

18997.1k3](/packages/govcms-govcms)[apigee/apigee_devportal_kickstart

A fast demo and starting point for Apigee Developer Portals.

27105.4k2](/packages/apigee-apigee-devportal-kickstart)[voidagency/vactory_starter_kit

Vactory is a custom Drupal profile which is developed and released by VOID Agency.

1019.7k](/packages/voidagency-vactory-starter-kit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
