feat: markdown rendering + dark mode input fixes + DM icon align

- Add marked dependency; render post/reply content and signature via
  marked.parse (matches upstream). lib/markdown.js helper + CSS for
  code/pre/blockquote/tables in glass theme
- Fix hardcoded #e2e8f0 white inputs in dark mode: NewPost title/content,
  Modals report select, ReplyList, AdminForumSettings/Links/Users/Logs
- DM button: replace ✉️ emoji with upstream SVG chat bubble icon
This commit is contained in:
lezi-fun committed 2026-08-10 18:19:56 +08:00
1 parent 9eed101caa
commit 156e178160
14 files changed
+98 -22

No files matched your search

+1 -1
View File
@@ -124,7 +124,7 @@ export default function Modals({ modal, onClose, reportPostId }) {
<h2 style={{ marginBottom: 16 }}><Icon name="shieldAlert" size={20} /> 举报帖子</h2>
<p style={{ fontSize: 14, color: '#64748b', marginBottom: 12 }}>请选择举报原因:</p>
<select
style={{ width: '100%', padding: '8px 12px', border: '1px solid #e2e8f0', borderRadius: 4, marginBottom: 16 }}
style={{ width: '100%', padding: '8px 12px', border: '1px solid var(--border)', borderRadius: 4, marginBottom: 16, background: 'var(--bg)', color: 'var(--text)' }}
value={reportReason}
onChange={(e) => setReportReason(e.target.value)}
>