Skip to content

Commit

Permalink
🎨 Move foundation mixins into their own Sass partial
Browse files Browse the repository at this point in the history
This keeps the app.scss manifest nice and tidy.
  • Loading branch information
jacobarriola committed Dec 6, 2016
1 parent a7257fb commit 9aec0d2
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 45 deletions.
45 changes: 1 addition & 44 deletions assets/sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,50 +3,7 @@

// Import Foundation
@import "../../node_modules/foundation-sites/scss/foundation";

// Select the components you want to use
@include foundation-global-styles;
@include foundation-grid; // float-based grid
// Flexbox
// If you want to run a flexbox-powered grid system, uncomment @include
// foundation-flex-grid mixin and comment out the foundation-grid mixin.
//
//@include foundation-flex-grid;
//@include foundation-flex-classes;
@include foundation-typography;
@include foundation-forms;
@include foundation-button;
@include foundation-accordion;
@include foundation-accordion-menu;
@include foundation-badge;
@include foundation-breadcrumbs;
@include foundation-button-group;
@include foundation-callout;
@include foundation-close-button;
@include foundation-menu;
@include foundation-menu-icon;
@include foundation-drilldown-menu;
@include foundation-dropdown;
@include foundation-dropdown-menu;
@include foundation-flex-video;
@include foundation-label;
@include foundation-media-object;
@include foundation-off-canvas;
@include foundation-orbit;
@include foundation-pagination;
@include foundation-progress-bar;
@include foundation-slider;
@include foundation-sticky;
@include foundation-reveal;
@include foundation-switch;
@include foundation-table;
@include foundation-tabs;
@include foundation-thumbnail;
@include foundation-title-bar;
@include foundation-tooltip;
@include foundation-top-bar;
@include foundation-visibility-classes;
@include foundation-float-classes;
@import "vendors/foundation";

// Our most basic level file type (variables, typography, etc)
@import "base/base";
Expand Down
43 changes: 43 additions & 0 deletions assets/sass/vendors/_foundation.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// Select the Foundation components you want to use
@include foundation-global-styles;
@include foundation-grid; // float-based grid
// Flexbox
// If you want to run a flexbox-powered grid system, uncomment @include
// foundation-flex-grid mixin and comment out the foundation-grid mixin.
//
//@include foundation-flex-grid;
//@include foundation-flex-classes;
@include foundation-typography;
@include foundation-forms;
@include foundation-button;
@include foundation-accordion;
@include foundation-accordion-menu;
@include foundation-badge;
@include foundation-breadcrumbs;
@include foundation-button-group;
@include foundation-callout;
@include foundation-close-button;
@include foundation-menu;
@include foundation-menu-icon;
@include foundation-drilldown-menu;
@include foundation-dropdown;
@include foundation-dropdown-menu;
@include foundation-flex-video;
@include foundation-label;
@include foundation-media-object;
@include foundation-off-canvas;
@include foundation-orbit;
@include foundation-pagination;
@include foundation-progress-bar;
@include foundation-slider;
@include foundation-sticky;
@include foundation-reveal;
@include foundation-switch;
@include foundation-table;
@include foundation-tabs;
@include foundation-thumbnail;
@include foundation-title-bar;
@include foundation-tooltip;
@include foundation-top-bar;
@include foundation-visibility-classes;
@include foundation-float-classes;
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Heisenberg;

define( 'HEISENBERG_VERSION', '2.0.4' );
define( 'HEISENBERG_VERSION', '2.0.5' );
define( 'HEISENBERG_DIR', __DIR__ );
define( 'HEISENBERG_URL', get_template_directory_uri() );

Expand Down

0 comments on commit 9aec0d2

Please sign in to comment.