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>
20 lines
931 B
TypeScript
20 lines
931 B
TypeScript
import { ArrowRight } from "@phosphor-icons/react";
|
|
import { Link } from "react-router-dom";
|
|
|
|
/* ═══════════════════════════════════════════════════════════════
|
|
ARROW LINK
|
|
═══════════════════════════════════════════════════════════════ */
|
|
|
|
export default function ArrowLink({ to, label, color, size = "h-9 w-9" }) {
|
|
return (
|
|
<Link
|
|
to={to}
|
|
aria-label={label}
|
|
title={label}
|
|
className={`${size} shrink-0 btn flex items-center justify-center transition-transform duration-200 hover:scale-110`}
|
|
style={{ border: `1px solid ${color}`, color }}
|
|
>
|
|
<ArrowRight className="h-4 w-4" weight="bold" aria-hidden="true" />
|
|
</Link>
|
|
);
|
|
}
|