Skip to content

Commit 78c1147

Browse files
authored
Merge pull request #27 from WebDevStudios/chore/reorg-scss
Reorganize scss files
2 parents f5893f7 + f6a5f3e commit 78c1147

23 files changed

+143
-120
lines changed

README.md

Lines changed: 127 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -76,107 +76,133 @@ Meet WDS BT, a stylish block theme, tailored for WordPress, featuring native blo
7676
## Development
7777

7878
<details closed>
79-
<summary><b>Theme Structure</b></summary>
80-
<pre>
81-
<code>
82-
└── wds=bt/
83-
├── CONTRIBUTING.md
84-
├── README.md
85-
├── a11y.cjs
86-
├── assets
87-
│   ├── fonts
88-
│   ├── images
89-
│   ├── index.js
90-
│   ├── js
91-
│   │   ├── block-filters
92-
│   │   │   ├── index.js
93-
│   │   │   └── unregister-core-embed.js
94-
│   │   ├── block-variations
95-
│   │   │   └── index.js
96-
│   │   ├── global
97-
│   │   │   ├── header.js
98-
│   │   │   ├── index.js
99-
│   │   │   └── table.js
100-
│   │   ├── index.js
101-
│   │   └── templates
102-
│   │   └── index.js
103-
│   └── scss
104-
│   ├── abstracts
105-
│   │   ├── _abstracts.scss
106-
│   │   ├── _mobile-only-mixins.scss
107-
│   │   ├── _responsive-mixins.scss
108-
│   │   └── _utility.scss
109-
│   ├── base
110-
│   │   ├── _base.scss
111-
│   │   ├── _global.scss
112-
│   │   └── _pagination.scss
113-
│   ├── blocks
114-
│   │   └── core
115-
│   │   ├── ...
116-
│   │   └── custom
117-
│   │   ├── _custom.scss
118-
│   ├── components
119-
│   │   ├── _components.scss
120-
│   │   └── _forms.scss
121-
│   ├── index.scss
122-
│   ├── layout
123-
│   │   ├── _footer.scss
124-
│   │   ├── _header.scss
125-
│   │   └── _layout.scss
126-
│   └── pages
127-
│   ├── _404.scss
128-
│   ├── _archive.scss
129-
│   ├── _pages.scss
130-
│   └── _search.scss
131-
├── composer.json
132-
├── composer.lock
133-
├── functions.php
134-
├── inc
135-
│   ├── functions
136-
│   │   └── security.php
137-
│   ├── hooks
138-
│   │   ├── enable-svg.php
139-
│   │   ├── enqueue-block-stylesheet.php
140-
│   │   ├── register-block-categories.php
141-
│   │   ├── register-block-pattern-categories.php
142-
│   │   ├── register-block-styles.php
143-
│   │   ├── register-block-variations.php
144-
│   │   ├── remove-archive-title-prefix.php
145-
│   │   └── unregister-block-variations.php
146-
│   └── setup
147-
│   ├── preload-scripts.php
148-
│   ├── scripts.php
149-
│   └── setup.php
150-
├── lefthook.yml
151-
├── package-lock.json
152-
├── package.json
153-
├── parts
154-
│   ├── footer.html
155-
│   └── header.html
156-
├── patterns
157-
│   ├── footer-default.php
158-
│   └── header-default.php
159-
├── phpcs.xml.dist
160-
├── postcss.config.js
161-
├── readme.txt
162-
├── screenshot.png
163-
├── style.css
164-
├── styles
165-
│   └── dark.json
166-
├── templates
167-
│   ├── 404.html
168-
│   ├── archive.html
169-
│   ├── index.html
170-
│   ├── page-blank.html
171-
│   ├── page-no-title.html
172-
│   ├── page.html
173-
│   ├── search.html
174-
│   └── single.html
175-
├── theme.json
176-
├── webpack.config.js
177-
└── webpack.prod.js
178-
</code>
179-
</pre>
79+
<summary><b>Theme Structure</b></summary>
80+
<pre>
81+
<code>
82+
└── wds=bt/
83+
├── CONTRIBUTING.md
84+
├── README.md
85+
├── a11y.cjs
86+
├── assets
87+
│   ├── fonts
88+
│   ├── images
89+
│   ├── index.js
90+
│   ├── js
91+
│   │   ├── block-filters
92+
│   │   │   ├── index.js
93+
│   │   │   └── unregister-core-embed.js
94+
│   │   ├── block-variations
95+
│   │   │   └── index.js
96+
│   │   ├── global
97+
│   │   │   ├── header.js
98+
│   │   │   ├── index.js
99+
│   │   │   └── table.js
100+
│   │   ├── index.js
101+
│   │   └── templates
102+
│   │   └── index.js
103+
│   └── scss
104+
│   ├── _index.scss
105+
│   ├── abstracts
106+
│   │   ├── _index.scss
107+
│   │   ├── mobile-only-mixins.scss
108+
│   │   ├── responsive-mixins.scss
109+
│   │   └── utility.scss
110+
│   ├── base
111+
│   │   ├── _index.scss
112+
| | ├── forms.scss
113+
│   │   ├── global.scss
114+
│   │   └── pagination.scss
115+
│   ├── blocks
116+
│   │   └── core
117+
│   │   ├── audio.scss
118+
│   │   ├── button.scss
119+
│   │   ├── calendar.scss
120+
│   │   ├── code.scss
121+
│   │   ├── comments.scss
122+
│   │   ├── cover.scss
123+
│   │   ├── file.scss
124+
│   │   ├── footnotes.scss
125+
│   │   ├── gallery.scss
126+
│   │   ├── group.scss
127+
│   │   ├── latest-comments.scss
128+
│   │   ├── latest-posts.scss
129+
│   │   ├── list.scss
130+
│   │   ├── navigation.scss
131+
│   │   ├── page-list.scss
132+
│   │   ├── post-author.scss
133+
│   │   ├── post-comments-form.scss
134+
│   │   ├── post-navigation-link.scss
135+
│   │   ├── post-terms.scss
136+
│   │   ├── preformatted.scss
137+
│   │   ├── pullquote.scss
138+
│   │   ├── query-pagination.scss
139+
│   │   ├── query.scss
140+
│   │   ├── quote.scss
141+
│   │   ├── search.scss
142+
│   │   ├── separator.scss
143+
│   │   ├── social-links.scss
144+
│   │   ├── table.scss
145+
│   │   ├── tag-cloud.scss
146+
│   │   ├── verse.scss
147+
│   │   └── video.scss
148+
│   ├── template-parts
149+
│   │   ├── _index.scss
150+
│   │   ├── footer.scss
151+
│   │   └── header.scss
152+
│   └── pages
153+
│   ├── _index.scss
154+
│   ├── 404.scss
155+
│   ├── archive.scss
156+
│   └── search.scss
157+
├── composer.json
158+
├── composer.lock
159+
├── functions.php
160+
├── inc
161+
│   ├── functions
162+
│   │   └── security.php
163+
│   ├── hooks
164+
│   │   ├── enable-svg.php
165+
│   │   ├── enqueue-block-stylesheet.php
166+
│   │   ├── register-block-categories.php
167+
│   │   ├── register-block-pattern-categories.php
168+
│   │   ├── register-block-styles.php
169+
│   │   ├── register-block-variations.php
170+
│   │   ├── remove-archive-title-prefix.php
171+
│   │   └── unregister-block-variations.php
172+
│   └── setup
173+
│   ├── preload-scripts.php
174+
│   ├── scripts.php
175+
│   └── setup.php
176+
├── lefthook.yml
177+
├── package-lock.json
178+
├── package.json
179+
├── parts
180+
│   ├── footer.html
181+
│   └── header.html
182+
├── patterns
183+
│   ├── footer-default.php
184+
│   └── header-default.php
185+
├── phpcs.xml.dist
186+
├── postcss.config.js
187+
├── readme.txt
188+
├── screenshot.png
189+
├── style.css
190+
├── styles
191+
│   └── dark.json
192+
├── templates
193+
│   ├── 404.html
194+
│   ├── archive.html
195+
│   ├── index.html
196+
│   ├── page-blank.html
197+
│   ├── page-no-title.html
198+
│   ├── page.html
199+
│   ├── search.html
200+
│   └── single.html
201+
├── theme.json
202+
├── webpack.config.js
203+
└── webpack.prod.js
204+
</code>
205+
</pre>
180206
</details>
181207

182208
<details closed>

assets/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
import './scss/index.scss';
1+
import './scss/_index.scss';
22
import './js/index';

assets/scss/_index.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@import './abstracts';
2+
@import './base';
3+
@import './patterns/';
4+
@import './template-parts';
5+
@import './templates';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
// 'base/' keeps files styling the base HTML elements.
22
@import './global';
33
@import './pagination';
4+
@import './forms';
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)