Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.3.6 Update released for Drupal core (10.3.6)! Release: Drupal 11.0.5 Update released for Drupal core (11.0.5)! Release: Drupal 10.2.9 Update released for Drupal core (10.2.9)! Release: Drupal 10.2.10 Update released for Drupal core (10.2.10)! Release: Drupal 10.3.7 Update released for Drupal core (10.3.7)! Release: Drupal 11.0.6 Update released for Drupal core (11.0.6)! Release: Drupal 10.3.8 Update released for Drupal core (10.3.8)! Release: Drupal 11.0.7 Update released for Drupal core (11.0.7)! Module Revived: Translation Management Tool 8.x-1.19 Module tmgmt updated after 7 months of inactivity (8.x-1.19). Usage Milestone: Account field split Module account_field_split crossed 10,000 active installs.

Drulma companion is a helper module for the Drulma theme. It is built to use the Bulma CSS framework.

Features

  • Implements blocks with configurations from Bulma adapted to Drupal.
  • Adds Fontawesome 5 template suggestions for inputs, submit buttons, etc.
  • Provides a command to generate a subtheme with Drush. drush generate drulma

Installation

Due to relying on external PHP libraries from packagist.org to implement the subtheme generator the module can only be installed using composer.

composer require drupal/drulma_companion:^1

This will also download the drulma theme.

Have look at Composer template for Drupal projects if you are not familiar on how to manage Drupal projects with composer.

To able able to use the fontawesome 5 icons the Libraries provider fontawesome module needs to be installed since fontawesome is optional for Bulma.

Blocks

  • Navbar with branding: Add a Bulma navbar that can have a logo and the site name with two optional menus on the left and the right end of the navbar. It is recommended to position it at the top of the page or the header of a hero.
  • Bulma tabs: Drupal primary and secondary tabs implemented as Bulma tabs.
  • Menu as Bulma tabs: A drupal menu displayed as Bulma tabs.

Both tabs block are meant to be postioned at the footer of a hero.

Block class module

This module depends on the block class module because Bulma
uses classes to modify the display of elements. With block class
is easy to add container or section class to blocks so the display
is transformed. It is preferred to have a setting configuration
on the block so this just a helper for all the blocks
that are not part of Drulma.

Subtheming

Drush 9 Does not support commands coming from themes so that is why this command lives in this module.

Contributions

The project is open to improvements on how to override Drupal markup to make it more adapted to Bulma but also feel free to open any discussion about how to make Bulma and Drupal play nicely together.

Patches on drupal.org are accepted but merge requests on gitlab are preferred.

Real time communication

You can join the #drulma channel on drupalchat.me.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Nov 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
2.2.0 Stable Dec 19, 2024
2.1.9 Stable Nov 15, 2024
2.1.8 Stable Nov 15, 2024