Adopt the new palette; square corners, superellipse buttons
The theme defaults (light and dark) come from the 16-color grid, kept as PALETTE in src/lib/color.ts; every text pair passes the admin's 4.5:1 check. Nothing is rounded any more except buttons, which share one btn utility (Poppins Bold, a superellipse corner where the browser has corner-shape) and true dots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ecdcd4ec37
commit
d81f7bd856
62 changed files with 416 additions and 384 deletions
|
|
@ -113,7 +113,7 @@ export default function BlogPost() {
|
|||
{post.tags.map((tag) => (
|
||||
<span
|
||||
key={tag}
|
||||
className="rounded-full px-3 py-0.5 text-xs font-semibold"
|
||||
className=" px-3 py-0.5 text-xs font-semibold"
|
||||
style={{
|
||||
background: "var(--color-tint)",
|
||||
color: accentText(BRAND),
|
||||
|
|
@ -125,7 +125,7 @@ export default function BlogPost() {
|
|||
<button
|
||||
type="button"
|
||||
onClick={() => window.print()}
|
||||
className="ml-auto inline-flex items-center gap-1.5 rounded-full border border-link px-3 py-1 font-semibold text-link transition-colors hover:bg-tint print:hidden"
|
||||
className="ml-auto inline-flex items-center gap-1.5 btn border border-link px-3 py-1 text-link transition-colors hover:bg-tint print:hidden"
|
||||
>
|
||||
<FilePdf size={16} weight="bold" aria-hidden="true" />
|
||||
Download PDF
|
||||
|
|
@ -143,7 +143,7 @@ export default function BlogPost() {
|
|||
<img
|
||||
src={cover}
|
||||
alt={post.cover_alt ?? ""}
|
||||
className="aspect-video w-full rounded-2xl object-cover"
|
||||
className="aspect-video w-full object-cover"
|
||||
/>
|
||||
)}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue