chore(theme): font audit — arbitrary px → semantic tokens (1/6 Stage 3.x)

This commit is contained in:
Александр Зимин
2026-05-12 12:09:52 +00:00
parent 9fc2ed5b35
commit 8360c39a45
4 changed files with 6 additions and 6 deletions
@@ -207,7 +207,7 @@ function SidebarContent({
</g>
</svg>
{!collapsed && (
<span className="font-display text-[15px] font-semibold leading-none tracking-[0.22em] text-ink inline-flex items-baseline gap-1.5">
<span className="font-display text-title-md leading-none tracking-[0.22em] text-ink inline-flex items-baseline gap-1.5">
ORDINIS
<span className="text-mute font-normal tracking-[0.32em] text-[0.78em]">MDM</span>
</span>
@@ -65,11 +65,11 @@ const NeighborCard = ({
}`}
aria-hidden="true"
/>
<h4 className="font-sans text-[14px] font-semibold text-accent truncate group-hover:underline">
<h4 className="font-sans text-body font-semibold text-accent truncate group-hover:underline">
{dict.displayName ?? dict.name}
</h4>
</div>
<div className="mt-0.5 font-mono text-[10px] text-mute truncate">
<div className="mt-0.5 text-mono text-mute truncate">
{dict.name}
</div>
</Link>
@@ -177,7 +177,7 @@ export function DictionaryHubView({ detail }: { detail: DictionaryDetail }) {
{detail.name}
</div>
{detail.description && (
<p className="text-[13px] text-ink mt-3 leading-relaxed">
<p className="text-body text-ink mt-3 leading-relaxed">
{detail.description}
</p>
)}