An enhanced starter theme for Drupal 8 and Drupal 9.
This is an improved version of the skeleton theme for Drupal 8 and Drupal 9 - Bare Bones.
Besides the most essential files it also includes some external libraries and a couple of performance improvements.
You don't have to worry about creating all the files from scratch, just copy this to your themes directory and start with development.
CSS and JS source files are located inside the sass and scripts directories. These are compiled into the assets folder, which also includes the images and fonts directories where you should put all your theme images and fonts.
You can use rem units for font sizes: 1rem = 10px, 1.8rem = 18px, etc.
Please note that this theme should NOT be installed via composer as it is not meant to be used as a base theme.
Enhancements
- External CSS libraries
- BrowserSync
- Stop preload animations (more info)
- Body class .path-error for error pages (403, 404)
Requirements
- Node.js
- npm
Usage
Download or clone this theme in to your themes directory
git clone [email protected]:tinamrak/barebones_enhanced.git
Remove git directory
cd barebones_enhanced
rm -R .git;
Install npm packages and run gulp
cd _npm
npm install
npm audit fix
gulp
Set Bare Bones Enhanced as your default theme
drush config-set system.theme default barebones_enhanced -y
Once this theme is enabled check out the sass/base/_libraries.scss for further instructions on how to enable each external library.
----------
Did you find this useful? Buy me a coffee.
----------