A responsive re-write of the campus Drupal theme.
sites/(all OR default)/themes/
directory.Setting up for development takes some time, but it is worth it.
drush @drupal7 dl devel
drush @drupal7 dl styleguide
Use drush
to manage your Drupal installation and git
to manage this theme.
sites/(all OR default)/themes/
directory of your Drupal installation with:
git clone git@github.com:knice/ucsc-drupal.git
For basic sass --> css development, follow the directions below.
sass sass/ucsc.scss:css/ucsc.css --watch
For managing additional assets (svg images, icon systems, images, scripts), you'll need to install Node so you can compile these assets with Gulp.
brew install rbenv
brew install ruby-build
rbenv install 2.2.0
$PATH
in .bash_profile
(per Stack Overflow)rbenv rehash
rbenv global 2.2.0
ruby -v
should return "2.2.0"gem install sass bourbon neat
Now you can simply run gulp
in the theme directory and stylesheets will automatically compile.