diff --git a/inc/zurb_foundation.drecipe b/inc/zurb_foundation.drecipe index 3830b5f..387ebcd 100644 --- a/inc/zurb_foundation.drecipe +++ b/inc/zurb_foundation.drecipe @@ -1,40 +1,40 @@ { - "name": "Zurb Foundation recipe", - "drush_recipes_api": "1.0", - "weight": "0", - "core": "7", - "recipe": [ - { - "command": "en", - "arguments": [ - "jquery_update" - ] - }, - { - "command": "ev", - "arguments": [ - "\"variable_set(\\\"jquery_update_jquery_version\\\", '1.10');\"" - ] - }, - { - "conditional": { - "1": "zurb_foundation_base.drecipe", - "2": "zurb_foundation_sub.drecipe" - }, - "prompt": "Enable only base theme [1], or create/enable subtheme[2]?", - "optional": "false" - }, - { - "command": "cc", - "arguments": [ - "all" - ] + "name": "Zurb Foundation recipe", + "drush_recipes_api": "1.0", + "weight": "0", + "core": "7", + "recipe": [ + { + "command": "en", + "arguments": [ + "jquery_update" + ] + }, + { + "command": "ev", + "arguments": [ + "\"variable_set(\\\"jquery_update_jquery_version\\\", '1.10');\"" + ] + }, + { + "conditional": { + "1": "zurb_foundation_base.drecipe", + "default": "zurb_foundation_sub.drecipe" + }, + "prompt": "Enable only base theme [1], or create/enable subtheme[2]?", + "optional": "false" + }, + { + "command": "cc", + "arguments": [ + "all" + ] + } + ], + "metadata": { + "type": "add-on", + "description": "Setup Foundation as default theme and get dependencies.", + "version": "5.x", + "author": "FiLeVeR10" } - ], - "metadata": { - "type": "add-on", - "description": "Setup Foundation as default theme and get dependencies.", - "version": "5.x", - "author": "FiLeVeR10" - } } diff --git a/inc/zurb_foundation_sub.drecipe b/inc/zurb_foundation_sub.drecipe index 33fd658..3fbb51a 100644 --- a/inc/zurb_foundation_sub.drecipe +++ b/inc/zurb_foundation_sub.drecipe @@ -1,50 +1,64 @@ { - "name": "Zurb Foundation subtheme recipe", - "drush_recipes_api": "1.0", - "weight": "0", - "core": "7", - "env": { - "tokens": { - "[sub]": "Enter a Zurb Subtheme name" + "name": "Zurb Foundation subtheme recipe", + "drush_recipes_api": "1.0", + "weight": "0", + "core": "7", + "env": { + "tokens": { + "[sub]": "Enter a Zurb Subtheme name" + }, + "defaults": { + "[sub]": "zurb-subtheme" + } }, - "defaults": { - "[sub]": "zurb-subtheme" + "recipe": [ + "zurb_foundation_base.drecipe", + { + "madlib": "TRUE", + "command": "fst", + "arguments": [ + "[sub]" + ], + "tokens": { + "[sub]": "Specify a Zurb Subtheme name" + }, + "defaults": { + "[sub]": "zurb-subtheme" + } + }, + { + "madlib": "TRUE", + "command": "vset", + "arguments": [ + "theme_default", + "[sub]" + ], + "tokens": { + "[sub]": "What was that Zurb Subtheme again?" + }, + "defaults": { + "[sub]": "zurb-subtheme" + } + }, + { + "madlib": "TRUE", + "command": "vset", + "arguments": [ + "admin_theme", + "[atheme]" + ], + "tokens": { + "[atheme]": "What admin theme should we use?" + }, + "defaults": { + "[atheme]": "seven" + } + } + ], + "metadata": { + "type": "add on", + "description": "Setup Foundation as default theme and get dependencies.", + "version": "5.x", + "author": "FiLeVeR10" } - }, - "recipe": [ - "zurb_foundation_base.drecipe", - { - "madlib": "TRUE", - "command": "fst", - "arguments": [ - "[sub]" - ], - "tokens": { - "[sub]": "Specify a Zurb Subtheme name" - }, - "defaults": { - "[sub]": "zurb-subtheme" - } - }, - { - "madlib": "TRUE", - "command": "vset", - "arguments": [ - "theme_default", - "[sub]" - ], - "tokens": { - "[sub]": "What was that Zurb Subtheme again?" - }, - "defaults": { - "[sub]": "zurb-subtheme" - } - } - ], - "metadata": { - "type": "add on", - "description": "Setup Foundation as default theme and get dependencies.", - "version": "5.x", - "author": "FiLeVeR10" - } -} \ No newline at end of file +}