Add quarter theme — theme.json v3, classic PHP templates, PostCSS build#3
Conversation
|
@copilot remove elements related to registering block templates via php, i was referencing something implemented recently in wordpress 7.0 for registering simple php blocks. Also ensure the theme php files are linted using phpcs ruleset found at the root of the project |
Done in 17e02bb. Removed the For PHPCS: I installed WPCS and ran the theme directory against the project's |
quarter theme — theme.json v3, PHP block template registration, PostCSS buildquarter theme — theme.json v3, classic PHP templates, PostCSS build
New minimal monospace WordPress theme (
quarter) replacing/succeeding spacemonkey. Classic PHP template hierarchy withtheme.jsonv3 as the design system foundation, without enabling the full Site Editor.Design system (
theme.jsonv3)SF Mono → ui-monospace → Cascadia Code → Source Code Pro → Menlo → Consolas → monospace#404040text,#4169e1/#191970links (same royalblue/midnightblue as spacemonkey)42rem, wide64rem; 7-step spacing scale--wp--preset--*custom properties; CSS references these throughoutCSS build
Source split across six partials in
src/css/(_base,_layout,_typography,_nav,_components,_blocks). PostCSS resolves@import; cssnano runs in production. Compileddist/css/style.cssis committed.Classic templates
header.php,footer.php,index.php,single.php,page.php,archive.php,search.php,404.php,comments.php— lean shells delegating to helpers inincludes/template-tags.php(quarter_post_date,quarter_pagination,quarter_entry_footer,quarter_post_navigation).