UserProperties
Parameters
User view: paged or scrolled.
The number of columns (column-count) the user wants displayed (one-page view or two-page spread). To reset, change the value to auto.
A factor applied to horizontal margins (padding-left and padding-right) the user wants to set. Recommended values: a range from 0.5 to 2. Increments are left to implementers’ judgment. To reset, change the value to 1.
This flag applies a reading mode (sepia or night).
This will only apply in night mode to darken images and impact img. Requires: appearance = Appearance.Night
This will only apply in night mode to invert images and impact img. Requires: appearance = Appearance.Night
The color for textual contents. It impacts all elements but headings and pre in the DOM. To reset, remove the CSS variable.
The background-color for the whole screen. To reset, remove the CSS variable.
This flag is required to change the font-family user setting.
The typeface (font-family) the user wants to read with. It impacts body, p, li, div, dt, dd and phrasing elements which don’t have a lang or xml:lang attribute. To reset, remove the required flag. Requires: fontOverride
Increasing and decreasing the root font-size. It will serve as a reference for the cascade. To reset, remove the required flag.
This flag is required to apply the font-size and/or advanced user settings.
The type scale the user wants to use for the publication. It impacts headings, p, li, div, pre, dd, small, sub, and sup. Recommended values: a range from 75% to 250%. Increments are left to implementers’ judgment. Requires: advancedSettings
The alignment (text-align) the user prefers. It impacts body, li, and p which are not children of blockquote and figcaption. Requires: advancedSettings
Increasing and decreasing leading (line-height). It impacts body, p, li and div. Recommended values: a range from 1 to 2. Increments are left to implementers’ judgment. Requires: advancedSettings
The vertical margins (margin-top and margin-bottom) for paragraphs. Recommended values: a range from 0 to 2rem. Increments are left to implementers’ judgment. Requires: advancedSettings = true
The text-indent for paragraphs. Recommended values: a range from 0 to 3rem. Increments are left to implementers’ judgment. Requires: advancedSettings
Increasing space between words (word-spacing, related to a11y). Recommended values: a range from 0 to 1rem. Increments are left to implementers’ judgment. Requires: advancedSettings
Increasing space between letters (letter-spacing, related to a11y). Recommended values: a range from 0 to 0.5rem. Increments are left to implementers’ judgment. Requires: advancedSettings
Enabling and disabling hyphenation. It impacts body, p, li, div and dd. Requires: advancedSettings
Enabling and disabling ligatures in Arabic (related to a11y). Requires: advancedSettings
It impacts font style, weight and variant, text decoration, super and subscripts. Requires: fontOverride