Button Macro Category Keys

button

The keys in the button category apply to a button reference generated from the inline button macro.

Key Value Type Example

background-color

Color
(default: not set)

button:
  background-color: #0000FF

border-color

Color
(default: not set)

button:
  border-color: #CCCCCC

border-offset

Number
(default: 0)

button:
  border-offset: 1.5

border-radius

Measurement
(default: 0)

button:
  border-radius: 2

border-width

Measurement
(default: $base-border-width)

button:
  border-width: 0.5

content

Quoted string
(default: "%s")

button:
  content: "[\u2009%s\u2009]"

font-color

Color
(default: inherit)

button:
  font-color: #FFFFFF

font-family

Font family name
(default: Courier)

button:
  font-family: M+ 1mn

font-size

Font size
(default: inherit)

button:
  font-size: 12

font-style

Font style
(default: bold)

button:
  font-style: normal

border-color

A border is only applied to a button reference if the border-color key is specified and the border-width key isn’t explicitly set to zero.

border-offset

The border offset is the amount that the background and border swells around the button text. The value assigned to border-offset doesn’t affect the distance between the formatted button phrase and the phrases that surround it.

content

The character sequence %s assigned to the content key gets replaced with the button label.