Drupal 10+ Olivero sub theme

Starting point for a minimal Drupal 10 Olivero sub theme with minimal overrides.

Stale Pure Nim score 23/100 · last commit 2024-12-18 · 2 stars · tests present · no docs generated

Summary

Latest Version Unknown
License Unknown
CI Status Failing
Stars 2
Forks 2
Open Issues 0
Last Commit 2024-12-18
Downloads 0
Last Indexed 2026-07-22 05:36

Installation

nimble install Drupal 10+ Olivero sub theme
choosenim install Drupal 10+ Olivero sub theme
git clone https://gitlab.com/mog33/olivero_sub_theme

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
Drupal 10+ Olivero sub theme - - - - - - -

README

Drupal 10 Olivero sub theme

Note: This will be obsolete with Drupal 11.x, see Allow starterkit theme generator tool to clone Olivero

Minimal template to create a sub theme from Drupal Olivero theme.

This is only recommended if you want to make minor tweaks and understand that Olivero could break your modifications as it changes.

See full article:

Quick HowTo

Copy this theme in your Drupal theme folder web/themes/custom and rename it, ie olivero_sub_theme > _MY_THEME_NAME_.

Rename all files in this folder from olivero_sub_theme > _MY_THEME_NAME_.

Edit _MY_THEME_NAME_.info.yml with your informations.

Edit _MY_THEME_NAME_.theme to change olivero_sub_theme_css_alter > MY_THEME_NAME_css_alter and change the theme name olivero_sub_theme with your name.

Run:

scripts/build.sh

Enable the theme as usual from your Drupal.

Visit theme settings to set base colors: Administration > Appearance > Appearance settings > _MY_THEME_NAME_

Disable css, js aggregation and cache in Drupal, see the Drupal documentation.

Adapt css/theme.css and js/theme.js.

Build the css with postcss by running each time:

scripts/build.sh