feat(ui): add typography preferences and contextual formatting
This commit is contained in:
1 parent
2a35a392b7
commit
06be0038cf
10 files changed
+145
-26
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user