Peach: Local-first video metadata scraper and media manager.
feat(web): 与文字同行的图标按字号缩放
longmeidaoa491ec434fe6
diff --git a/frontend/src/board-controls.css b/frontend/src/board-controls.cssindex dcf576555..1830a005d 100644--- a/frontend/src/board-controls.css+++ b/frontend/src/board-controls.css@@ -8,8 +8,8 @@.ui-board-tab-count{display:inline-block;margin-left:6px;padding:1px 4px;border-radius:4px;font:var(--board-caption);font-weight:500;line-height:16px;background:color-mix(in srgb,var(--ink) 10%,transparent);color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected="true"] .ui-board-tab-count{opacity:1}-/* 前置字形 16px。 */-.ui-board-tabs button svg{width:16px;height:16px;margin-right:6px;vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2}+/* 前置字形与标签文字同行,随字号缩放。 */+.ui-board-tabs button svg{width:var(--icon-inline);height:var(--icon-inline);margin-right:6px;vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2}@media(max-width:760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}/* 控件悬停提示(`initBoardControls` 建在 body 上的那一枚 popover):替掉原生 title,跟按钮同一套描边与阴影。 */.ui-board-tooltip{box-sizing:border-box;max-width:240px;padding:6px 10px;border:1px solid var(--color-border-button-default);border-radius:8px;background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown)}diff --git a/frontend/src/management.ts b/frontend/src/management.tsindex 0f60cff34..0b342f3d1 100644--- a/frontend/src/management.ts+++ b/frontend/src/management.ts@@ -25,7 +25,7 @@ const cardText = (title: string, text: string, layout: FieldsetLayout) => `<divexport function scanCardSkeletonHtml(): string {return island(`<section aria-label="扫描与采集" class="${fieldsetClass('stack')}" data-cleanup-task data-cleanup-processing>${cardText('扫描与采集', SCAN_CARD_TEXT, 'stack')}- <footer class="${FIELDSET_FOOT.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${islandGlyph('arrow-up', 'size-[18px] shrink-0 rotate-90')}</a><span data-button-group data-split-button data-variant="primary">${islandButton({ label: '同步媒体库', attrs: waitingAction })}${islandButton({ glyph: 'chevron-down', attrs: `${waitingAction} aria-label="更多同步方式"` })}</span></footer>+ <footer class="${FIELDSET_FOOT.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${islandGlyph('arrow-up', 'size-(--icon-inline) shrink-0 rotate-90')}</a><span data-button-group data-split-button data-variant="primary">${islandButton({ label: '同步媒体库', attrs: waitingAction })}${islandButton({ glyph: 'chevron-down', attrs: `${waitingAction} aria-label="更多同步方式"` })}</span></footer></section>`);}diff --git a/frontend/src/player/player.css b/frontend/src/player/player.cssindex 89d57001f..d32962756 100644--- a/frontend/src/player/player.css+++ b/frontend/src/player/player.css@@ -430,7 +430,7 @@ video.video-js{vertical-align:top;font-size:10px;line-height:1;font-family:Arial/* 徽标里的图标必须自己声明描边:sprite 里的仪表盘是描边图形,不声明就按 SVG 默认的fill 画成黑色实心块,压在 rgba(0,0,0,.6) 的底上等于没有。速率也要按整体不换行,否则「640 KB/s」会在这条 flex 行里断成两行,把 40px 的胶囊顶破。 */-[data-player-net] svg{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}+[data-player-net] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}[data-player-net][hidden]{display:none}/* 被门挡住的 <video> 只带 hidden 属性,而 `.video-js{display:block}` 是作者样式,压得住 UA 的 `[hidden]`。原先靠内联 `style="display:none"` 顶住,三个门里diff --git a/frontend/src/react/base.css b/frontend/src/react/base.cssindex 274c8b614..e4552e2cb 100644--- a/frontend/src/react/base.css+++ b/frontend/src/react/base.css@@ -11,6 +11,13 @@--font-inter: "Inter Variable", "Inter";}+/* 与文字同行的图标画框,按所在文字字号缩放。雪碧图字形在 24 画框里笔画约占 75%,1.2em 让它和+ * 同排汉字的墨迹一样大。遗留壳 `web/css/01-base.css` 的 `:root` 同名同值。写在这里而不进+ * `styles.css` 的 `@theme`:独立页面包也用 `SourceMark` 与带字按键,而 `@theme` 变量按用量裁剪。 */+:root {+ --icon-inline: 1.2em;+}+/* 阴影 token 改由 `--elevation-*` 给值。Tailwind v4 为了让 `shadow-<颜色>` 能换色,把* `--shadow-*` 的字面值抄进工具类,`theme.css` 在 `.dark` 里重定的 `--shadow-*` 于是够不着* `shadow-card` 这类工具类,暗色下全站卡片还是浅色那一档 5% 的黑影。这里把 token 接到diff --git a/frontend/src/react/batch-dock/batch-dock.css b/frontend/src/react/batch-dock/batch-dock.cssindex 678ce3dd5..73c2d2c39 100644--- a/frontend/src/react/batch-dock/batch-dock.css+++ b/frontend/src/react/batch-dock/batch-dock.css@@ -16,7 +16,7 @@[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}-[data-batch-scope] [data-selection-dock]>button svg{flex:none;width:17px;height:17px;margin-right:6px;fill:none;stroke:currentColor;stroke-width:2}+[data-batch-scope] [data-selection-dock]>button svg{flex:none;width:var(--icon-inline);height:var(--icon-inline);margin-right:6px;fill:none;stroke:currentColor;stroke-width:2}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}/* 浮条出来时,作品详情那一层(`<dialog data-stage>`)的底部让出它的高度。 */diff --git a/frontend/src/react/boardui/components/application/settings/settings-rows.tsx b/frontend/src/react/boardui/components/application/settings/settings-rows.tsxindex f29091ca2..2250b56ad 100644--- a/frontend/src/react/boardui/components/application/settings/settings-rows.tsx+++ b/frontend/src/react/boardui/components/application/settings/settings-rows.tsx@@ -89,11 +89,11 @@ export function SettingsValueField({return (<divclassName={cx(- "flex h-8 w-[202px] shrink-0 items-center gap-0.5 rounded-2lg bg-background-tertiary-default px-1.5",+ "flex h-8 w-[202px] shrink-0 items-center gap-0.5 rounded-2lg bg-background-tertiary-default px-1.5 text-body-regular",className,)}>- {Icon && <Icon className="size-5 shrink-0 text-foreground-icon-secondary" aria-hidden />}+ {Icon && <Icon className="size-(--icon-inline) shrink-0 text-foreground-icon-secondary" aria-hidden />}<spanclassName={cx("truncate pl-1 text-body-regular",diff --git a/frontend/src/react/boardui/components/base/buttons/button.tsx b/frontend/src/react/boardui/components/base/buttons/button.tsxindex 3f66d42a0..049eb564b 100644--- a/frontend/src/react/boardui/components/base/buttons/button.tsx+++ b/frontend/src/react/boardui/components/base/buttons/button.tsx@@ -21,7 +21,8 @@ import { cx, sortCx } from "@/utils/cx";* Medium Small Xs* container h=36, p=8, r=10 h=32, px=8 py=6, r=8 h=24, px=8, r=4* gap 2px 2px 1.33px→1- * icon 20×20 18×18 14×14+ * icon (icon-only) 20×20 18×18 14×14+ * icon (labelled) 1.2em(`--icon-inline`,随文字字号缩放)* label wrapper px=4 px=2 px=2* text style Body 1/Medium Body 1/Medium Caption 1/Semibold* icon-only square 36×36 (content-derived) 32×32 (forced size) 24×24 (forced size)@@ -101,12 +102,20 @@ const styles = sortCx({xs: "size-6 p-0", // hard 24×24, content-centered},+ // 纯图标键的字形跟按键档位走。icon: {medium: "size-5 shrink-0", // 20pxsmall: "size-[18px] shrink-0", // 18pxxs: "size-3.5 shrink-0", // 14px},+ // 带字按键的前置、后置字形与文字同行,画框按所在文字字号缩放(`--icon-inline`)。+ iconInline: {+ medium: "size-(--icon-inline) shrink-0",+ small: "size-(--icon-inline) shrink-0",+ xs: "size-(--icon-inline) shrink-0",+ },+label: {medium: "inline-flex items-center justify-center px-1 shrink-0", // px=4small: "inline-flex items-center justify-center px-0.5 shrink-0", // px=2@@ -141,6 +150,12 @@ const styles = sortCx({},});+/** 有可见文字时字形与文字同行,取 `iconInline`;纯图标键取按档位的 `icon`。 */+function iconGlyph(iconOnly: boolean, children: ReactNode, size: ButtonSize): string {+ const labelled = !iconOnly && children !== undefined && children !== null;+ return labelled ? styles.iconInline[size] : styles.icon[size];+}+export function Button({variant = "primary",size = "medium",@@ -153,6 +168,7 @@ export function Button({ref,...props}: ButtonProps) {+ const glyph = iconGlyph(iconOnly, children, size);return (<buttonref={ref}@@ -166,12 +182,12 @@ export function Button({)}{...props}>- {Leading ? <Leading className={styles.icon[size]} aria-hidden /> : null}+ {Leading ? <Leading className={glyph} aria-hidden /> : null}{!iconOnly && children !== undefined && children !== null && (<span className={styles.label[size]}>{children}</span>)}{!iconOnly && Trailing ? (- <Trailing className={styles.icon[size]} aria-hidden />+ <Trailing className={glyph} aria-hidden />) : null}</button>);@@ -189,6 +205,7 @@ export function ButtonLink({ref,...props}: ButtonLinkProps) {+ const glyph = iconGlyph(iconOnly, children, size);return (<aref={ref}@@ -201,12 +218,12 @@ export function ButtonLink({)}{...props}>- {Leading ? <Leading className={styles.icon[size]} aria-hidden /> : null}+ {Leading ? <Leading className={glyph} aria-hidden /> : null}{!iconOnly && children !== undefined && children !== null && (<span className={styles.label[size]}>{children}</span>)}{!iconOnly && Trailing ? (- <Trailing className={styles.icon[size]} aria-hidden />+ <Trailing className={glyph} aria-hidden />) : null}</a>);diff --git a/frontend/src/react/boardui/components/base/buttons/link-button.tsx b/frontend/src/react/boardui/components/base/buttons/link-button.tsxindex 65c392cd6..6c9384070 100644--- a/frontend/src/react/boardui/components/base/buttons/link-button.tsx+++ b/frontend/src/react/boardui/components/base/buttons/link-button.tsx@@ -14,9 +14,10 @@ import { cx, sortCx } from "@/utils/cx";** Variant / size matrix (mirrors Button's structure):* Variant = primary (blue/600 text) | secondary (text/secondary)- * Size = medium (Body 1/Medium, 20px icons)- * | small (Body 1/Medium, 18px icons)- * | xs (Caption 1/Semibold, 14px icons)+ * Size = medium (Body 1/Medium)+ * | small (Body 1/Medium)+ * | xs (Caption 1/Semibold)+ * 字形画框是 `--icon-inline`(1.2em),随该档文字字号缩放。** Renders an `<a>` when `href` is passed, otherwise a `<button>` — the same* action can live in copy ("Learn more →") or trigger a handler. Icons are@@ -74,10 +75,11 @@ const styles = sortCx({xs: "text-caption-1-semibold",},+ // 链接键总带字,字形与文字同行,画框按所在文字字号缩放(`--icon-inline`)。icon: {- medium: "size-5 shrink-0",- small: "size-[18px] shrink-0",- xs: "size-3.5 shrink-0",+ medium: "size-(--icon-inline) shrink-0",+ small: "size-(--icon-inline) shrink-0",+ xs: "size-(--icon-inline) shrink-0",},variant: {diff --git a/frontend/src/react/boardui/components/base/input/label.tsx b/frontend/src/react/boardui/components/base/input/label.tsxindex 0796dc9a3..24b5f1b2a 100644--- a/frontend/src/react/boardui/components/base/input/label.tsx+++ b/frontend/src/react/boardui/components/base/input/label.tsx@@ -61,7 +61,7 @@ export function Label({)}{tooltip && (<RiInformationFill- className="size-4 shrink-0 text-foreground-icon-quaternary"+ className="size-(--icon-inline) shrink-0 text-foreground-icon-quaternary"aria-hidden/>)}diff --git a/frontend/src/react/boardui/components/base/tree-view/tree-view.tsx b/frontend/src/react/boardui/components/base/tree-view/tree-view.tsxindex 8d1ea3789..c283d281e 100644--- a/frontend/src/react/boardui/components/base/tree-view/tree-view.tsx+++ b/frontend/src/react/boardui/components/base/tree-view/tree-view.tsx@@ -192,7 +192,7 @@ export function TreeViewItem<T extends object = object>({<span aria-hidden className={cx("h-5 shrink-0", level > 1 ? "w-2" : "w-5")} />)}{Icon && <Icon aria-hidden className={cx(- "size-4 shrink-0 opacity-50",+ "size-(--icon-inline) shrink-0 opacity-50",hasChildItems ? "text-foreground-icon-primary" : "text-foreground-icon-secondary",iconClassName,)} />}diff --git a/frontend/src/react/catalog-grid/catalog-list.css b/frontend/src/react/catalog-grid/catalog-list.cssindex 34892224b..1336d6667 100644--- a/frontend/src/react/catalog-grid/catalog-list.css+++ b/frontend/src/react/catalog-grid/catalog-list.css@@ -19,7 +19,7 @@.peach-react [data-catalog-table] [data-list-byline] { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; color: var(--muted); font-size: var(--fs-sm); }.peach-react [data-catalog-table] [data-list-byline] > * { flex: none; }.peach-react [data-catalog-table] [data-list-byline] > [data-media-who] { flex: 0 1 auto; min-width: 0; }-.peach-react [data-catalog-table] [data-list-byline] [data-media-who] svg { flex: none; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }+.peach-react [data-catalog-table] [data-list-byline] [data-media-who] svg { flex: none; width: var(--icon-inline); height: var(--icon-inline); fill: none; stroke: currentColor; stroke-width: 2; }/* 列表行的来源:署名前是媒体库图标加名称;用户给这个媒体库选了来源色时整行铺淡色。* 个人状态图标缩小后贴在预览图左下角。 */.peach-react [data-catalog-table] [data-list-library] { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }diff --git a/frontend/src/react/components/board-tabs.tsx b/frontend/src/react/components/board-tabs.tsxindex 24c7abdd2..ec690e47a 100644--- a/frontend/src/react/components/board-tabs.tsx+++ b/frontend/src/react/components/board-tabs.tsx@@ -74,7 +74,7 @@ export function BoardTabs<V extends string>(data-pill-selected={selected ? '' : undefined} data-pill-variant="gray"tabIndex={selected ? 0 : -1} className={TAB}onClick={() => { if (!selected) onChange(tab.value) }}>- {Glyph ? <Glyph className="mr-1.5 size-4" /> : null}+ {Glyph ? <Glyph className="mr-1.5 size-(--icon-inline)" /> : null}{tab.label}</button>);diff --git a/frontend/src/react/components/media-card.css b/frontend/src/react/components/media-card.cssindex 5dc79e6ba..bc4c9d8b3 100644--- a/frontend/src/react/components/media-card.css+++ b/frontend/src/react/components/media-card.css@@ -649,7 +649,7 @@ body[data-surface="/trash"] .peach-react button[data-media-title] {.peach-react button[data-media-who] { cursor: pointer; }.peach-react [data-media-who] > span { overflow: hidden; text-overflow: ellipsis; }.peach-react :is([data-media-release], [data-media-size]) { display: inline-flex; flex: none; align-items: center; gap: 4px; white-space: nowrap; }-.peach-react [data-media-byline] svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }+.peach-react [data-media-byline] svg { width: var(--icon-inline); height: var(--icon-inline); flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }.peach-react span[data-media-who] { cursor: default; }.peach-react [data-media-who-more] { flex: none; color: var(--muted); white-space: nowrap; }.peach-react [data-media-why] { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }@@ -865,7 +865,7 @@ body[data-surface="/trash"] .peach-react [data-media-tags] {transition: background .14s;}.peach-react [data-shorts-enter]:hover { background: var(--hover); }-.peach-react [data-shorts-enter] svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }+.peach-react [data-shorts-enter] svg { width: var(--icon-inline); height: var(--icon-inline); fill: none; stroke: currentColor; stroke-width: 2; }.peach-react [data-shorts-row] {display: flex;gap: 13px;diff --git a/frontend/src/react/components/mix-card.tsx b/frontend/src/react/components/mix-card.tsxindex 588031ae2..b89af0d1a 100644--- a/frontend/src/react/components/mix-card.tsx+++ b/frontend/src/react/components/mix-card.tsx@@ -147,7 +147,7 @@ export function MixCard({className="absolute inset-0 z-1 cursor-pointer rounded-surface outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring disabled:cursor-default" /><span data-mix-badge=""className="absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white">- <PLAY aria-hidden className="size-3.75" />+ <PLAY aria-hidden className="size-(--icon-inline)" />{badge ?? `${count.toLocaleString()} 个视频`}</span></div>diff --git a/frontend/src/react/components/pill-tab.tsx b/frontend/src/react/components/pill-tab.tsxindex f6607c761..b2ade14ac 100644--- a/frontend/src/react/components/pill-tab.tsx+++ b/frontend/src/react/components/pill-tab.tsx@@ -170,7 +170,7 @@ export function PillTab({data-pill-variant={variant}onClick={onSelect}className={cx(- "group relative z-10 flex shrink-0 cursor-pointer items-center gap-1 px-2 py-1.25",+ "group relative z-10 flex shrink-0 cursor-pointer items-center gap-1 px-2 py-1.25 text-body-medium",styles.radius[variant],"outline-none transition-colors duration-150","focus-visible:ring-2 focus-visible:ring-border-focus-ring",@@ -190,7 +190,7 @@ export function PillTab({{Icon && (<IconclassName={cx(- "relative z-10 size-5 shrink-0",+ "relative z-10 size-(--icon-inline) shrink-0",isSelected ? styles.selectedIcon[variant] : "text-foreground-icon-secondary",)}aria-hiddendiff --git a/frontend/src/react/components/site-mark.tsx b/frontend/src/react/components/site-mark.tsxindex 50d9b729a..d10213013 100644--- a/frontend/src/react/components/site-mark.tsx+++ b/frontend/src/react/components/site-mark.tsx@@ -6,10 +6,10 @@ import { siteMarkUrl } from '@peach/legacy/core';export function SiteMark({ source, linkId }: { source: string; linkId?: never } | { linkId: number | undefined; source?: never }) {const [failed, setFailed] = useState('');const mark = String(linkId ?? source);- if (linkId === undefined && !source) return <RiGlobalLine aria-hidden className="size-4 shrink-0" />;- if (source === 'makers') return <RiBuildingLine aria-hidden className="size-4 shrink-0" />;- if (failed === mark) return <RiGlobalLine aria-hidden className="size-4 shrink-0" />;+ if (linkId === undefined && !source) return <RiGlobalLine aria-hidden className="size-(--icon-inline) shrink-0" />;+ if (source === 'makers') return <RiBuildingLine aria-hidden className="size-(--icon-inline) shrink-0" />;+ if (failed === mark) return <RiGlobalLine aria-hidden className="size-(--icon-inline) shrink-0" />;const bundled = source && ['javten', 'fc2ppvdb', 'avwikidb', 'minnano-av', 'github'].includes(source);return <img src={linkId !== undefined ? `/link-mark?id=${linkId}` : bundled ? `/site-icon/${source}.png` : siteMarkUrl({ source: source! })} alt="" width={16} height={16}- loading="lazy" onError={() => setFailed(mark)} className="size-4 shrink-0 rounded-none object-contain" />;+ loading="lazy" onError={() => setFailed(mark)} className="size-(--icon-inline) shrink-0 rounded-none object-contain" />;}diff --git a/frontend/src/react/components/source-label.tsx b/frontend/src/react/components/source-label.tsxindex 7fe953869..0e6d4982d 100644--- a/frontend/src/react/components/source-label.tsx+++ b/frontend/src/react/components/source-label.tsx@@ -18,7 +18,7 @@ export function SiteLabel({ site, label }: { site: string; label: string }) {const [failed, setFailed] = useState(false);const source = site === 'javdb' ? '/site-mark?source=javdb' : site === 'missav' ? '/site-mark?domain=missav.com' : null;return <span className="inline-flex min-w-0 items-center gap-1.5">- {failed || !source ? <SourceMark mark="globe" /> : <img src={source} alt="" className="size-4 shrink-0 object-contain" onError={() => setFailed(true)} />}+ {failed || !source ? <SourceMark mark="globe" /> : <img src={source} alt="" className="size-(--icon-inline) shrink-0 object-contain" onError={() => setFailed(true)} />}<span>{label}</span></span>;}diff --git a/frontend/src/react/data-cleanup/link-manager.tsx b/frontend/src/react/data-cleanup/link-manager.tsxindex cb5e2d245..d599e7704 100644--- a/frontend/src/react/data-cleanup/link-manager.tsx+++ b/frontend/src/react/data-cleanup/link-manager.tsx@@ -98,7 +98,7 @@ function LinkTable(className="flex min-w-0 items-center gap-1 text-text-secondary hover:text-text-primary"><SiteMark linkId={item.id} /><span data-middle-truncate className="min-w-0 truncate">{item.url}</span>- <RiExternalLinkLine aria-hidden className="size-3.5 shrink-0" />+ <RiExternalLinkLine aria-hidden className="size-(--icon-inline) shrink-0" /></a> },];return (@@ -251,7 +251,7 @@ export function LinkManager() {<a href={`https://${host}`} target="_blank" rel="noopener noreferrer"className="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium text-text-primary"><SiteMark linkId={info.top_host_link_ids?.[host]} /><span className="min-w-0 wrap-anywhere">{host}</span>- <RiExternalLinkLine aria-hidden className="size-3.5 shrink-0" />+ <RiExternalLinkLine aria-hidden className="size-(--icon-inline) shrink-0" /></a><Chip variant="caption" color="neutral"><span className="tabular-nums">{count(n)}</span></Chip></span>)}diff --git a/frontend/src/react/entity-filter/entity-filter-page.tsx b/frontend/src/react/entity-filter/entity-filter-page.tsxindex 456aabbbf..56fe8e78f 100644--- a/frontend/src/react/entity-filter/entity-filter-page.tsx+++ b/frontend/src/react/entity-filter/entity-filter-page.tsx@@ -297,7 +297,7 @@ export function SortKeys({ sorts, onSort }: { sorts: readonly EntitySortKey[]; oreturn (<button key={sort.key} type="button" data-entity-sort={sort.key} data-entity-press=""aria-pressed={sort.pressed} aria-label={sort.ariaLabel || undefined} onClick={() => onSort(sort.key)}>- {sort.label}{sort.pressed && sort.dir ? <IconSwap a={SortUpIcon} b={SortDownIcon} state={sort.dir === 'asc' ? 'a' : 'b'} className="size-3.5" /> : null}+ {sort.label}{sort.pressed && sort.dir ? <IconSwap a={SortUpIcon} b={SortDownIcon} state={sort.dir === 'asc' ? 'a' : 'b'} className="size-(--icon-inline)" /> : null}</button>);})}diff --git a/frontend/src/react/entity-filter/entity-filter.css b/frontend/src/react/entity-filter/entity-filter.cssindex e61ecdb41..78ac33257 100644--- a/frontend/src/react/entity-filter/entity-filter.css+++ b/frontend/src/react/entity-filter/entity-filter.css@@ -240,8 +240,8 @@}.peach-react [data-entity-sort] svg {flex: none;- width: 14px;- height: 14px;+ width: var(--icon-inline);+ height: var(--icon-inline);margin-left: 5px;}.peach-react [data-entity-sort] [data-icon-swap] { margin-left: 5px; }@@ -273,8 +273,8 @@}.peach-react [data-photo-back]:hover { background: var(--overlay-5); }.peach-react [data-photo-back] svg {- width: 15px;- height: 15px;+ width: var(--icon-inline);+ height: var(--icon-inline);fill: none;stroke: currentColor;stroke-width: 2;diff --git a/frontend/src/react/entity-hero/entity-hero.css b/frontend/src/react/entity-hero/entity-hero.cssindex cf3e582c5..50b942b94 100644--- a/frontend/src/react/entity-hero/entity-hero.css+++ b/frontend/src/react/entity-hero/entity-hero.css@@ -153,6 +153,8 @@stroke-linecap: round;stroke-linejoin: round;}+/* 菜单项的字形与名字同行。 */+.peach-react [data-namepick-menu] svg { width: var(--icon-inline); height: var(--icon-inline); }/* 名字下面那一行。分类在最左侧,各项带图标;装不下就整项换行。 */.peach-react [data-entity-alias] {@@ -174,8 +176,8 @@.peach-react [data-meta-item="names"] { flex-wrap: wrap; }.peach-react [data-meta-item] > svg,.peach-react [data-entity-facts] dt svg {- width: 16px;- height: 16px;+ width: var(--icon-inline);+ height: var(--icon-inline);flex: none;color: var(--muted);fill: none;diff --git a/frontend/src/react/follow-detail/follow-detail.css b/frontend/src/react/follow-detail/follow-detail.cssindex 04150d350..30b459700 100644--- a/frontend/src/react/follow-detail/follow-detail.css+++ b/frontend/src/react/follow-detail/follow-detail.css@@ -107,7 +107,8 @@flex: none; width: 30px; height: 30px; min-width: 0;margin: calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;}-.peach-react [data-follow-detail] :is([data-follow-origin], [data-follow-resources] a) svg { flex: none; width: 18px; height: 18px; }+.peach-react [data-follow-detail] [data-follow-origin] svg { flex: none; width: 18px; height: 18px; }+.peach-react [data-follow-detail] [data-follow-resources] a svg { flex: none; width: var(--icon-inline); height: var(--icon-inline); }.peach-react [data-follow-detail] [data-follow-detail-credit] {overflow-wrap: anywhere;color: var(--muted);diff --git a/frontend/src/react/follow-feed/follow-feed-page.tsx b/frontend/src/react/follow-feed/follow-feed-page.tsxindex 10deab52a..6fc623256 100644--- a/frontend/src/react/follow-feed/follow-feed-page.tsx+++ b/frontend/src/react/follow-feed/follow-feed-page.tsx@@ -194,7 +194,7 @@ export function FollowFeedPage(props: FollowFeedProps) {{data.groups.length < FOLLOW_AUTO_LOAD_LIMIT ? (<LoadMore key={result.data?.pages.length} entity enabled={() => !job.busyRef.current}load={async () => { await result.fetchNextPage({ throwOnError: true }) }}>- <CHEVRON_DOWN className="size-3.5" />加载更多+ <CHEVRON_DOWN className="size-(--icon-inline)" />加载更多</LoadMore>) : (<ManualMore busy={result.isFetchingNextPage}@@ -243,7 +243,7 @@ function ManualMore({ busy, error, load }: { busy: boolean; error: string; load(return (<><button type="button" data-entity-more="" aria-busy={busy || undefined} aria-disabled={busy || undefined} onClick={load}>- <CHEVRON_DOWN className="size-3.5" />加载更多+ <CHEVRON_DOWN className="size-(--icon-inline)" />加载更多</button>{error ? <RetryNote message={error} onRetry={load} /> : null}</>@@ -490,7 +490,7 @@ function Glass({ facets, view, total, busy, props, route }: {const next = nextSort(key, view.sort, view.dir);if (next) route(next);}}>- {label}{pressed ? <IconSwap a={SortUpIcon} b={SortDownIcon} state={view.dir === 'asc' ? 'a' : 'b'} className="size-3.5" /> : null}+ {label}{pressed ? <IconSwap a={SortUpIcon} b={SortDownIcon} state={view.dir === 'asc' ? 'a' : 'b'} className="size-(--icon-inline)" /> : null}</button>);})}diff --git a/frontend/src/react/follow-feed/follow-feed.css b/frontend/src/react/follow-feed/follow-feed.cssindex 42c26e61c..c6a32d53d 100644--- a/frontend/src/react/follow-feed/follow-feed.css+++ b/frontend/src/react/follow-feed/follow-feed.css@@ -26,9 +26,9 @@.peach-react [data-follow-title] { font: var(--board-figure); }}.peach-react [data-follow-head-actions] { display: inline-flex; flex: none; align-items: center; gap: 8px; }-/* 「管理关注」「抓更早的一页」同遗留层 `.fbtn`:左边留 12px,图标 14px,与文字隔 4px(文字自带的内边距)。 */+/* 「管理关注」「抓更早的一页」同遗留层 `.fbtn`:左边留 12px,图标与文字同行、随字号缩放,与文字隔 4px(文字自带的内边距)。 */.peach-react button:is([data-follow-manage], [data-follow-older]):has(> svg) { gap: 0; padding-left: 12px; }-.peach-react button:is([data-follow-manage], [data-follow-older]) > svg { width: 14px; height: 14px; }+.peach-react button:is([data-follow-manage], [data-follow-older]) > svg { width: var(--icon-inline); height: var(--icon-inline); }/* ── 创作者行与题材行 ──* 同首页那两排(`catalog-filter.css` 的 `[data-tier-performer]`、`[data-tier-studio]`):圆头像 48px、名字一行 Caption;题材是 40px 高的@@ -428,7 +428,7 @@ body[data-density="dense"]:not([data-surface="/trash"]) .peach-react [data-follo-webkit-backdrop-filter: blur(10px);transition: opacity .15s ease;}-.peach-react [data-follow-collection] svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }+.peach-react [data-follow-collection] svg { width: var(--icon-inline); height: var(--icon-inline); fill: none; stroke: currentColor; stroke-width: 2; }.peach-react [data-follow-actions] {display: flex;align-items: center;@@ -532,8 +532,8 @@ body[data-density="dense"]:not([data-surface="/trash"]) .peach-react [data-follo/* 卡片、两排与详情共用的几处字样,HTML 由 `follow-marks.ts` 拼。站点图标在角标、来源条那几格里另有尺寸,这里是行内默认的那一档。SFW 模式下它不跟着内容图一起糊,豁免写在 `17-overlay.css`。 */.peach-react [data-follow-site-icon] {- width: 14px;- height: 14px;+ width: var(--icon-inline);+ height: var(--icon-inline);margin-right: 5px;border-radius: 0;object-fit: contain;diff --git a/frontend/src/react/item-detail/item-detail.css b/frontend/src/react/item-detail/item-detail.cssindex 84895fb74..45176d63e 100644--- a/frontend/src/react/item-detail/item-detail.css+++ b/frontend/src/react/item-detail/item-detail.css@@ -199,8 +199,8 @@同一套,两者在同一行上不能高低不齐。 */.peach-react [data-item-detail] [data-spec-item] { display: inline-flex; align-items: center; gap: 5px; }.peach-react [data-item-detail] [data-spec-item] svg {- width: 15px;- height: 15px;+ width: var(--icon-inline);+ height: var(--icon-inline);flex: none;stroke: currentColor;fill: none;@@ -316,8 +316,8 @@cursor: default;}.peach-react [data-item-detail] [data-series-link] svg {- width: 16px;- height: 16px;+ width: var(--icon-inline);+ height: var(--icon-inline);margin-top: 1px;flex: none;stroke: currentColor;@@ -442,7 +442,7 @@.peach-react [data-item-detail] [data-pick]:is(:hover, [data-active], [aria-pressed="true"]) { background: var(--hover); color: var(--ink); }.peach-react [data-item-detail] [data-pick-name] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.peach-react [data-item-detail] [data-pick-count] { margin-left: auto; color: var(--muted); font-size: var(--fs-xs); }-.peach-react [data-item-detail] [data-pick] svg { width: 14px; height: 14px; flex: none; }+.peach-react [data-item-detail] [data-pick] svg { width: var(--icon-inline); height: var(--icon-inline); flex: none; }@media (max-width: 760px) {.peach-react [data-item-detail] [data-tag-picker] { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; }.peach-react [data-item-detail] [data-tag-grid] { grid-template-columns: 1fr; }@@ -560,7 +560,7 @@cursor: pointer;transition: background-color .14s ease;}-.peach-react [data-item-detail] [data-kind="o"] svg { width: 20px; height: 20px; fill: currentColor; color: #ff669d; }+.peach-react [data-item-detail] [data-kind="o"] svg { width: var(--icon-inline); height: var(--icon-inline); fill: currentColor; color: #ff669d; }.peach-react [data-item-detail] [data-kind="o"] b {font-size: 12px;line-height: 18px;diff --git a/frontend/src/react/jav-detail/jav-detail.css b/frontend/src/react/jav-detail/jav-detail.cssindex e4294a892..b32aaa59c 100644--- a/frontend/src/react/jav-detail/jav-detail.css+++ b/frontend/src/react/jav-detail/jav-detail.css@@ -15,11 +15,11 @@.peach-react [data-jav-video] > [role="note"] { margin: 16px; }.peach-react [data-jav-preview-toggle] { position: absolute; z-index: 5; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: var(--pill-radius); background: rgba(0, 0, 0, .6); color: #fff; font-size: var(--fs-xs); cursor: pointer; }.peach-react [data-jav-preview-toggle]:hover { background: rgba(0, 0, 0, .78); }-.peach-react [data-jav-preview-toggle] svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }+.peach-react [data-jav-preview-toggle] svg { width: var(--icon-inline); height: var(--icon-inline); stroke: currentColor; fill: none; stroke-width: 2; }.peach-react [data-jav-art][data-jav-playing] { flex-direction: column; }.peach-react [data-jav-reviews], .peach-react [data-jav-resources] { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }.peach-react :is([data-jav-reviews], [data-jav-resources]) summary { min-height: var(--control-h); width: 100%; gap: 8px; font-size: var(--fs-md); font-weight: 600; }-.peach-react :is([data-jav-reviews], [data-jav-resources]) summary svg { width: 18px; height: 18px; flex: none; }+.peach-react :is([data-jav-reviews], [data-jav-resources]) summary svg { width: var(--icon-inline); height: var(--icon-inline); flex: none; }.peach-react :is([data-jav-reviews], [data-jav-resources]) summary .contents svg { stroke: currentColor; fill: none; stroke-width: 2; }.peach-react [data-jav-review] { padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: var(--fs-sm); }.peach-react [data-jav-review-meta] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }diff --git a/frontend/src/react/junk-queue/junk-queue.css b/frontend/src/react/junk-queue/junk-queue.cssindex 57216cefa..1e51ea8bb 100644--- a/frontend/src/react/junk-queue/junk-queue.css+++ b/frontend/src/react/junk-queue/junk-queue.css@@ -58,8 +58,8 @@.peach-react [data-junk-filters] a:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 2px; }.peach-react [data-junk-filters] a > svg {flex: none;- width: 16px;- height: 16px;+ width: var(--icon-inline);+ height: var(--icon-inline);fill: none;stroke: currentColor;stroke-width: 2;diff --git a/frontend/src/react/library-processing/library-processing-notice.tsx b/frontend/src/react/library-processing/library-processing-notice.tsxindex 912038041..35da8a328 100644--- a/frontend/src/react/library-processing/library-processing-notice.tsx+++ b/frontend/src/react/library-processing/library-processing-notice.tsx@@ -91,8 +91,8 @@ export function ProcessingNoticePanel({ state, problem = '', measure = false }:aria-current={step.status === 'current' ? 'step' : undefined}className={cx('flex min-h-8 items-center gap-2 text-body-2-regular',step.status === 'current' ? 'text-text-primary' : 'text-text-tertiary')}>- {step.status === 'complete' ? <RiCheckLine aria-hidden className="size-4 shrink-0" />- : <RiCheckboxBlankCircleLine aria-hidden className={cx('size-4 shrink-0', step.status === 'current' && 'text-border-focus-ring')} />}+ {step.status === 'complete' ? <RiCheckLine aria-hidden className="size-(--icon-inline) shrink-0" />+ : <RiCheckboxBlankCircleLine aria-hidden className={cx('size-(--icon-inline) shrink-0', step.status === 'current' && 'text-border-focus-ring')} />}<VisuallyHidden>{step.status === 'complete' ? '已完成:' : step.status === 'current' ? '当前:' : '待处理:'}</VisuallyHidden>{step.status === 'complete' ? <s className="wrap-anywhere">{step.label}</s> : <span className="wrap-anywhere">{step.label}</span>}</li>)}diff --git a/frontend/src/react/library-processing/processing-traffic.tsx b/frontend/src/react/library-processing/processing-traffic.tsxindex d12149fac..e9177c746 100644--- a/frontend/src/react/library-processing/processing-traffic.tsx+++ b/frontend/src/react/library-processing/processing-traffic.tsx@@ -38,14 +38,14 @@ export function TrafficProgress({ traffic, initial = false, detailsOpen, onDetai{traffic.inventory?.errors ? <p role="status">部分目录无法读取,数量和预估不完整</p> : null}<div className="inline-grid grid-cols-2 gap-6 py-2"><section aria-label="流量预估" className="flex min-w-0 flex-col gap-1">- <p className="inline-flex items-center gap-1.5"><RiGlobalLine aria-hidden className="size-4 shrink-0" />+ <p className="inline-flex items-center gap-1.5"><RiGlobalLine aria-hidden className="size-(--icon-inline) shrink-0" />{traffic.inventory && !traffic.inventory.complete ? '已识别流量' : '预计流量'}</p><p className="text-title-3-semibold text-text-primary">{forecast(traffic.estimated_bytes, traffic.estimated_min_bytes, traffic.estimated_max_bytes)}</p><p>{traffic.unknown_route_estimated_bytes ? '已确认代理' : '代理'} {forecast(traffic.metered_estimated_bytes, traffic.metered_estimated_min_bytes, traffic.metered_estimated_max_bytes)}</p>{!initial ? <p>已用 <span>{traffic.partial ? '约 ' : ''}{size(traffic.used_bytes)}</span> · 代理 {size(traffic.metered_used_bytes)}</p> : null}</section>{traffic.disk ? <section aria-label="磁盘预估" className="flex min-w-0 flex-col gap-1">- <p className="inline-flex items-center gap-1.5"><RiHardDrive3Line aria-hidden className="size-4 shrink-0" />+ <p className="inline-flex items-center gap-1.5"><RiHardDrive3Line aria-hidden className="size-(--icon-inline) shrink-0" />{traffic.inventory && !traffic.inventory.complete ? '已识别占用' : '预计占用'}</p><p className="text-title-3-semibold text-text-primary">约 {size(traffic.disk.estimated_bytes)}</p>{traffic.disk.temporary_bytes > 0 ? <p>抽帧临时文件约 {averageSize(traffic.disk.temporary_bytes)}</p> : null}diff --git a/frontend/src/react/library-shortcuts/shortcut-controls.tsx b/frontend/src/react/library-shortcuts/shortcut-controls.tsxindex 2853bc756..9b3a5f6b4 100644--- a/frontend/src/react/library-shortcuts/shortcut-controls.tsx+++ b/frontend/src/react/library-shortcuts/shortcut-controls.tsx@@ -130,7 +130,7 @@ function ShortcutContents({ currentHref, kind, close }: { currentHref?: () => stconst count = value === 'filters' ? data?.filters.length || 0 : (data?.favorites || []).filter(row => value === 'all' || row.kind === value).length;return <button key={value} type="button" role="tab" id={`${id}-${value}`} aria-controls={`${id}-content`}aria-label={label} aria-selected={scope === value} tabIndex={scope === value ? 0 : -1} onPointerEnter={glide.hover} onClick={() => setScope(value)}>- <Glyph aria-hidden className="size-5" /><span>{label}</span><span data-shortcuts-count="">{count}</span>+ <Glyph aria-hidden className="size-(--icon-inline)" /><span>{label}</span><span data-shortcuts-count="">{count}</span></button>;})}</div>diff --git a/frontend/src/react/library-shortcuts/shortcuts.css b/frontend/src/react/library-shortcuts/shortcuts.cssindex 3aeab7b86..db5c5f3e1 100644--- a/frontend/src/react/library-shortcuts/shortcuts.css+++ b/frontend/src/react/library-shortcuts/shortcuts.css@@ -43,7 +43,7 @@.peach-react [data-shortcuts-footer] a:hover { background: transparent; }.peach-react [data-shortcuts-footer] a > svg:last-child { margin-left: auto; }.peach-react [data-shortcuts-footer] a:focus-visible { outline: 2px solid var(--tungsten); outline-offset: -2px; }-.peach-react [data-shortcuts-footer] svg { width: 20px; height: 20px; fill: none; stroke: currentColor; }+.peach-react [data-shortcuts-footer] svg { width: var(--icon-inline); height: var(--icon-inline); fill: none; stroke: currentColor; }.peach-react [data-shortcuts-content] { grid-column: 2; padding: 16px 32px 32px; }.peach-react [data-shortcuts-content] [data-empty-state] { padding: 16px; }.peach-react [data-shortcuts-row] { padding-block: 12px; border-bottom: 1px solid var(--color-separator-border); }diff --git a/frontend/src/react/manage-header/manage-header.css b/frontend/src/react/manage-header/manage-header.cssindex 255f23531..c17b5c38e 100644--- a/frontend/src/react/manage-header/manage-header.css+++ b/frontend/src/react/manage-header/manage-header.css@@ -15,7 +15,7 @@[data-manage-menu]{position:relative;display:flex;flex-wrap:nowrap;gap:4px;margin:0;padding:0;overflow-x:auto;scrollbar-width:none}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{position:relative;display:inline-flex;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;min-height:36px;border:0;border-radius:var(--control-radius);background:none;color:var(--ink-2);font-size:14px;font-weight:400;white-space:nowrap;cursor:pointer}-[data-manage-menu]>button svg{width:16px;height:16px;flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}+[data-manage-menu]>button svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed="true"]{background:var(--hover);color:var(--ink)}diff --git a/frontend/src/react/photo-lightbox/photo-lightbox.css b/frontend/src/react/photo-lightbox/photo-lightbox.cssindex 47871053d..7059ab573 100644--- a/frontend/src/react/photo-lightbox/photo-lightbox.css+++ b/frontend/src/react/photo-lightbox/photo-lightbox.css@@ -466,8 +466,8 @@}.peach-react [data-photo-reveal] svg {display: block;- width: 16px;- height: 16px;+ width: var(--icon-inline);+ height: var(--icon-inline);fill: none;stroke: currentColor;stroke-width: 2;diff --git a/frontend/src/react/playlists/playlists-page.tsx b/frontend/src/react/playlists/playlists-page.tsxindex 473b479bc..1d8827fd1 100644--- a/frontend/src/react/playlists/playlists-page.tsx+++ b/frontend/src/react/playlists/playlists-page.tsx@@ -151,10 +151,10 @@ function PlaylistMenu({ name, onRename, onDelete }: { name: string; onRename():{/* 面板外宽 172px,同旧卡片菜单:外框再加 10px 内边距与 1px 描边。 */}<Dialog aria-label={`播放列表操作:${name}`} className="flex w-37.5 flex-col gap-0.5 outline-none"><button type="button" className={MENU_ROW} onClick={() => run(onRename)}>- <PENCIL aria-hidden className="size-4 shrink-0" />编辑名称+ <PENCIL aria-hidden className="size-(--icon-inline) shrink-0" />编辑名称</button><button type="button" className={MENU_ROW} onClick={() => run(onDelete)}>- <TRASH aria-hidden className="size-4 shrink-0" />删除播放列表+ <TRASH aria-hidden className="size-(--icon-inline) shrink-0" />删除播放列表</button></Dialog></Popover>diff --git a/frontend/src/react/search/search.css b/frontend/src/react/search/search.cssindex f77011e87..a3c248944 100644--- a/frontend/src/react/search/search.css+++ b/frontend/src/react/search/search.css@@ -50,7 +50,9 @@cursor: pointer;}.peach-react [data-search-option]:is(:hover, [data-active]) { background: var(--hover); }-.peach-react [data-search-option] svg { width: 18px; height: 18px; stroke: var(--muted); fill: none; flex: none; }+.peach-react [data-search-option] svg { width: var(--icon-inline); height: var(--icon-inline); stroke: var(--muted); fill: none; flex: none; }+/* 删除历史是一枚纯图标键,字形跟键走,不随这一行的字号。 */+.peach-react [data-search-option] [data-remove-history] svg { width: 18px; height: 18px; }.peach-react [data-search-option="more"] { margin-top: 7px; justify-content: space-between; }.peach-react [data-search-option] span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.peach-react [data-remove-history] {diff --git a/frontend/src/react/settings-panel/settings-panel.css b/frontend/src/react/settings-panel/settings-panel.cssindex 3b3c58b1e..e93f24d9f 100644--- a/frontend/src/react/settings-panel/settings-panel.css+++ b/frontend/src/react/settings-panel/settings-panel.css@@ -124,7 +124,7 @@/* 行反馈向上下各覆盖 1px,使相邻分隔线融入反馈面;边框仍占位,切换状态不改变行高。 */[data-settings-panel] [data-glow-stop-toggle]:hover,[data-settings-panel] [data-glow-stop-toggle][aria-expanded="true"]{position:relative;z-index:1;background:var(--control-hover);box-shadow:0 -1px 0 var(--control-hover),0 1px 0 var(--control-hover)}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}-[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;flex:none;margin-left:auto;color:var(--muted);stroke:currentColor;fill:none}+[data-settings-panel] [data-glow-stop-toggle]>svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;margin-left:auto;color:var(--muted);stroke:currentColor;fill:none}[data-settings-panel] [data-glow-stop-dot]{width:34px;height:34px;flex:none;border-radius:50%;background:var(--glow-swatch,var(--line));box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15)}[data-settings-panel] [data-glow-stop-text]{display:grid;min-width:0}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:400}@@ -168,6 +168,8 @@[data-settings-panel] [data-sidebar-row][data-drop="after"]::after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{display:flex;align-items:center;gap:8px}[data-settings-panel] [data-sidebar-row] svg{width:18px;height:18px;stroke:currentColor;fill:none}+/* 名目前那枚字形与名字同行,随字号缩放;拖柄和右端的上移、下移键仍按键的尺寸。 */+[data-settings-panel] [data-sidebar-label]>svg{width:var(--icon-inline);height:var(--icon-inline)}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-settings-panel] [data-sidebar-grip]{display:grid;place-items:center;width:24px;color:var(--muted)}@@ -188,7 +190,7 @@[data-settings-panel] [data-sidebar-add-menu]{position:absolute;z-index:4;left:0;right:0;bottom:calc(100% + 6px);max-height:min(312px,48vh)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{grid-template-columns:auto minmax(0,1fr);width:100%;height:var(--control-h);border:0;text-align:left}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected="true"]{background:var(--hover);color:var(--ink)}-[data-settings-panel] [data-sidebar-add-row] svg{width:17px;height:17px;stroke:currentColor;fill:none}+[data-settings-panel] [data-sidebar-add-row] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none}@media (max-width:600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}}@media (max-width:600px){[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}}@media (max-width:600px){[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}}@@ -216,7 +218,7 @@[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){flex:0 0 auto;justify-content:flex-start;padding:8px;border:0;border-radius:10px;font-size:14px;min-height:36px;font-weight:500}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){display:flex;align-items:center;gap:8px}-[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{width:20px;height:20px;fill:currentColor;stroke:none;flex:none}+[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;stroke:none;flex:none}/* 这一列自己不铺底,当前那一条的填充由 `[data-settings-glide]` 那块滑过去的玻璃提供——跟筛选条上四枚视图、左侧抽屉那一列是同一套做法。两边都铺的话,静止态就是一块不透明的`--picked` 压在玻璃上面,切换时只看得见它瞬间换位置,滑动的那块从头到尾被盖住。diff --git a/frontend/src/react/settings/section.tsx b/frontend/src/react/settings/section.tsxindex de26073b0..7478204e1 100644--- a/frontend/src/react/settings/section.tsx+++ b/frontend/src/react/settings/section.tsx@@ -149,9 +149,9 @@ export function Disclosure(<details ref={attach}><summary aria-expanded={open} aria-controls={id} onClick={toggle}className={`${trailing ? 'w-full' : 'w-fit'} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`}>- {!trailing ? <RiArrowRightSLine aria-hidden className={open ? 'size-4 shrink-0 rotate-90 transition-transform' : 'size-4 shrink-0 transition-transform'} /> : null}+ {!trailing ? <RiArrowRightSLine aria-hidden className={open ? 'size-(--icon-inline) shrink-0 rotate-90 transition-transform' : 'size-(--icon-inline) shrink-0 transition-transform'} /> : null}{summary}- {trailing ? <RiArrowRightSLine aria-hidden className={open ? 'ml-auto size-4 shrink-0 -rotate-90 transition-transform' : 'ml-auto size-4 shrink-0 rotate-90 transition-transform'} /> : null}+ {trailing ? <RiArrowRightSLine aria-hidden className={open ? 'ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform' : 'ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform'} /> : null}</summary><div ref={body} id={id} inert={!open}><div className={cx('flex flex-col gap-2 pt-3', contentClassName)}>{children}</div>@@ -163,7 +163,7 @@ export function Disclosure(/** 遗留雪碧图(`web/index.html` 的 `#i-*` symbol)里的字形。媒体库图标的取值就是这些名字。 */export function SpriteIcon({ name }: { name: string }) {return (- <svg aria-hidden data-source-mark={name} viewBox="0 0 24 24" fill="none" className="size-4 shrink-0 stroke-current stroke-2">+ <svg aria-hidden data-source-mark={name} viewBox="0 0 24 24" fill="none" className="size-(--icon-inline) shrink-0 stroke-current stroke-2"><use href={`#i-${name}`} /></svg>);@@ -172,6 +172,6 @@ export function SpriteIcon({ name }: { name: string }) {/** 来源标识:网盘站标是内嵌 PNG,其余是雪碧图字形(`src/ui-kit/media-source-icons.ts`)。 */export function SourceMark({ mark }: { mark: string }) {return mark.startsWith('data:image/png;base64,')- ? <img src={mark} alt="" width={16} height={16} className="size-4 shrink-0" />+ ? <img src={mark} alt="" width={16} height={16} className="size-(--icon-inline) shrink-0" />: <SpriteIcon name={mark} />;}diff --git a/frontend/src/react/sidebar/sidebar.css b/frontend/src/react/sidebar/sidebar.cssindex 1fba88ee8..a1d38f1e4 100644--- a/frontend/src/react/sidebar/sidebar.css+++ b/frontend/src/react/sidebar/sidebar.css@@ -44,7 +44,7 @@ html>body{padding-left:var(--railW)}[data-sidebar-nav] button{display:flex;align-items:center;gap:14px;padding:11px 14px;background:none;border:0;border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted)}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed="true"]{background:var(--hover);color:var(--ink)}-[data-sidebar-nav] svg{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}+[data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{position:fixed;inset:0;z-index:95;background:rgba(0,0,0,.42);opacity:0;pointer-events:none;display:none;transition:opacity .18s,display .18s allow-discrete}[data-sidebar-scrim][class~=on]{display:block;opacity:1;pointer-events:auto}@@ -54,8 +54,8 @@ html>body{padding-left:var(--railW)}[data-sidebar-group]{border-top:1px solid var(--line-soft);padding-top:11px;margin-bottom:13px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{display:flex;flex-wrap:wrap;gap:4px}-[data-sidebar-chip] img,[data-sidebar-chip]>svg{width:14px;height:14px;border-radius:var(--badge-radius);object-fit:contain;flex:none}-[data-sidebar-source-icon]{display:block!important;width:16px!important;height:16px!important;min-width:16px;opacity:1!important;filter:none!important;object-fit:contain}+[data-sidebar-chip] img,[data-sidebar-chip]>svg{width:var(--icon-inline);height:var(--icon-inline);border-radius:var(--badge-radius);object-fit:contain;flex:none}+[data-sidebar-source-icon]{display:block!important;width:var(--icon-inline)!important;height:var(--icon-inline)!important;min-width:var(--icon-inline);opacity:1!important;filter:none!important;object-fit:contain}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2}[data-sidebar-chip]{display:inline-flex;align-items:center;gap:6px;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:transparent;cursor:pointer;font-size:var(--fs-xs)}[data-sidebar-chip]:hover{color:var(--ink)}@@ -126,7 +126,7 @@ body[class~=drawer-open]{--railW:296px}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{height:40px;padding:8px 12px;gap:12px;font-size:14px;border-radius:10px;line-height:20px;font-weight:400}-[data-sidebar-drawer] [data-sidebar-nav] svg{margin:0;width:18px;height:18px}+[data-sidebar-drawer] [data-sidebar-nav] svg{margin:0;width:var(--icon-inline);height:var(--icon-inline)}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed="true"]{background:var(--board-blue);color:white;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{display:flex;gap:10px;align-items:center;margin-right:auto;text-decoration:none;color:var(--ink)}@@ -154,7 +154,7 @@ body[class~=drawer-open]{--railW:296px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{padding:8px;gap:8px;min-width:36px}- [data-sidebar-drawer] [data-sidebar-nav] button svg{width:20px;height:20px;flex:none}+ [data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{max-width:0;opacity:0;filter:blur(4px)}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}@@ -194,12 +194,14 @@ body[class~=drawer-open]{--railW:296px}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{display:grid;place-items:center;background:none;border-radius:0}-[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{width:20px;height:20px;stroke-width:2}+[data-sidebar-head] [class~=mark] svg{width:20px;height:20px;stroke-width:2}+/* 导航条目是「图标+名字」,字形随名字的字号缩放;收起成图标列时名字只是收窄到 0,字号不变,图标也不跳。 */+[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);stroke-width:2}[data-sidebar-home-logo]{width:24px;height:24px;object-fit:contain;flex:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:6px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:white;filter:brightness(1.08)}[data-sidebar-toggle]>span{font-size:12px;line-height:20px;font-weight:500;color:var(--muted)}-[data-sidebar-toggle] svg{order:2;margin-left:auto;width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:2;transform:rotate(0deg);transition:transform var(--motion-swap)}+[data-sidebar-toggle] svg{order:2;margin-left:auto;width:var(--icon-inline);height:var(--icon-inline);flex:none;fill:none;stroke:currentColor;stroke-width:2;transform:rotate(0deg);transition:transform var(--motion-swap)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{display:flex;flex-direction:column;gap:2px;padding-left:8px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{display:flex;width:100%;min-width:0;min-height:36px;gap:8px;padding:8px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:14px;line-height:20px;text-align:left;font-weight:400}@@ -207,7 +209,7 @@ body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{margin-left:auto;flex:none;padding:1px 4px;border-radius:4px;background:var(--surface);color:var(--muted);font-size:12px;line-height:16px}-[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}+[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:var(--icon-inline);height:var(--icon-inline)}/* 「展开全部」:分组超过首屏条数时,底部居中一枚小药丸。 */[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{display:grid;place-items:center;width:40px;height:20px;margin:6px auto 2px;padding:0;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);box-shadow:var(--elevation-xs);transition:background-color .15s ease,color .15s ease}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}diff --git a/frontend/src/react/wants/want-magnets.tsx b/frontend/src/react/wants/want-magnets.tsxindex a771670a0..f9001bcb7 100644--- a/frontend/src/react/wants/want-magnets.tsx+++ b/frontend/src/react/wants/want-magnets.tsx@@ -33,7 +33,7 @@ export interface MagnetResult {}function ResourceFact({ icon: Icon, children, title }: { icon: ComponentType<{ className?: string; 'aria-hidden'?: boolean | 'true' | 'false' }>; children: ReactNode; title?: string }) {- return <span title={title} className="inline-flex items-center gap-1"><Icon aria-hidden className="size-3.5 shrink-0" />{children}</span>;+ return <span title={title} className="inline-flex items-center gap-1"><Icon aria-hidden className="size-(--icon-inline) shrink-0" />{children}</span>;}export function WantMagnets({ want, readOnly, downloads, provider, toast, onSource, queryUrl }: {diff --git a/frontend/src/ui-kit/markup.css b/frontend/src/ui-kit/markup.cssindex 95f2994a2..35b351be8 100644--- a/frontend/src/ui-kit/markup.css+++ b/frontend/src/ui-kit/markup.css@@ -71,7 +71,7 @@ input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react ibutt 端点会把它渲染成看不见的薄片,横幅上只剩上半截竖杠,警告读成了半个符号。只认直接子元素:带进度时横幅里那一枚是 `.ui-geist-gauge` 的圆环,它的端点是弧的两头而不是字形笔画,跟着一起圆掉就成了另一种控件的长相。 */-.ui-project-banner>div>svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2;+.ui-project-banner>div>svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.ui-project-banner>a{color:inherit;text-decoration:underline;text-underline-offset:5px;font-weight:500;flex:none}.ui-project-banner-error{--feedback-color:var(--drop)}diff --git a/web/board.css b/web/board.cssindex 6722bfd28..5f351dd91 100644--- a/web/board.css+++ b/web/board.css@@ -782,7 +782,7 @@ html.board-high-contrast :is(.card .badge,[data-glass-pane]){background:var(--gr肉眼可见地淡出。页码格的规则在 frontend/src/pagination.css。 ── */.board-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-top:16px}.board-pagination>ul{display:flex;align-items:center;gap:2px;margin:0;padding:0;list-style:none}-.board-pagination>.geist-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}+.board-pagination>.geist-button svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}/* ── 口味页三个面板的标题同一档:Heading 20/26、上 24 左 24 下 12;面板页头那两条在 frontend/src/board-skeleton.css ── */.insightcopy>span{margin:0;font:var(--board-heading);color:var(--color-text-primary)}.insightcopy{padding:24px;gap:0}@@ -841,7 +841,7 @@ html.board-high-contrast :is(.card .badge,[data-glass-pane]){background:var(--gr.post-setup-task:has(>a:hover)::before,.post-setup-task:has(>a:hover)+.post-setup-task::before{opacity:0}.post-setup-task>a{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) 16px;align-items:center;gap:12px;min-width:0;min-height:62px;padding:10px 8px 10px 12px;border-radius:8px;color:var(--ink);text-decoration:none}.post-setup-task>a:hover{background:var(--hover)}-.post-setup-task>a>svg{width:16px;height:16px;color:var(--color-text-secondary);fill:none;stroke:currentColor;stroke-width:2}+.post-setup-task>a>svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--color-text-secondary);fill:none;stroke:currentColor;stroke-width:2}.post-setup-task>a:hover>svg{color:var(--color-text-primary)}.post-setup-skip{position:relative;margin-right:8px;padding:6px 8px;border:0;border-radius:var(--control-radius);background:transparent;color:var(--color-text-secondary);font:var(--board-body-2-regular);transition:background-color .15s ease,color .15s ease}.post-setup-skip:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}diff --git a/web/css/01-base.css b/web/css/01-base.cssindex 93937b9e5..07f6cd6df 100644--- a/web/css/01-base.css+++ b/web/css/01-base.css@@ -118,6 +118,9 @@design.md 里被明确列为要拒绝的生成式设计反射。新增字号前先证明现有 8 档都不合适。 */--fs-xs:12px; --fs-sm:13px; --fs-md:14px; --fs-lg:16px;--fs-xl:20px; --fs-2xl:24px; --fs-3xl:32px; --fs-4xl:48px;+ /* 与文字同行的图标画框,按所在文字字号缩放。雪碧图字形在 24 画框里笔画约占 75%,+ 1.2em 让它和同排汉字的墨迹一样大;React 岛 `frontend/src/react/base.css` 同名同值。 */+ --icon-inline:1.2em;}@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--ground:#080A0D; --surface:#0C0F14; --sunk:#0B0D11; --hover:rgba(255,255,255,.07); --skeleton-sheen:rgba(255,255,255,.12);@@ -314,7 +317,7 @@ button,[role="button"],summary{user-select:none;-webkit-user-select:none;-webkit.geist-button:hover:not(:disabled){background:color-mix(in srgb,var(--ink) 8%,var(--ground))}.geist-button,.geist-button:hover{text-decoration:none}/* 按钮里唯一还挂图标的一类是走出 Peach 的链接,那一枚的长相由下面两条说。 */-.geist-button svg{width:14px;height:14px;flex:none;stroke:currentColor;fill:none;stroke-width:2}+.geist-button svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;stroke:currentColor;fill:none;stroke-width:2}.geist-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.geist-button:disabled{background:var(--sunk);color:var(--muted);cursor:not-allowed}/* Vercel/Geist loading actions look unavailable and reject repeat activation,@@ -431,7 +434,7 @@ body.settings-open>.ovtrack.page,body.photolight-open>.ovtrack.page{display:none.gselectfield>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gselectmenu [data-select-content]{display:flex;align-items:center;gap:8px;min-width:0}.gselectfield .gselectmark{vertical-align:-3px;margin-inline-end:8px}-.gselectmark{width:16px;height:16px;flex:none;object-fit:contain;stroke:currentColor;fill:none;stroke-width:2}+.gselectmark{width:var(--icon-inline);height:var(--icon-inline);flex:none;object-fit:contain;stroke:currentColor;fill:none;stroke-width:2}.gselectfield>svg{width:16px;height:16px;flex:none;stroke:currentColor;fill:none;color:var(--muted)}.gselectfield:hover:not(:disabled){border-color:var(--field-ring-hover)}/* 展开时按住焦点态:菜单开着而触发器看起来没被点中,读起来像两个控件。 */diff --git a/web/css/04-manage.css b/web/css/04-manage.cssindex 25dc77c2f..55414146b 100644--- a/web/css/04-manage.css+++ b/web/css/04-manage.css@@ -48,7 +48,7 @@background:var(--ground);color:var(--ink-2);display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;transition:color .15s ease-in-out,background-color .15s ease-in-out}.cleanupfieldset button:where(:not(.gselectfield)):hover{background:color-mix(in srgb,var(--ink) 8%,var(--ground));color:var(--ink)}-.cleanupfieldset button:where(:not(.gselectfield)) svg{width:16px;height:16px;stroke:currentColor;fill:none}+.cleanupfieldset button:where(:not(.gselectfield)) svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none}.stats h2{margin:0 0 4px;font-size:var(--fs-2xl)}.stats .sub{color:var(--muted);margin:0}/* 来源和凭证页的正文归 React 子树(ADR-0031)。这两条只服务遗留骨架:那一句静态说明diff --git a/web/css/17-overlay.css b/web/css/17-overlay.cssindex 753b04830..c4c13c9f0 100644--- a/web/css/17-overlay.css+++ b/web/css/17-overlay.css@@ -34,7 +34,7 @@初值涂黑,一个勾会糊成实心箭头;圆线帽是感叹号那一点的全部,平头线帽下它就消失。 */#toasts [data-toast-glyph]{display:contents;color:var(--color-accent-600)}#toasts [data-type=error] [data-toast-glyph]{color:var(--drop)}-#toasts [data-toast-glyph] svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;+#toasts [data-toast-glyph] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}#toasts [data-sonner-toast] [data-close-button]:hover{background:var(--color-background-primary-hover);border-color:var(--color-border-button-hover)}diff --git a/web/css/22-followmanage.css b/web/css/22-followmanage.cssindex b1a72ddd6..5b8298408 100644--- a/web/css/22-followmanage.css+++ b/web/css/22-followmanage.css@@ -10,8 +10,8 @@:root{--feedback-success:var(--color-accent-600)}:root[data-theme="dark"]{--feedback-success:var(--color-accent-400)}@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--feedback-success:var(--color-accent-400)}}-.geist-note{--feedback-color:var(--muted);display:grid;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:12px;margin:0;padding:6px 12px;min-height:40px;box-sizing:border-box;border:1px solid var(--line);border-radius:var(--control-radius);background:color-mix(in srgb,var(--feedback-color) 8%,var(--ground));color:var(--feedback-color);font-size:var(--fs-md);line-height:24px;overflow-wrap:anywhere}-.geist-note>svg{width:16px;height:24px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}+.geist-note{--feedback-color:var(--muted);display:grid;grid-template-columns:var(--icon-inline) minmax(0,1fr);align-items:center;gap:12px;margin:0;padding:6px 12px;min-height:40px;box-sizing:border-box;border:1px solid var(--line);border-radius:var(--control-radius);background:color-mix(in srgb,var(--feedback-color) 8%,var(--ground));color:var(--feedback-color);font-size:var(--fs-md);line-height:24px;overflow-wrap:anywhere}+.geist-note>svg{width:var(--icon-inline);height:24px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.geist-note.geist-note>p{margin:0;color:inherit;font:inherit;align-self:center}.geist-note>p b{margin-right:8px;color:inherit}.geist-note-warning{--feedback-color:var(--meter);border-color:color-mix(in srgb,var(--meter) 32%,var(--ground))}.geist-note-error{--feedback-color:var(--drop);border-color:color-mix(in srgb,var(--drop) 30%,var(--ground))}