Commit graph

11 commits

Author SHA1 Message Date
Satindar Dhillon
1245d32eed rename to readerSettings 2022-06-21 19:00:24 -07:00
Jackson Harper
28283a10fc Simplify layout of font selector 2022-06-21 16:53:26 -07:00
Jackson Harper
99ec93449b Use a Radix dialog instead of dropdown, add OpenDyslexic font, prefetch fonts
The main change here is using Dialog instead of dropdown. The
dialog uses a fixed position, so when the underlying document
dimensions change based on a font change, the dialog will still
be positioned properly.
2022-06-21 15:38:05 -07:00
Jackson Harper
4042408126 Disable margins on small screens again
Need to fix how this is down across all smaller devices, until
then we can disable so the fonts stuff can be deployed.
2022-06-15 16:31:54 -07:00
Jackson Harper
702329cf3f Layout tweaks for font selector, allow adjusting margins on smaller screens 2022-06-15 11:46:41 -07:00
gitstart-omnivore
b7ecff195e Added font selector 2022-06-15 15:43:10 +00:00
Jackson Harper
039cab33ed Use embedded SVG so we can set colours 2022-05-02 13:01:50 -07:00
Jackson Harper
93bd6b6ed5 Use SVG images of grouped font stepper controls
Aligning the components in CSS didn't work very
well, so this uses exported versions of the design
with the `A` icon and `+/-` symbol in a single image.
2022-05-02 12:19:37 -07:00
Jackson Harper
a5885fe16c Push props down for lineheight, margin width to keep in sync 2022-04-13 20:46:49 -07:00
Jackson Harper
810401946e Use local storage for margins and line spacing since these are per-device preferences 2022-04-13 16:03:07 -07:00
Jackson Harper
0d1b05d4fc Rename reader settings 2022-04-12 12:58:04 -07:00
Renamed from packages/web/components/templates/article/ReaderSettingsModal.tsx (Browse further)