fix(11-02): repair broken text strings from mass CSS variable replacement
The mass find-and-replace incorrectly replaced the word 'surface' in human-readable text strings and type literals, not just CSS class contexts. Fixed: App.tsx control surface text, DocumentCenter knowledge base text, i18n en.ts, and Panel tone prop type literal.
This commit is contained in:
1 parent
17cebc277a
commit
2106ee1feb
79 files changed
+270572
-9
No files matched your search
@@ -80,11 +80,11 @@ export function Panel({
|
||||
children: ReactNode;
|
||||
action?: ReactNode;
|
||||
className?: string;
|
||||
tone?: "plain" | "bg-card border border-border shadow-sm";
|
||||
tone?: "plain" | "surface";
|
||||
}) {
|
||||
return (
|
||||
<section className={`space-y-4 ${className}`}>
|
||||
<div className={`flex items-end justify-between gap-4 ${tone === "bg-card border border-border shadow-sm" ? "border-b border-border pb-3" : ""}`}>
|
||||
<div className={`flex items-end justify-between gap-4 ${tone === "surface" ? "border-b border-border pb-3" : ""}`}>
|
||||
<div>
|
||||
{eyebrow ? <div className="mb-1 text-[11px] font-semibold uppercase tracking-[0.08em] text-primary">{eyebrow}</div> : null}
|
||||
<h2 className="text-[20px] font-bold tracking-[-0.025em] text-foreground">{title}</h2>
|
||||
|
||||
Reference in new issue
Block a user