Fonts
5 posts tagged with "Fonts"
.font-sample
The .font-sample action Shows a preview of what text looks like in a font. It belongs to the fonts category within the ui area.
Action Syntax
.font-sample %font
Valid sizes
Examples
// Basic Usage
.font-sample ^font-tag
app-font
The app-font action Sets the default font used throughout your app. It belongs to the fonts category within the ui area.
Action Syntax
app-font "text"
Valid sizes
Examples
// Basic Usage
app-font "fontname"
font
The font action Loads a font from Google Fonts for use in your app. It belongs to the fonts category within the ui area.
Action Syntax
font %font google "text"
font %font google "text" https://...
Valid sizes
Examples
// Basic Usage
font ^font-tag google "Font Name"
list-fonts
The list-fonts action Gets a list of all fonts currently loaded in your app. It belongs to the fonts category within the ui area.
Action Syntax
This action accepts various parameters. See the examples below for usage patterns.
Return Value
This function returns a
$result = list-fonts
Valid sizes
Examples
// Basic Usage
list-fonts
set-default-font
The set-default-font action Makes a previously loaded font the default for your app. It belongs to the fonts category within the ui area.
Action Syntax
set-default-font %font
Valid sizes
Examples
// Basic Usage
set-default-font ^font-tag