Preferences
Preferences with refined string union types for better IDE autocompletion.
Extends
Omit<SpecPreferences, |"columnCount"|"fontFamily"|"imageFilter"|"readingProgression"|"spread"|"textAlign"|"theme"|"fit"|"scrollAxis">
Properties
columnCount?
optional columnCount?: "auto" | "1" | "2";
fontFamily?
optional fontFamily?:
| "serif"
| "sans-serif"
| "cursive"
| "fantasy"
| "monospace"
| "AccessibleDfA"
| "IA Writer Duospace"
| "OpenDyslexic";
imageFilter?
optional imageFilter?: "darken" | "invert";
readingProgression?
optional readingProgression?: "ltr" | "rtl";
spread?
optional spread?: "auto" | "never" | "always";
textAlign?
optional textAlign?: "center" | "justify" | "start" | "end" | "left" | "right";
theme?
optional theme?: "light" | "dark" | "sepia";
fit?
optional fit?: "cover" | "contain" | "width" | "height";
scrollAxis?
optional scrollAxis?: "horizontal" | "vertical";
backgroundColor?
optional backgroundColor?: string;
Inherited from
Omit.backgroundColor
fontSize?
optional fontSize?: number;
Inherited from
Omit.fontSize
fontWeight?
optional fontWeight?: number;
Inherited from
Omit.fontWeight
hyphens?
optional hyphens?: boolean;
Inherited from
Omit.hyphens
language?
optional language?: string;
Inherited from
Omit.language
letterSpacing?
optional letterSpacing?: number;
Inherited from
Omit.letterSpacing
ligatures?
optional ligatures?: boolean;
Inherited from
Omit.ligatures
lineHeight?
optional lineHeight?: number;
Inherited from
Omit.lineHeight
pageMargins?
optional pageMargins?: number;
Inherited from
Omit.pageMargins
paragraphIndent?
optional paragraphIndent?: number;
Inherited from
Omit.paragraphIndent
paragraphSpacing?
optional paragraphSpacing?: number;
Inherited from
Omit.paragraphSpacing
publisherStyles?
optional publisherStyles?: boolean;
Inherited from
Omit.publisherStyles
scroll?
optional scroll?: boolean;
Inherited from
Omit.scroll
textColor?
optional textColor?: string;
Inherited from
Omit.textColor
textNormalization?
optional textNormalization?: boolean;
Inherited from
Omit.textNormalization
typeScale?
optional typeScale?: number;
Inherited from
Omit.typeScale
verticalText?
optional verticalText?: boolean;
Inherited from
Omit.verticalText
wordSpacing?
optional wordSpacing?: number;
Inherited from
Omit.wordSpacing
offsetFirstPage?
optional offsetFirstPage?: boolean;
Inherited from
Omit.offsetFirstPage
pageSpacing?
optional pageSpacing?: number;
Inherited from
Omit.pageSpacing
visibleScrollbar?
optional visibleScrollbar?: boolean;
Inherited from
Omit.visibleScrollbar