fix: validate CHRNX editorial fallbacks

This commit is contained in:
chrnx committed 2026-08-11 15:37:25 -05:00
1 parent 89dcc53e02
commit 52f08a1efd
8 files changed
+232 -17

No files matched your search

+1
View File
@@ -12,5 +12,6 @@
"headingLevel": { "type": "integer", "default": 2, "enum": [2, 3, 4, 5, 6] }
},
"supports": { "html": false, "align": ["wide", "full"] },
"style": "file:./style.css",
"render": "file:./render.php"
}
+14
View File
@@ -0,0 +1,14 @@
.chrnx-topic-hero__art {
min-width: min(100%, 16rem);
}
.chrnx-topic-hero__fallback {
aspect-ratio: 4 / 5;
background-color: var(--wp--preset--color--panel);
background-image:
radial-gradient(circle at 68% 28%, var(--wp--preset--color--green) 0 12%, transparent 13%),
linear-gradient(145deg, var(--wp--preset--color--violet), var(--wp--preset--color--night));
display: block;
min-height: 16rem;
width: 100%;
}