Skip to main content

Fields

These styles apply to all the viewer input fields such as pageNumbers or the search query field.

View​

AttributeTypeDefaultDescription
fields.margin
integer4Internal padding

In pixels

Text format​

info

Inherits from common.theme.background

AttributeTypeDefaultDescription
fields.text.font
selectText font
fields.text.size
integer14Text size
fields.text.color
colorText color
fields.text.alpha
percent0Text opacity
fields.text.bold
booleanfalseUse bold text
fields.text.italic
booleanfalseUse italic text

Border​

info

Inherits from common.theme.border

AttributeTypeDefaultDescription
fields.border.color
colorBorder color
fields.border.size
integer0Border thickness

In pixels

fields.border.alpha
percent0Border opacity
fields.border.radius
integer4Corner radius

In pixels

Background​

info

Inherits from common.theme.background

AttributeTypeDefaultDescription
fields.background.color
colorBackground color
fields.background.alpha
percent0.1Background opacity

Disabled​

info

Inherits from fields.text

AttributeTypeDefaultDescription
fields.disabled.font
selectText font
fields.disabled.size
integer0Text size
fields.disabled.color
colorText color
fields.disabled.alpha
percent0.3Text opacity
fields.disabled.bold
booleanfalseUse bold text
fields.disabled.italic
booleanfalseUse italic text

Placeholder​

info

Inherits from fields.text

AttributeTypeDefaultDescription
fields.placeholder.font
selectText font
fields.placeholder.size
integer0Text size
fields.placeholder.color
colorText color
fields.placeholder.alpha
percent0.5Text opacity
fields.placeholder.bold
booleanfalseUse bold text
fields.placeholder.italic
booleanfalseUse italic text