Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bmcclure/drupal-spacelift
A forward-thinking, developer-focused base theme for Drupal 8
https://github.com/bmcclure/drupal-spacelift
Last synced: about 1 month ago
JSON representation
A forward-thinking, developer-focused base theme for Drupal 8
- Host: GitHub
- URL: https://github.com/bmcclure/drupal-spacelift
- Owner: bmcclure
- Created: 2016-09-26T20:27:04.000Z (over 8 years ago)
- Default Branch: 8.x-2.x
- Last Pushed: 2022-10-04T16:00:42.000Z (over 2 years ago)
- Last Synced: 2024-05-02T00:17:52.854Z (8 months ago)
- Language: HTML
- Homepage: https://www.drupal.org/sandbox/bmcclure/2834174
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.txt
Awesome Lists containing this project
README
SUMMARY
-------Spacelift is a forward-thinking, developer-focused base theme for Drupal 8
providing a minimalistic, standards-based framework to ease headaches,
encourage component-based code reuse, and help you take your
next Drupal project to new heights.Some of the features provided by this theme are:
* Encourages the use of the Neat grid framework and Bourbon library for SASS.
* Loosely utilizes SUIT CSS's class naming conventions and encourages breaking
down site into reusable components using SASS and Eyeglass.
* Very lightweight and highly modular (There are no styles in the base theme
itself, and the theme uses Eyeglass with Gulp to easily include SCSS from Node
modules).
* Offers an optional full front-end workflow (Utilizes the `aluminum-capsule`
node module to give you a full front-end build environment for things such as
SASS, Javascript, Modernizr, custom icon fonts, BrowserSync support, Drush
integration, and much more).For a full description of the theme, visit the project page:
https://www.drupal.org/sandbox/bmcclure/2834174To submit bug reports and feature suggestions, or to track changes:
https://www.drupal.org/project/issues/2834174REQUIREMENTS
------------None.
Recommended:
* NodeJS 6+
* `gulp-cli` node module installed globallyINSTALLATION
------------1. Install Spacelift as usual, see https://www.drupal.org/node/2804903 for
further information.
2. Install NodeJS on your development machine and ensure you can run the
`npm` command.
3. Install the Gulp CLI globally with `npm install --global gulp-cli`
4. Create a subtheme from Spacelift. See the BUILD A THEME WITH DRUSH section
below for more information.
5. In your new subtheme directory, copy 'default.aluminum.json' to
'aluminum.json' and configure the theme compilation settings there.
6. From within your subtheme directory, run 'npm install' on the command line.
7. From within your subtheme directory, run 'gulp' to start the default watch
task, or 'gulp --tasks' to see a list of all possible tasks.When the 'watch' task is running, saving any watched files (such as
src/scss/*.scss or src/js/*.js) will trigger a re-compile and clear the cache
if you have Drush integration enabled.You can also run the 'build' task to trigger a rebuild of all assets
immediately.CONFIGURATION
-------------You may customize aluminum.json to support a wide array of front-end build
requirements.Additional front-end build needs can be handled by directly adding tasks to
Gulpfile.js.Once your subtheme is installed, it can be configured like normal under the
Appearance settings of your site.BUILD A THEME WITH DRUSH
------------------------It is highly encouraged to use Drush to generate a sub theme for editing. Do
not edit the parent 'spacelift' theme directly, so that you can continue to
receive updates for the base theme without losing your work.1. Enable the Spacelift theme and set as default. You can unset it as default
after you are done with step 2.
2. Enter the drush command: `drush sgt [THEMENAME] [Description !Optional]`
3. Drush will generate your brand new theme in a directory under `/themes`.
4. You may not enable your new theme and make it the default if you wish.**CONTACT**
Current maintainers:
* [bmcclure](https://www.drupal.org/user/278485)