Text

Basic Text Styles

global.css

Body copy and informational text.

Scene HTML

None

Base selector

Optional selectors

Required child

.palm-text-wrapper
 

.palm-body-text

.palm-body-text
  

.palm-body-title
  

.palm-info-text

.single
 

Notes:

  • .palm-text-wrapper: use this wrapper to contain multiple divs of styled text for proper padding.

Capitalization

global.css

Some Mojo widgets and styles shift strings to uppercase or apply capitalization.

Scene HTML

None

Base selector

Optional selectors

Required child

.capitalize

.un-capitalize
  

Notes:

  • Use .capitalize for CSS title case capitalization and .un-capitalize to override autocapitalization in buttons, dialog box titles, and page headers.

Fonts

global-base.css

Mojo uses the Prelude font family.

Scene HTML

None

Base selector

Optional selectors

Required child

body

button

input

textarea

.condensed

.oblique
 

Truncation

global-base.css

Force text to fit within the available space, with an ellipsis added as needed.

Scene HTML

None

Base selector

Optional selectors

Required child

.truncating-text

  
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.227.134.133