Skip to content

Anti-AI-slop design skill for Claude Code, Cursor, and Codex.

CSS

The render tier hides a framework's dev toolbar before it looks

Youssef273f1448032f
diff --git a/skills/hallmark/scripts/sloplint-render.mjs b/skills/hallmark/scripts/sloplint-render.mjs
index 9e8c19f..7d2e6cf 100644
--- a/skills/hallmark/scripts/sloplint-render.mjs
+++ b/skills/hallmark/scripts/sloplint-render.mjs
@@ -129,6 +129,9 @@ export async function renderCheck(htmlFiles, metaIn) {
await page.evaluate(async () => {
document.documentElement.classList.add('shot');
for (const el of [document.documentElement, document.body]) if (el) el.style.setProperty('scroll-behavior', 'auto', 'important');
+ const quiet = document.createElement('style');
+ quiet.textContent = 'nextjs-portal, astro-dev-toolbar { display: none !important; }';
+ document.head.appendChild(quiet);
if (document.fonts) await document.fonts.ready;
}).catch(() => {});
if (isUrl(file)) {