refactor(frontend): remove ui.ts/icons.tsx and all rd-* legacy classes (B5)

This commit is contained in:
2026-09-16 17:53:51 +08:00
parent 28d8587e71
commit 395be9688d
10 changed files with 33 additions and 125 deletions
+4 -1
View File
@@ -411,7 +411,10 @@ function TxtView({ book, initialLocator, initialPercent, chrome }: ReaderProps)
<li key={i}>
<button
ref={i === ci ? activeRow : undefined}
className={"rd-row" + (i === ci ? " rd-btn-on" : "")}
className={
"min-w-0 flex-1 truncate rounded-md px-2.5 py-1.5 text-left text-sm transition-colors hover:bg-accent hover:text-accent-foreground" +
(i === ci ? " bg-accent text-accent-foreground" : "")
}
onClick={() => {
goChapter(i);
setNav(null);