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
|
|
@ -117,7 +117,7 @@ export default function EventDetail() {
|
|||
href={link.url}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="inline-flex items-center gap-2 rounded-full px-5 py-2 text-sm font-semibold text-white transition-transform hover:scale-105"
|
||||
className="inline-flex items-center gap-2 btn px-5 py-2 text-sm text-white transition-transform hover:scale-105"
|
||||
style={{ background: accent }}
|
||||
>
|
||||
<PlatformIcon platform={link.platform} />
|
||||
|
|
@ -152,7 +152,7 @@ export default function EventDetail() {
|
|||
{upcoming.map((date) => (
|
||||
<li
|
||||
key={date}
|
||||
className="rounded-xl border-l-4 bg-surface px-5 py-3"
|
||||
className="border-l-4 bg-surface px-5 py-3"
|
||||
style={{ borderColor: accent }}
|
||||
>
|
||||
<p className="font-semibold" style={{ color: accentText(accent) }}>
|
||||
|
|
@ -251,7 +251,7 @@ function Facts({ event, accent }: { event: EventRecord; accent: string }) {
|
|||
return (
|
||||
<div className="flex flex-wrap items-center gap-x-6 gap-y-3 text-sm">
|
||||
<span
|
||||
className="rounded-full px-3 py-1 font-semibold uppercase tracking-wide"
|
||||
className=" px-3 py-1 font-semibold uppercase tracking-wide"
|
||||
style={{
|
||||
background: event.status === 'cancelled' ? '#b3261e' : accent,
|
||||
color: event.status === 'cancelled' ? '#ffffff' : readableOn(accent),
|
||||
|
|
@ -268,7 +268,7 @@ function Facts({ event, accent }: { event: EventRecord; accent: string }) {
|
|||
redundant. */}
|
||||
{event.event_type && (
|
||||
<span
|
||||
className="rounded-full px-3 py-1 font-semibold uppercase tracking-wide"
|
||||
className=" px-3 py-1 font-semibold uppercase tracking-wide"
|
||||
style={{ border: `1px solid ${accent}`, color: accentText(accent) }}
|
||||
>
|
||||
{eventTypeLabel(event.event_type)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue