Skip to content

Commit

Permalink
Merge branch 'main' into feature/WDSBT-23-Query-Block-Related-Post-Block
Browse files Browse the repository at this point in the history
  • Loading branch information
khleomix committed Jul 3, 2024
2 parents 2a3cd2d + c5d404f commit a045c41
Show file tree
Hide file tree
Showing 27 changed files with 146 additions and 123 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ vendor/

# theme
build/
./blocks/
/blocks/

#tests
pa11y-ci-report/
Expand Down
2 changes: 1 addition & 1 deletion .stylelintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
./blocks/
build/
/blocks/
vendor/
node_modules/
!.*.js
228 changes: 127 additions & 101 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,107 +76,133 @@ Meet WDS BT, a stylish block theme, tailored for WordPress, featuring native blo
## Development

<details closed>
<summary><b>Theme Structure</b></summary>
<pre>
<code>
└── wds=bt/
├── CONTRIBUTING.md
├── README.md
├── a11y.cjs
├── assets
│   ├── fonts
│   ├── images
│   ├── index.js
│   ├── js
│   │   ├── block-filters
│   │   │   ├── index.js
│   │   │   └── unregister-core-embed.js
│   │   ├── block-variations
│   │   │   └── index.js
│   │   ├── global
│   │   │   ├── header.js
│   │   │   ├── index.js
│   │   │   └── table.js
│   │   ├── index.js
│   │   └── templates
│   │   └── index.js
│   └── scss
│   ├── abstracts
│   │   ├── _abstracts.scss
│   │   ├── _mobile-only-mixins.scss
│   │   ├── _responsive-mixins.scss
│   │   └── _utility.scss
│   ├── base
│   │   ├── _base.scss
│   │   ├── _global.scss
│   │   └── _pagination.scss
│   ├── blocks
│   │   └── core
│   │   ├── ...
│   │   └── custom
│   │   ├── _custom.scss
│   ├── components
│   │   ├── _components.scss
│   │   └── _forms.scss
│   ├── index.scss
│   ├── layout
│   │   ├── _footer.scss
│   │   ├── _header.scss
│   │   └── _layout.scss
│   └── pages
│   ├── _404.scss
│   ├── _archive.scss
│   ├── _pages.scss
│   └── _search.scss
├── composer.json
├── composer.lock
├── functions.php
├── inc
│   ├── functions
│   │   └── security.php
│   ├── hooks
│   │   ├── enable-svg.php
│   │   ├── enqueue-block-stylesheet.php
│   │   ├── register-block-categories.php
│   │   ├── register-block-pattern-categories.php
│   │   ├── register-block-styles.php
│   │   ├── register-block-variations.php
│   │   ├── remove-archive-title-prefix.php
│   │   └── unregister-block-variations.php
│   └── setup
│   ├── preload-scripts.php
│   ├── scripts.php
│   └── setup.php
├── lefthook.yml
├── package-lock.json
├── package.json
├── parts
│   ├── footer.html
│   └── header.html
├── patterns
│   ├── footer-default.php
│   └── header-default.php
├── phpcs.xml.dist
├── postcss.config.js
├── readme.txt
├── screenshot.png
├── style.css
├── styles
│   └── dark.json
├── templates
│   ├── 404.html
│   ├── archive.html
│   ├── index.html
│   ├── page-blank.html
│   ├── page-no-title.html
│   ├── page.html
│   ├── search.html
│   └── single.html
├── theme.json
├── webpack.config.js
└── webpack.prod.js
</code>
</pre>
<summary><b>Theme Structure</b></summary>
<pre>
<code>
└── wds-bt/
├── CONTRIBUTING.md
├── README.md
├── a11y.cjs
├── assets
│   ├── fonts
│   ├── images
│   ├── index.js
│   ├── js
│   │   ├── block-filters
│   │   │   ├── index.js
│   │   │   └── unregister-core-embed.js
│   │   ├── block-variations
│   │   │   └── index.js
│   │   ├── global
│   │   │   ├── header.js
│   │   │   ├── index.js
│   │   │   └── table.js
│   │   ├── index.js
│   │   └── templates
│   │   └── index.js
│   └── scss
│   ├── _index.scss
│   ├── abstracts
│   │   ├── _index.scss
│   │   ├── mobile-only-mixins.scss
│   │   ├── responsive-mixins.scss
│   │   └── utility.scss
│   ├── base
│   │   ├── _index.scss
| | ├── forms.scss
│   │   ├── global.scss
│   │   └── pagination.scss
│   ├── blocks
│   │   └── core
│   │   ├── audio.scss
│   │   ├── button.scss
│   │   ├── calendar.scss
│   │   ├── code.scss
│   │   ├── comments.scss
│   │   ├── cover.scss
│   │   ├── file.scss
│   │   ├── footnotes.scss
│   │   ├── gallery.scss
│   │   ├── group.scss
│   │   ├── latest-comments.scss
│   │   ├── latest-posts.scss
│   │   ├── list.scss
│   │   ├── navigation.scss
│   │   ├── page-list.scss
│   │   ├── post-author.scss
│   │   ├── post-comments-form.scss
│   │   ├── post-navigation-link.scss
│   │   ├── post-terms.scss
│   │   ├── preformatted.scss
│   │   ├── pullquote.scss
│   │   ├── query-pagination.scss
│   │   ├── query.scss
│   │   ├── quote.scss
│   │   ├── search.scss
│   │   ├── separator.scss
│   │   ├── social-links.scss
│   │   ├── table.scss
│   │   ├── tag-cloud.scss
│   │   ├── verse.scss
│   │   └── video.scss
│   ├── template-parts
│   │   ├── _index.scss
│   │   ├── footer.scss
│   │   └── header.scss
│   └── pages
│   ├── _index.scss
│   ├── 404.scss
│   ├── archive.scss
│   └── search.scss
├── composer.json
├── composer.lock
├── functions.php
├── inc
│   ├── functions
│   │   └── security.php
│   ├── hooks
│   │   ├── enable-svg.php
│   │   ├── enqueue-block-stylesheet.php
│   │   ├── register-block-categories.php
│   │   ├── register-block-pattern-categories.php
│   │   ├── register-block-styles.php
│   │   ├── register-block-variations.php
│   │   ├── remove-archive-title-prefix.php
│   │   └── unregister-block-variations.php
│   └── setup
│   ├── preload-scripts.php
│   ├── scripts.php
│   └── setup.php
├── lefthook.yml
├── package-lock.json
├── package.json
├── parts
│   ├── footer.html
│   └── header.html
├── patterns
│   ├── footer-default.php
│   └── header-default.php
├── phpcs.xml.dist
├── postcss.config.js
├── readme.txt
├── screenshot.png
├── style.css
├── styles
│   └── dark.json
├── templates
│   ├── 404.html
│   ├── archive.html
│   ├── index.html
│   ├── page-blank.html
│   ├── page-no-title.html
│   ├── page.html
│   ├── search.html
│   └── single.html
├── theme.json
├── webpack.config.js
└── webpack.prod.js
</code>
</pre>
</details>

