Skip to content

Commit

Permalink
spin-sass_typographic (modules) build its own version of gutenberg
Browse files Browse the repository at this point in the history
avoid to build helper/grid
see matejlatin/Gutenberg#83
  • Loading branch information
SwagDevOps committed May 4, 2019
1 parent c0eab1d commit 59c1e80
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
4 changes: 1 addition & 3 deletions resources/modules/spin-sass_typographic/scss/_base.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
$theme: custom !default;

@import "~unreset-css/unreset";
@import "~gutenberg-web-type/src/style/gutenberg";
@import "./base/gutenberg";

h1, h2, h3, h4, h5, h6 {
margin-top: 0;
Expand Down
33 changes: 33 additions & 0 deletions resources/modules/spin-sass_typographic/scss/base/_gutenberg.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
$theme: custom !default;

@import "~gutenberg-web-type/src/style/gutenberg-config";
@import "~gutenberg-web-type/src/style/mixins/font-size";
@import "~gutenberg-web-type/src/style/mixins/line-height";
@import "~gutenberg-web-type/src/style/mixins/margin";
@import "~gutenberg-web-type/src/style/mixins/padding";
@import "~gutenberg-web-type/src/style/helpers/alignment";
@import "~gutenberg-web-type/src/style/layout/aside";
@import "~gutenberg-web-type/src/style/layout/base";
@import "~gutenberg-web-type/src/style/layout/footer";
@import "~gutenberg-web-type/src/style/layout/header";
@import "~gutenberg-web-type/src/style/layout/main";
@import "~gutenberg-web-type/src/style/layout/section";
@import "~gutenberg-web-type/src/style/modules/anchor";
@import "~gutenberg-web-type/src/style/modules/article";
@import "~gutenberg-web-type/src/style/modules/audio";
@import "~gutenberg-web-type/src/style/modules/canvas";
@import "~gutenberg-web-type/src/style/modules/code";
@import "~gutenberg-web-type/src/style/modules/details";
@import "~gutenberg-web-type/src/style/modules/figure";
@import "~gutenberg-web-type/src/style/modules/form";
@import "~gutenberg-web-type/src/style/modules/heading";
@import "~gutenberg-web-type/src/style/modules/horizontal-rule";
@import "~gutenberg-web-type/src/style/modules/image";
@import "~gutenberg-web-type/src/style/modules/list";
@import "~gutenberg-web-type/src/style/modules/navigation";
@import "~gutenberg-web-type/src/style/modules/progress";
@import "~gutenberg-web-type/src/style/modules/quote";
@import "~gutenberg-web-type/src/style/modules/table";
@import "~gutenberg-web-type/src/style/modules/template";
@import "~gutenberg-web-type/src/style/modules/text";
@import "~gutenberg-web-type/src/style/modules/video";

0 comments on commit 59c1e80

Please sign in to comment.