A skeleton theme for Drupal 8 and Drupal 9.

Bare Bones includes only the most essential files to get you started with custom theme development.

There's an enhanced version of this theme called Bare Bones Enhanced which includes some external libraries like Font Awesome and Bootstrap.

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.

Please note that this theme should NOT be installed via composer as it is not meant to be used as a base theme.

Usage

Download or clone this theme in to your themes directory

git clone git@github.com:tinamrak/barebones.git

Remove git directory

cd barebones
rm -R .git;

Install npm packages and run gulp

cd .npm
npm install
npm audit fix
gulp

Set Bare Bones as your default theme

drush config-set system.theme default barebones -y

----------
Did you find this useful? Buy me a coffee.
----------

Project information

Releases