Replace the last glyph icons with Phosphor
The editor's insert, duplicate and remove buttons, the image library's close button and audio tile, the schedule's fold-out caret, the admin menu's caret, the history timeline's caret and gap marker, and the QR page's copied tick. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5292eda4a6
commit
706abf6a03
7 changed files with 23 additions and 18 deletions
|
|
@ -20,6 +20,7 @@
|
|||
Tabs follow the ARIA tab pattern: arrow keys move between them.
|
||||
═══════════════════════════════════════════════════════════════ */
|
||||
|
||||
import { CaretDown } from '@phosphor-icons/react'
|
||||
import { useId, useState, type KeyboardEvent } from 'react'
|
||||
import { Link } from 'react-router-dom'
|
||||
|
||||
|
|
@ -133,9 +134,11 @@ function Entry({ entry, accent }: { entry: ContentBlockItem; accent: string }) {
|
|||
className="h-8 w-8 shrink-0 rounded-full border text-sm transition-colors hover:bg-tint"
|
||||
style={{ borderColor: `${withAlpha(accent, 33)}`, color: accentText(accent) }}
|
||||
>
|
||||
<span aria-hidden="true" className={`inline-block transition-transform ${open ? 'rotate-180' : ''}`}>
|
||||
▾
|
||||
</span>
|
||||
<CaretDown
|
||||
aria-hidden="true"
|
||||
weight="bold"
|
||||
className={`mx-auto h-4 w-4 transition-transform ${open ? 'rotate-180' : ''}`}
|
||||
/>
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue