Skip to content

Commit

Permalink
Add template block theme (#505)
Browse files Browse the repository at this point in the history
* Updated Composer dependencies

* Partial new block theme

* New block theme templates

* Format recently changed files with the correct Prettier setup

* Use default spacing sizes from WP

* Remove project code

* Use T2 blocks for header and footer

* Remove state toggle class

* Rename

* Set allowed text domains

* Update block name

* Setup default block gap

* Clenaup search and index templates

* Cleanup 404 template

* Inform why this is here

* Setup default internal spacing for Group and Columns

* Use default spacing values from WP

* Style core blocks

* Default block styling

* Change hooks intro comment

* Remove project overrides

* Comment setup files

* Lint fixes

* Fix figcaption styling

* Comment

* Cleanup styling for accordion and ingress

* Remove

* Simplified link list styling

* Use 6.6 beta for now

* Use new spacing var

* Set default block gap

* Use normal font for accordion

* Remove wrapper for core/html block, migrated to T2

* Use new ext

* Updates after merge

* Set block gap for buttons

* Change dev to start

* Use default WP font and spacing sizes

* Less default styling

* Set gap for post-template and featured content layout grids

* Remove breadcrumbs block

* Cleaner templates

* Add the none property

* Better file title

* Remove unused override for core/site-logo block

* Rename none to 00 to align array

* Revert

* Revert

* No need for dom ready here

* Use same wp-scripts version across project

* Update to wp-scripts 28.1 with needed changes to webpack config

* Remove custom theme styles for core blocks

* Support Simple Media+Text

* No need to overwrite separator style when wp-block-styles is removed

* Bloat styling

* No need for size with latest T2

* Move ingress to theme.json. (#508)

* Remove turbo cache on clean

* Bloat style, can be added on demand

* Move gap back into CSS, blockGap does not work in combination with custom bock margin v2

* Bump to WP 6.6 RC1

* Move gap for buttons and post template into theme json

* Bump WP to 6.6, T2 to 7.13

* T2 7.13.2

---------

Co-authored-by: Ole Thomas Tallerås <[email protected]>
  • Loading branch information
stian-overasen and olethomas authored Jul 29, 2024
1 parent 1435d12 commit 3cb726c
Show file tree
Hide file tree
Showing 40 changed files with 19,482 additions and 218 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"php": ">=8.2",
"boxuk/wp-muplugin-loader": "~2.2.0",
"composer/installers": "~2.2.0",
"dekode/block-theme": "~1.0.0",
"dekode/blueprint": "~1.0.0",
"dekode/dekode-theme": "~1.0.0",
"dekode/imagify-helper": "1.0.0",
Expand Down
41 changes: 36 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3cb726c

Please sign in to comment.