Skip to content

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

CSS

Drop IBM Plex Sans (the weird-a font) · Manifesto line-height · star button gold + tighter

Youssef0f9be195e532
diff --git a/site/css/components.css b/site/css/components.css
index c393a5f..38f7812 100644
--- a/site/css/components.css
+++ b/site/css/components.css
@@ -111,7 +111,9 @@
display: inline-flex;
align-items: center;
gap: 0.35rem;
- margin-inline-start: var(--space-2xs);
+ /* Sit close to the Install button — pull back against the banner's
+ flex gap so the two read as a CTA pair. */
+ margin-inline-start: calc(-1 * var(--space-md) + 0.25rem);
padding: 0.18rem 0.65rem;
font-family: var(--font-label);
font-weight: 500;
@@ -131,7 +133,8 @@
.banner__star-icon {
flex-shrink: 0;
display: block;
- color: var(--color-accent);
+ /* GitHub-style golden-yellow star, theme-independent. */
+ color: #f5b300;
}
.banner__star-count {
@@ -140,14 +143,12 @@
}
.banner__star:hover {
- background: var(--color-accent);
- border-color: var(--color-accent);
- color: var(--color-paper);
+ background: var(--color-paper);
+ color: var(--color-ink);
+ border-color: var(--color-ink);
}
-.banner__star:hover .banner__star-icon {
- color: var(--color-paper);
-}
+/* Star icon stays yellow on hover — it's a brand mark, not a state. */
.banner__star:focus-visible {
outline: 2px solid var(--color-focus);
@@ -2412,6 +2413,13 @@ body:not(.easter-open) > footer {
font-family: var(--font-body);
}
+[data-theme="manifesto"] .hero__display {
+ /* Anton is a tall narrow condensed face — at the default 1.02
+ tight line-height, the words stack with no breathing room.
+ Bump line-height so multi-line headlines have visual rhythm. */
+ line-height: 1.05;
+}
+
[data-theme="manifesto"] .hero__display,
[data-theme="brutal"] .hero__display,
[data-theme="sport"] .hero__display {
diff --git a/site/css/tokens.css b/site/css/tokens.css
index a85ffd7..f515540 100644
--- a/site/css/tokens.css
+++ b/site/css/tokens.css
@@ -312,7 +312,7 @@
--font-display: "Playfair Display", "Crimson Pro", "Newsreader", ui-serif, Georgia, serif;
--font-body: "Crimson Pro", "Newsreader", ui-serif, Georgia, serif;
--font-serif: "Playfair Display", "Crimson Pro", ui-serif, Georgia, serif;
- --font-label: "IBM Plex Sans", "The Future", ui-sans-serif, sans-serif;
+ --font-label: "Inter", "The Future", ui-sans-serif, sans-serif;
--font-mono: "IBM Plex Mono", ui-monospace, monospace;
--display-weight: 700;
@@ -405,7 +405,7 @@
--color-focus: #E51A1A;
--font-display: "Anton", "Bebas Neue", "Space Grotesk", sans-serif;
- --font-body: "IBM Plex Sans", "Public Sans", "The Future", ui-sans-serif, sans-serif;
+ --font-body: "Inter", "Public Sans", "The Future", ui-sans-serif, sans-serif;
--font-serif: "Anton", "Space Grotesk", sans-serif;
--font-label: "JetBrains Mono", ui-monospace, monospace;
--font-mono: "JetBrains Mono", ui-monospace, monospace;
@@ -504,8 +504,8 @@
--color-accent-ink: oklch(46% 0.14 232);
--color-focus: oklch(50% 0.16 232);
- --font-display: "IBM Plex Sans", "Hanken Grotesk", ui-sans-serif, sans-serif;
- --font-body: "IBM Plex Sans", "Hanken Grotesk", ui-sans-serif, sans-serif;
+ --font-display: "Hanken Grotesk", "Inter", ui-sans-serif, sans-serif;
+ --font-body: "Hanken Grotesk", "Inter", ui-sans-serif, sans-serif;
--font-serif: "Cormorant Garamond", ui-serif, Georgia, serif;
--font-label: "IBM Plex Mono", ui-monospace, monospace;
--font-mono: "IBM Plex Mono", ui-monospace, monospace;
@@ -550,8 +550,8 @@
--color-accent-ink: oklch(40% 0.13 250);
--color-focus: oklch(38% 0.135 250);
- --font-display: "IBM Plex Sans", "Hanken Grotesk", ui-sans-serif, sans-serif;
- --font-body: "IBM Plex Sans", "The Future", ui-sans-serif, sans-serif;
+ --font-display: "Hanken Grotesk", "Inter", ui-sans-serif, sans-serif;
+ --font-body: "Hanken Grotesk", "Inter", "The Future", ui-sans-serif, sans-serif;
--font-serif: "Newsreader", ui-serif, Georgia, serif;
--font-label: "IBM Plex Mono", ui-monospace, monospace;
--font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;
diff --git a/site/index.html b/site/index.html
index 2bad24e..420448d 100644
--- a/site/index.html
+++ b/site/index.html
@@ -24,7 +24,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="stylesheet"
- href="https://fonts.googleapis.com/css2?family=Anton&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&family=Inter:wght@400;500;600;700&family=Inter+Tight:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600;1,700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400;1,6..72,500&family=Playfair+Display:ital,wght@1,400;1,500;1,600&family=Space+Grotesk:wght@400;500;600;700&display=swap" />
+ href="https://fonts.googleapis.com/css2?family=Anton&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&family=Hanken+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Inter+Tight:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600;1,700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400;1,6..72,500&family=Playfair+Display:ital,wght@1,400;1,500;1,600&family=Space+Grotesk:wght@400;500;600;700&display=swap" />
<link rel="stylesheet" href="css/tokens.css" />
<link rel="stylesheet" href="css/base.css" />
@@ -57,7 +57,7 @@
<svg class="banner__star-icon" viewBox="0 0 16 16" width="11" height="11" aria-hidden="true">
<path fill="currentColor" d="M8 0.5l2.36 4.78 5.27.77-3.81 3.72.9 5.24L8 12.55 3.28 15.01l.9-5.24L.37 6.05l5.27-.77L8 .5z"/>
</svg>
- <span class="banner__star-count tnum" data-star-count>—</span>
+ <span class="banner__star-count tnum" data-star-count>0</span>
</a>
<span class="banner__spacer" aria-hidden="true"></span>
diff --git a/site/js/main.js b/site/js/main.js
index ca20e67..68e7360 100644
--- a/site/js/main.js
+++ b/site/js/main.js
@@ -732,19 +732,17 @@ attachCopyButtons();
}
} catch (e) { /* localStorage may throw on private mode */ }
- // No fresh cache — fetch.
+ // No fresh cache — fetch. On any failure, leave the static "0"
+ // placeholder in place rather than swap in an asterisk fallback.
fetch(`https://api.github.com/repos/${REPO}`, { headers: { Accept: "application/vnd.github+json" } })
.then((r) => (r.ok ? r.json() : null))
.then((d) => {
- if (!d || typeof d.stargazers_count !== "number") {
- starEl.textContent = "★";
- return;
- }
+ if (!d || typeof d.stargazers_count !== "number") return;
const n = d.stargazers_count;
starEl.textContent = format(n);
try { localStorage.setItem(CACHE_KEY, JSON.stringify({ n, t: Date.now() })); } catch (e) { }
})
- .catch(() => { starEl.textContent = "★"; });
+ .catch(() => { /* keep "0" placeholder */ });
})();
/* — Theme application ————————————————————————————————— */