Install
Works with Drupal: ^11.3 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
18.21 KB
MD5: c3c1815a3ccc7c279475864f781072ab
SHA-1: 4d60b6e2088659519df308f2be77064882f025b0
SHA-256: 16de1dbf4424c0398d1d25b1d35be25903a0afdfe14e36b11e0f1aee915f679f
Download zip
24.96 KB
MD5: 698f2f00f82c06fcac26c002fbdce6f2
SHA-1: 8941db0058131b7fcd4601bbda38852445375f53
SHA-256: 44407f9438575fc7e2faaaf35ad31f392b6a2c841e410921550d5e0681dbd970
Release notes
First alpha release of Cordwainer Theme, a base theme that builds a site's header, navigation and footer from Cordwainer Elements web components. You don't need Drupal Canvas for it.
This is an alpha. The header and footer work, but not every theme setting and region combination is considered stable yet. Please report problems in the issue queue.
Requirements
- Drupal 11.3 or later, or Drupal 12
- Cordwainer Elements 1.0.1 or a later 1.x release
Features
- Renders the site header with
cw-headerand the site logo withcw-logo. - Renders the primary menu as
cw-primary-navigation. - Renders the site footer with
cw-footer. - Renders social links in the footer as
cw-social-linkicons. - Theme settings for choosing which menus feed the header and the footer.
- Regions for the header search panel, header user panel, content and footer "about" area.
Changes since project creation
- #3628081: Add GitLab CI for coding standards and spell checking
- #3628082: Scaffold the base theme
- #3628084: Add theme settings to choose the header and footer menus
- #3628085: Render the site header with cw-header and cw-logo
- #3628086: Render the primary menu as cw-primary-navigation
- #3628087: Render the site footer with cw-footer
- Render social links as cw-social-link icons in the footer
Installation
composer require 'drupal/cordwainer_theme:^1.0@alpha'
Then enable Cordwainer Theme, set it as the default theme, and choose the header and footer menus in its settings.