[Implementers’ doc] [Authors’ info]
In order to help you manage user settings, we defined 4 types of overrides:
- chrome (UI);
- chrome advanced;
- user overrides;
- user overrides advanced.
Those types can help you decide which settings should be applied to every book, which should be implemented based on your UX approach or the first to be displayed in the customization panel, etc.
The following settings are required and should be applied by any means necessary:
- reading modes;
- paged/scrolled view.
The following settings are optional but should be applied by any means necessary, without any flag, if they are provided to users:
- number of columns;
- line length;
- custom reading modes/themes (background, text, link and selection colors);
- image filters (blend, darken and invert).
The following settings are required and should be applied with their required flag by any means necessary:
- font-family (requires
:--font-override
flag); - font-size.
The following settings are optional but should be applied by any means necessary if they are provided to users:
- line-height;
- text-align and hyphens (those two should probably work together);
- paragraph spacing;
- paragraph indent;
- letter-spacing;
- word-spacing;
- arabic ligatures;
- hiding ruby (CJK);
- accessibility normalization;
- font optical sizing (requires
:--font-override
flag and a variable font); - font weight (requires
:--font-override
flag and a variable font); - font width (requires
:--font-override
flag and a variable font); - image filters.
Please note this classification might change and additional items be added in the future.