fix(color): eliminate redundant dark: accent modifiers (R-8.29), resolve A-1/A-2/A-9 contrast issues, and implement C11-9 quality gate
This commit is contained in:
@@ -59,8 +59,8 @@ export default function PublicationCategoryPage({ params }: PageProps) {
|
||||
{/* Header */}
|
||||
<section className="space-y-3">
|
||||
<div className="flex items-center gap-3">
|
||||
<span className="h-px w-8 bg-cobalt-dark dark:bg-cobalt"></span>
|
||||
<span className="font-mono text-xs tracking-widest uppercase text-cobalt-dark dark:text-cobalt font-bold">
|
||||
<span className="h-px w-8 bg-cobalt-dark"></span>
|
||||
<span className="font-mono text-xs tracking-widest uppercase text-cobalt-dark font-bold">
|
||||
Publications Category
|
||||
</span>
|
||||
</div>
|
||||
@@ -81,7 +81,7 @@ export default function PublicationCategoryPage({ params }: PageProps) {
|
||||
<span className="font-mono text-xs text-ink-mute uppercase">
|
||||
Showing {records.length} Pre-rendered Records
|
||||
</span>
|
||||
<span className="font-mono text-xs text-vermillion font-bold">
|
||||
<span className="font-mono text-xs text-vermillion-dark font-bold">
|
||||
SSG ● Static HTML
|
||||
</span>
|
||||
</div>
|
||||
@@ -108,7 +108,7 @@ export default function PublicationCategoryPage({ params }: PageProps) {
|
||||
</h3>
|
||||
<time
|
||||
dateTime={rec.publishedAt}
|
||||
className="font-mono text-xs text-vermillion bg-ivory border border-line px-2.5 py-1 rounded shrink-0 font-bold"
|
||||
className="font-mono text-xs text-vermillion-dark bg-ivory border border-line px-2.5 py-1 rounded shrink-0 font-bold"
|
||||
>
|
||||
{rec.publishedAt}
|
||||
</time>
|
||||
@@ -121,7 +121,7 @@ export default function PublicationCategoryPage({ params }: PageProps) {
|
||||
출원번호: {rec.appNo} ({rec.country}, {rec.appDate})
|
||||
</p>
|
||||
{rec.regNo && (
|
||||
<p className="text-cobalt-dark dark:text-cobalt font-bold">
|
||||
<p className="text-cobalt-dark font-bold">
|
||||
등록번호: {rec.regNo} ({rec.regDate})
|
||||
</p>
|
||||
)}
|
||||
|
||||
@@ -20,7 +20,7 @@ export function CategoryNav({ currentCategory }: CategoryNavProps) {
|
||||
className={`px-4 py-2 rounded text-xs font-mono tracking-wider transition-colors ${
|
||||
isActive
|
||||
? "bg-cobalt-dark text-white dark:text-ivory font-bold"
|
||||
: "bg-paper text-ink border border-line hover:border-cobalt-dark dark:hover:border-cobalt"
|
||||
: "bg-paper text-ink border border-line hover:border-cobalt-dark"
|
||||
}`}
|
||||
>
|
||||
{cat.label}
|
||||
|
||||
@@ -26,8 +26,8 @@ export default function PublicationsIndexPage() {
|
||||
{/* Header section */}
|
||||
<section className="space-y-4">
|
||||
<div className="flex items-center gap-3">
|
||||
<span className="h-px w-8 bg-cobalt-dark dark:bg-cobalt" />
|
||||
<span className="font-mono text-xs font-bold uppercase tracking-widest text-cobalt-dark dark:text-cobalt">
|
||||
<span className="h-px w-8 bg-cobalt-dark" />
|
||||
<span className="font-mono text-xs font-bold uppercase tracking-widest text-cobalt-dark">
|
||||
BIBLIOGRAPHY & INTELLECTUAL PROPERTY
|
||||
</span>
|
||||
</div>
|
||||
@@ -49,13 +49,13 @@ export default function PublicationsIndexPage() {
|
||||
return (
|
||||
<div
|
||||
key={cat.slug}
|
||||
className="flex flex-col justify-between border border-line bg-paper p-6 rounded-lg transition-colors hover:border-cobalt-dark dark:hover:border-cobalt group"
|
||||
className="flex flex-col justify-between border border-line bg-paper p-6 rounded-lg transition-colors hover:border-cobalt-dark group"
|
||||
>
|
||||
<div className="space-y-3">
|
||||
<span className="font-mono text-xs text-ink-mute uppercase tracking-wider">
|
||||
Category
|
||||
</span>
|
||||
<h2 className="headline-ko text-xl text-ink font-bold group-hover:text-cobalt-dark dark:group-hover:text-cobalt transition-colors">
|
||||
<h2 className="headline-ko text-xl text-ink font-bold group-hover:text-cobalt-dark transition-colors">
|
||||
{cat.label}
|
||||
</h2>
|
||||
<p className="text-xs text-ink-mute leading-relaxed">
|
||||
@@ -69,7 +69,7 @@ export default function PublicationsIndexPage() {
|
||||
</span>
|
||||
<Link
|
||||
href={`/publications/${cat.slug}`}
|
||||
className="inline-flex items-center text-xs font-bold text-vermillion hover:underline"
|
||||
className="inline-flex items-center text-xs font-bold text-vermillion-dark hover:underline"
|
||||
>
|
||||
전체 보기 →
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user