Foreground
Overview
The Foreground scope function colors a scope of text with the specified style.
Prototype
Foreground(string {styleName})
Parameters
- Name: styleName {Optional}
- Type: string
- Default: default
- Values: default, primary, secondary, light, dark, success, info, warning, danger, muted
- Description: The name of the foreground style
Examples
{{ Foreground(Primary)
This is the body content of the function scope.
}}
See Also
Background
Function Calling Convention
Scope Function
Instruction Function
Standard Function
Related
- Background - Set the background color for a block of content.