feat(ui): add typography preferences and contextual formatting

This commit is contained in:
eezd committed 2026-10-22 15:01:39 +08:00
1 parent 2a35a392b7
commit 06be0038cf
10 files changed
+145 -26

No files matched your search

+1 -1
View File
@@ -154,7 +154,7 @@ func (s *Server) publicAppearance(w http.ResponseWriter, r *http.Request) {
return
}
out := map[string]any{}
for _, key := range []string{"colorMode", "fontSize", "contentWidth"} {
for _, key := range []string{"colorMode", "fontSize", "contentWidth", "textFont", "codeFont", "lineHeight", "paragraphSpacing", "glassOpacity"} {
if value, ok := settings[key]; ok {
out[key] = value
}