calibrate/calibr8_styleguide

This package is abandoned and no longer maintained. No replacement package was suggested.

Creates a page with style elements and their html source.

Installs: 4 164

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:HTML

Type:drupal-custom

1.0.0 2017-07-11 11:18 UTC

This package is not auto-updated.

Last update: 2022-02-01 13:07:14 UTC


README

The Calibr8 Styleguide module creates a default styleguide page on /styleguide and /styleguide/form. It displays a list of elements with the current theme styling applied to it. The form page displays an example form.

You can add items via the hook_calibr8_styleguide_items (only works in themes due to template discovery not working in modules). In your theme add items in this hook, + add the templates in /themes/your-theme/styleguide/

Or just override an items template by adding it in the /themes/your-theme/styleguide/ folder, with the correct name. The styleguide module will pick this up and use your custom template.

WEBFORM forms integration

in /admin/config/styleguide/settings you can tell the styleguide to use a special made WEBFORM form instead of the default calibr8 styleguide form. Check the checkbox and provide a node id of the webform form node you want to use. Now you will see the WEBFORM form as example.