REQ: Best-practices for sub-theme / base theme: vartheme_bs5 (NOT clone of theme)

Created on 15 June 2023, about 1 year ago
Updated 20 August 2023, 11 months ago

REQ: Best-practices for sub-theme / base theme: vartheme_bs5 (NOT clone of theme)

Proposed resolution

Add to docs on how to make a simple sub theme for 'vartheme_bs5' (or create a script), instead of creating a clone of the entire theme which the docs suggest:

php core/scripts/drupal generate-theme s1e_vt_bs5 --name "CLONE Vartheme BS5" --starterkit vartheme_bs5 --path themes/custom

REASON WHY:

Any changes/fixes/security-patches/etc to the 'vartheme_bs5' theme won't happen on the cloned version.

Better solution would be to override the MINIMUM required files to make customization to your own sub-theme of 'vartheme_bs5'. This way when there are updates, you only need to scan through a few custimized files, instead of the entire cloned structure which the end-user likely won't ever touch 90% of.

✨ Feature request
Status

Closed: won't fix

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States duntuk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024