Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ gulp.task('clean:css', (cb) => {
});

gulp.task('watch', () => {
gulp.watch('sass/**/*.scss', gulp.series('sass'));
gulp.watch(['sass/**/*.scss', 'inc/blocks/*/*.scss'], gulp.series('sass'));
});

// One time build process.
Expand Down
5 changes: 0 additions & 5 deletions sass/abstracts/_abstracts.scss

This file was deleted.

11 changes: 0 additions & 11 deletions sass/abstracts/mixins/_mixins.scss

This file was deleted.

20 changes: 0 additions & 20 deletions sass/abstracts/variables/_colors.scss

This file was deleted.

13 changes: 0 additions & 13 deletions sass/abstracts/variables/_columns.scss

This file was deleted.

2 changes: 0 additions & 2 deletions sass/abstracts/variables/_structure.scss

This file was deleted.

8 changes: 0 additions & 8 deletions sass/abstracts/variables/_typography.scss

This file was deleted.

20 changes: 0 additions & 20 deletions sass/base/_base.scss

This file was deleted.

3 changes: 0 additions & 3 deletions sass/base/elements/_body.scss

This file was deleted.

21 changes: 0 additions & 21 deletions sass/base/elements/_buttons.scss

This file was deleted.

6 changes: 0 additions & 6 deletions sass/base/elements/_hr.scss

This file was deleted.

22 changes: 0 additions & 22 deletions sass/base/elements/_links.scss

This file was deleted.

4 changes: 0 additions & 4 deletions sass/base/elements/_tables.scss

This file was deleted.

51 changes: 0 additions & 51 deletions sass/base/typography/_copy.scss

This file was deleted.

9 changes: 0 additions & 9 deletions sass/base/typography/_headings.scss

This file was deleted.

14 changes: 0 additions & 14 deletions sass/base/typography/_typography.scss

This file was deleted.

83 changes: 8 additions & 75 deletions sass/block-editor.scss
Original file line number Diff line number Diff line change
@@ -1,80 +1,13 @@
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
- Normalize
- Box sizing
# Base
- Typography
- Elements
- Links
- Forms
## Layouts
# Components
- Navigation
- Posts and pages
- Comments
- Widgets
- Media
- Captions
- Galleries
# plugins
- Jetpack infinite scroll
# Utilities
- Accessibility
- Alignments

--------------------------------------------------------------*/

// Import variables and mixins.
@import "abstracts/abstracts";

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */
@import "generic/normalize";

/* Box sizing
--------------------------------------------- */
@import "generic/box-sizing";

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
@import "base/base";

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
// @import "layouts/content-sidebar"; // Uncomment this line for a sidebar on right side of your content.
// @import "layouts/sidebar-content"; // Uncomment this line for a sidebar on left side of your content.

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
@import "components/components";

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */
@import "utilities/accessibility";
// Screen
// ======

/* Alignments
--------------------------------------------- */
@import "utilities/alignments";
@use 'config';
@use 'initial';
@use 'patterns';
@use 'components';

/*--------------------------------------------------------------
# Custom Blocks
--------------------------------------------------------------*/
@import "../inc/blocks/testimonial/style.scss";
@import "../inc/blocks/testimonial/editor.scss";
@use "../inc/blocks/testimonial/style.scss";
@use "../inc/blocks/testimonial/editor.scss";
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
.wp-caption {
margin-bottom: 1.5em;
margin-bottom: var(--gutter-plus);
max-width: 100%;

img[class*="wp-image-"] {

@include center-block;
margin-left: auto;
margin-right: auto;
}

.wp-caption-text {
margin: 0.8075em 0;
margin: var(--gutter-minus) 0;
}
}

Expand Down
File renamed without changes.
27 changes: 0 additions & 27 deletions sass/components/_components.scss

This file was deleted.

Empty file added sass/components/_footer.scss
Empty file.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.gallery {
margin-bottom: 1.5em;
margin-bottom: var(--gutter-plus);
display: grid;
grid-gap: 1.5em;
grid-gap: var(--gutter-plus);
}

.gallery-item {
Expand Down
Empty file added sass/components/_header.scss
Empty file.
9 changes: 9 additions & 0 deletions sass/components/_index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@forward "navigation";
@forward "header";
@forward "footer";
@forward "posts-and-pages";
@forward "widgets";
@forward "media";
@forward "captions";
@forward "galleries";
@forward "comments";
File renamed without changes.
Loading