Last updated September 8, 2013. Created on September 7, 2013.
Edited by arshadcn. Log in to edit this page.

Radix works well with Bootswatch themes. Here's how to use a Bootswatch theme with Radix:

With Drush

As easy as drush radix "My Subtheme" --bootswatch=NAME.

This will create a subtheme for you and automatically download the Bootswatch theme. (Replace NAME with one the themes from Bootswatch. Example: drush radix "My Subtheme" --bootswatch=cerulean).

Manually

  1. Create a Radix subtheme (see the subtheming guide here).
  2. Download a Bootswatch theme from https://github.com/arshad/radix-bootswatch.
  3. Replace _bootswatch.scss and _variables.scss in your subtheme assets/sass/bootswatch theme.
  4. Run compass clean && compass watch.

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.

Comments

niccolo’s picture

I used this script to download and create the Bootswatch theme library

note, there is a workaround for Compass Sass that may change in the future

#!/bin/sh
echo "Amelia http://bootswatch.com/amelia/"
drush radix "Amelia" --bootswatch=amelia
git clone https://github.com/arshad/compass_radix.git amelia/extensions/compass_radix
echo "Cerulean http://bootswatch.com/cerulean/"
drush radix "Cerulean" --bootswatch=cerulean
git clone https://github.com/arshad/compass_radix.git cerulean/extensions/compass_radix
echo "Cosmo http://bootswatch.com/cosmo/"
drush radix "Cosmo" --bootswatch=cosmo
git clone https://github.com/arshad/compass_radix.git cosmo/extensions/compass_radix
echo "Cyborg http://bootswatch.com/cyborg/"
drush radix "Cyborg" --bootswatch=cyborg
git clone https://github.com/arshad/compass_radix.git cyborg/extensions/compass_radix
echo "Flatly http://bootswatch.com/flatly/"
drush radix "Flatly" --bootswatch=flatly
git clone https://github.com/arshad/compass_radix.git flatly/extensions/compass_radix
echo "Journal http://bootswatch.com/journal/"
drush radix "Journal" --bootswatch=journal
git clone https://github.com/arshad/compass_radix.git journal/extensions/compass_radix
echo "Readable http://bootswatch.com/readable/"
drush radix "Readable" --bootswatch=readable
git clone https://github.com/arshad/compass_radix.git readable/extensions/compass_radix
echo "Simplex http://bootswatch.com/simplex/"
drush radix "Simplex" --bootswatch=simplex
git clone https://github.com/arshad/compass_radix.git simplex/extensions/compass_radix
echo "Slate http://bootswatch.com/slate/"
drush radix "Slate" --bootswatch=slate
git clone https://github.com/arshad/compass_radix.git slate/extensions/compass_radix
echo "Spacelab http://bootswatch.com/spacelab/"
drush radix "Spacelab" --bootswatch=spacelab
git clone https://github.com/arshad/compass_radix.git spacelab/extensions/compass_radix
echo "United http://bootswatch.com/united/"
drush radix "United" --bootswatch=united
git clone https://github.com/arshad/compass_radix.git united/extensions/compass_radix