Commit Graph

17 Commits

Author SHA1 Message Date
Julien Calixte
9f75e7971d fix(layout): cache pageWidth in localStorage to avoid render glitch
The page width from .remanso.json was only applied after an async
PouchDB + network fetch, so notes briefly rendered at the default
500px before snapping to the configured value. Persist pageWidth
alongside the existing font cache (key renamed to remanso:layout:*),
so it is read synchronously during setUserRepo and applied before
the first render. Also always reset --note-width with a default
fallback to prevent stale values leaking across repo navigation.
2026-04-26 13:44:10 +02:00
Julien Calixte
ee8bbd4a37 feat(config): add pageWidth setting to .remanso.json
Allows repo owners to configure note column width via `"pageWidth": "700px"` in .remanso.json. Applies the value to the --note-width CSS variable and invalidates the cached width so resize/overlay hooks pick it up.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 23:34:26 +02:00
Julien Calixte
20e9538983 feat: mv profile to footer 2026-03-28 20:24:08 +01:00
Julien Calixte
b14f5f1dc1 Merge branch 'main' of github.com:remanso-space/remanso 2026-02-19 20:42:21 +01:00
Julien Calixte
bb06274c41 fix: apply default font immediately on mount before settings load 2026-02-19 17:41:44 +01:00
Julien Calixte
0ce44404a4 feat: change default font family 2026-02-14 22:23:53 +01:00
Julien Calixte
08e9c41c4d deps: use coollabs instead of google fonts 2026-01-22 22:52:29 +01:00
Julien Calixte
3e417ca271 fix: Google Font
feat: add a todo view
2026-01-19 00:37:55 +01:00
Julien Calixte
df250750e5 feat: add chosen font size 2025-07-06 15:49:58 +02:00
Julien Calixte
b2250b2b95 feat: add fontFamilies array 2025-07-06 11:23:15 +02:00
Julien Calixte
0f119d1f6a prune: remove theme in litenote config 2025-02-11 22:21:32 +01:00
Julien Calixte
e2285f8128 feat: take into account font size (#11) 2025-02-11 21:56:07 +01:00
Julien Calixte
8090f838be download font integration 2024-04-06 14:50:10 +02:00
Julien Calixte
2cab8c8e3f autoimport with eslint now 2023-08-14 18:04:27 +02:00
373ba812f5 (litenote config) implement dark mode on notes
Closes #5
2021-03-27 17:00:50 +01:00
935acb6813 🐛 (user settings) reset user settings with tree 2021-03-24 22:48:13 +01:00
556ddb7f1e (user settings) init user settings with .litenote.json 2021-03-24 22:35:41 +01:00