Style guide index page listing foundations, templates and component groups with their implementation status
Style guide page for buttons showing primary and black buttons in default, hover, pressed, focus, selected and disabled states

This project is not covered by Drupal’s security advisory policy.

iDigit Gov style guide is a browsable reference for the iDigit Gov theme, at /styleguide: one page per DGA Platforms Code foundation, template, and component, grouped like the official menu, each with an implementation status (implemented, provisional, or planned).

It is a community contribution by iDigit. It is not an official DGA product and is not endorsed by DGA.

What it does

  • 84 catalog entries: foundations, templates, components and guide articles.
  • Live examples of styles and states that follow the active color scheme and text direction of the theme.
  • Access is restricted by the permission view idigit gov styleguide; intended for development and demo sites.
  • The status of each entry is read from one catalog file (config/catalog.yml).

Requirements

Drupal core ^11.3 (tested for 1.0.0-beta1 on 11.3.21, 11.4.11 and 11.4.12 with PHP 8.3 and 8.4, and on 11.5.0-beta1, beta only). Core module sdc. The iDigit Gov theme should be the active theme.

Install

composer require 'drupal/idigit_gov_styleguide:^1.0@beta', enable the module and grant view idigit gov styleguide to the roles that should see it. Tested from the release package on a clean Drupal 11 site with the standard profile: all 84 pages load.

Supporting organizations: 
funded the development and maintenance, and provides the demo site and testing used to verify it

Project information

Releases