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
|
|
@ -29,6 +29,7 @@
|
|||
cached list would lie.
|
||||
═══════════════════════════════════════════════════════════════ */
|
||||
|
||||
import { FileAudio, X } from "@phosphor-icons/react";
|
||||
import { useCallback, useEffect, useId, useRef, useState, type ReactNode } from "react";
|
||||
|
||||
import { ApiError, get, post, upload } from "../../lib/api.ts";
|
||||
|
|
@ -214,8 +215,8 @@ export function MediaGrid({
|
|||
// A still of the first frame; metadata only, not the file.
|
||||
<video src={item.url} preload="metadata" muted className="h-full w-full bg-black object-contain" />
|
||||
) : item.content_type.startsWith("audio/") ? (
|
||||
<div className="flex h-full w-full items-center justify-center bg-tint text-3xl" aria-hidden="true">
|
||||
♪
|
||||
<div className="flex h-full w-full items-center justify-center bg-tint" aria-hidden="true">
|
||||
<FileAudio weight="bold" className="h-10 w-10 text-link" />
|
||||
</div>
|
||||
) : (
|
||||
<img
|
||||
|
|
@ -305,9 +306,9 @@ export function MediaPicker({
|
|||
type="button"
|
||||
onClick={() => dialogRef.current?.close()}
|
||||
aria-label="Close"
|
||||
className="h-8 w-8 rounded-full text-muted hover:bg-tint"
|
||||
className="flex h-8 w-8 items-center justify-center rounded-full text-muted hover:bg-tint"
|
||||
>
|
||||
✕
|
||||
<X aria-hidden="true" weight="bold" className="h-4 w-4" />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue