mirror of
https://github.com/block/buzz.git
synced 2026-10-29 05:21:31 +00:00
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:
@@ -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>
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user