desktop-new: move two call sites onto the surviving colour names

`text-danger` was the role that resolved to the wrong red; error text is
`text-red-12`, measured against every surface it lands on. `border-secondary` was
one of three indistinguishable border weights and is now the single
`border-primary`.

Signed-off-by: Morgan Martin <morganmartin@squareup.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
This commit is contained in:
morgmart
2026-09-07 16:01:53 -07:00
parent 41fe22853a
commit d9a0223804
2 changed files with 2 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ export function ComposerSpikePage() {
</button>
</div>
<div className="rounded-md border border-secondary bg-panel p-3">
<div className="rounded-md border border-primary bg-panel p-3">
<EditorContent editor={editor} />
</div>
</div>

View File

@@ -69,7 +69,7 @@ export function NewSessionView({
{pending.content}
</span>
{error ? (
<span className="text-body-sm text-danger">{error}</span>
<span className="text-body-sm text-red-12">{error}</span>
) : null}
</div>
) : null}