<details closed>
Expand Down
2 changes: 1 addition & 1 deletion assets/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import './scss/index.scss';
import './scss/_index.scss';
import './js/index';
5 changes: 5 additions & 0 deletions assets/scss/_index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@import './abstracts';
@import './base';
@import './patterns/';
@import './template-parts';
@import './templates';
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// 'base/' keeps files styling the base HTML elements.
@import './global';
@import './pagination';
@import './forms';
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions assets/scss/components/_components.scss

This file was deleted.

2 changes: 1 addition & 1 deletion assets/scss/editor.scss
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/* -- Editor Stykes -- */
/* -- Editor Styles -- */
6 changes: 0 additions & 6 deletions assets/scss/index.scss

This file was deleted.

4 changes: 0 additions & 4 deletions assets/scss/layout/_layout.scss

This file was deleted.

5 changes: 0 additions & 5 deletions assets/scss/pages/_pages.scss

This file was deleted.

2 changes: 2 additions & 0 deletions assets/scss/patterns/_index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// 'patterns/' houses styles for custom patterns.
// @import './pattern-name';
3 changes: 3 additions & 0 deletions assets/scss/template-parts/_index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 'template-parts/' houses styles for site editor template parts.
@import './header';
@import './footer';
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions assets/scss/templates/_index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 'templates/' houses styles for site editor templates.
@import './archive';
@import './search';
@import './404';
File renamed without changes.
File renamed without changes.

0 comments on commit a045c41

Please sign in to comment.