Install
Works with Drupal: ^11.3 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
1.95 MB
MD5: 90a94b3060a78ae181e6ebb5eb0ad203
SHA-1: b02a563a25fc29f3db4f55899b9e9468a1632d62
SHA-256: 92a75ed5c188e858606d539878312bf553ceab8957d0f4bdc27fc5e8ee549ede
Download zip
2.06 MB
MD5: edf0f6d1e708fad2de8f899e48940f00
SHA-1: 97fe166f95c9a221d7c2cd120770114583ede940
SHA-256: c8ff5b7fe0369a55eac97d3a8dd0f069960cd6c39201d98ac4482a4824526439
Release notes
First release of the 5.0.x branch. Holy is now a starting point for new Drupal projects built on the standard installation profile: it styles the components that profile provides (pages, articles, comments, tags, menus, search, contact form, user pages) and nothing else.
Demo: holy.redweb.cz
This is an alpha release. It is not compatible with 4.0.x, test it on a copy of your site before updating.
Breaking changes (compared with 4.0.x)
- Drupal 11.3 or newer, or Drupal 12. Drupal 10 is no longer supported.
- Hooks are classes in
src/Hook/(#[Hook]attribute). Theholy.themefile is gone; a sub-theme or clone that relied on its functions has to move them to its own hook classes. - Removed components:
banners,card,hero_billboard,hero_carousel,hero_slide,image,section,text,titleandsocial_menu, together with the Embla Carousel libraries (holy/embla_carousel,holy/carousel) andholy/socmenu. Only themain_menucomponent remains. - Removed regions:
heroandbanners. Blocks placed in them are disabled by Drupal when the theme is updated. - Removed support for Drupal Canvas pages and Layout Builder specific styles, and the project specific styles (waste collection, upcoming events,
field_date,field_gallery, teaser column view mode, media). - The block
holy_main_menu_2(sidebar menu based on the contrib module Menu Block) is replaced byholy_sidebar_menu, which uses the core menu block. - No dependency on Starterkit: templates no longer attach the
starterkit_theme/*libraries, their styles are part of the theme. - New build tooling: Vite, Sass with cascade layers in atomic design levels and Tailwind CSS utilities with the
tw:prefix replace Gulp. The compiled CSS is committed, a production site needs no build.
Added
- Sidebar menu (
holy_sidebar_menu): the main menu from the second level in the primary sidebar, with the current section as a linked heading. An empty sidebar is not rendered. - Language switcher block (
holy_languageswitcher) in the header, showing language codes, installed on multilingual sites. - About Holy block (
holy_about) on the front page, a short description of the theme with links to the project. - Clone theme tool in the theme settings: creates a standalone copy of the theme under a new machine name.
- Styleguide in
styleguide/with previews and code of the theme's styles, updated from the theme bynpm run styleguide. - Documentation in English and Czech (
doc/index.html,doc/index-cs.html), functional and unit tests, GitLab CI on drupal.org.
Changed
- Dates of nodes and comments use the Drupal date formats instead of a format hard-coded in the templates.
- File icons are SVG instead of PNG.
- The breadcrumb has a top padding.
Installation
composer require drupal/holy:5.0.0-alpha1 drush theme:enable holy drush config:set system.theme default holy -y
For a real project, create your own theme with the Clone theme tool (Appearance > Holy settings), so updates of Holy never overwrite your changes.
Full list of changes: CHANGELOG.md in the theme.