Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

fix(website): draw the star count as one quiet chip

tt-a1ifbd88d087b6e
diff --git a/website/src/styles/index.css b/website/src/styles/index.css
index 5102804f..38a2ccc5 100644
--- a/website/src/styles/index.css
+++ b/website/src/styles/index.css
@@ -97,8 +97,8 @@
.hero-works b { font-weight:500; color:var(--text-2); }
.hero-stars { display:inline-flex; align-items:center; gap:.45rem; padding-left:1.5rem; border-left:1px solid var(--line-hi); color:var(--text-3); text-decoration:none; transition:color .18s var(--ease-out); }
.hero-stars:hover { color:var(--text); }
- .stars-count { font-family:var(--font-mono); font-weight:500; color:var(--text); }
- .stars-count::before { content:'★ '; color:#fbbf24; }
+ .stars-count { font-weight:600; font-variant-numeric:tabular-nums; color:var(--text); }
+ .hero-stars .stars-count::before { display:none; }
/* ══════════════════════════════════════
STAGE — pinned live artifact window; scroll drives the camera beats.
diff --git a/website/src/styles/site.css b/website/src/styles/site.css
index f5834fb9..6c89b1ca 100644
--- a/website/src/styles/site.css
+++ b/website/src/styles/site.css
@@ -91,8 +91,9 @@
.site-nav .nav-link:hover { color:var(--text); background:rgba(var(--fg-rgb),.05); }
.site-nav .nav-link[aria-current="page"] { color:var(--text); background:rgba(var(--fg-rgb),.09); box-shadow:inset 0 0 0 1px rgba(var(--fg-rgb),.1); }
.site-nav .nav-link[aria-current="page"]::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--accent); box-shadow:0 0 8px rgba(var(--accent-rgb),.8); }
- .site-nav .nav-stars { display:inline-flex; align-items:center; gap:.25rem; padding:.18rem .42rem; border-radius:999px; background:rgba(var(--fg-rgb),.07); color:var(--text); font-family:var(--font-mono); font-size:.625rem; font-weight:500; letter-spacing:0; }
- .site-nav .nav-stars::before { content:'★'; color:#fbbf24; font-size:.6875rem; }
+ .site-nav .nav-stars { display:inline-flex; align-items:center; gap:.3rem; height:20px; padding:0 .5rem 0 .4rem; border-radius:999px; border:1px solid var(--line); background:rgba(var(--fg-rgb),.04); color:var(--text-2); font-family:var(--font-body); font-size:.6875rem; font-weight:600; font-variant-numeric:tabular-nums; letter-spacing:0; line-height:1; }
+ .site-nav .nav-stars::before, .stars-count::before { content:''; width:11px; height:11px; flex:none; background:currentColor; -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 1.6l1.9 3.86 4.26.62-3.08 3 .73 4.24L8 11.32l-3.81 2 .73-4.24-3.08-3 4.26-.62z' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'/></svg>") center / contain no-repeat; mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 1.6l1.9 3.86 4.26.62-3.08 3 .73 4.24L8 11.32l-3.81 2 .73-4.24-3.08-3 4.26-.62z' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'/></svg>") center / contain no-repeat; }
+ .site-nav .nav-link:hover .nav-stars { color:var(--text); }
.site-nav .nav-stars[hidden] { display:none; }
.site-nav .btn-theme { width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; flex:none; padding:0; border:1px solid var(--line-hi); border-radius:10px; background:transparent; color:var(--text-2); cursor:pointer; transition:color .18s var(--ease-out),border-color .18s var(--ease-out); }
.site-nav .btn-theme:hover { color:var(--text); border-color:var(--line-strong); }