theme.json leaves heading and button element styles empty although both are used
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by locating the block theme scorecard's theme_json check and the code that projects source styles into theme.json; the issue names no files or tests. Compare how links are handled with headings and buttons, including heading levels where their styles differ. Done means consistent source typography or colour appears under styles.elements.heading or styles.elements.button, with distinct h1–h6 styles preserved.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Found importing https://javisantana.com/ (a ~750-page static blog) with WordPress Studio CLI 2.2.0 and the Data Liberation Agent / Static Site Importer / Blocks Engine releases current on 2026-11-19, before blocks-engine#6890, #6909, #6912 and #6914 merged.
Problem
The block theme scorecard's theme_json check fails: elements.button and elements.heading are used on the site but have no styles in theme.json. Only elements.link is styled, so changing headings or buttons in Global Styles doesn't reach them.
"theme_json": { "elements": { "link": {"used": true, "styled": true}, "button": {"used": true, "styled": false}, "heading": {"used": true, "styled": false} }, "block_style_count": 0, "status": "fail" }
Expected
When source headings or buttons share consistent typography or colour, they are projected as styles.elements.heading / styles.elements.button (and h1–h6 where they differ).
🤖 Generated with Claude Code
- Lingua principale
- PHP
- Stelle
- 29
- Fork
- 6
- Merge medio
- 3h 40m
- PR unite (30g)
- 813
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Automattic/blocks-engine
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Automattic/blocks-engine#4943 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Automattic/blocks-engine#4942 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Automattic/blocks-engine#4921 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Automattic/blocks-engine#775 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
Automattic/blocks-engine#7505 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Automattic/blocks-engine
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 2 giorni
-
sync-en
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
魚島清理:地圖焦點樣式、行走計時器、魚照片替代文字Apertasize:S
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
blackie0424/tao_among#184 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
bug type reconciliation
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
vimeo/psalm#14927 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno