summaryrefslogtreecommitdiff
path: root/docs/modules/theme/pages/menu.adoc
blob: 3b24ba37d61d488f7874abd247520f171c2c11c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
= Menu Macro Category Keys
:description: Reference list of the available menu UI macro category keys and their value types.
:navtitle: Menu
:source-language: yaml

The keys in the `menu` category apply to the menu label generated from the inline menu macro.

TIP: The styles for the caret (`^`) can be controlled independently using the `<font>` tag.

[cols="3,4,5a"]
|===
|Key |Value Type |Example

|caret-content
|xref:quoted-string.adoc[Quoted string] +
(default: `" \u203a "`)
|[source]
menu:
  caret-content: ' > '

|font-color
|xref:color.adoc[Color] +
(default: _inherit_)
|[source]
menu:
  font-color: #AA0000

|font-family
|xref:font-support.adoc[Font family name] +
(default: _inherit_)
|[source]
menu:
  font-family: M+ 1mn

|font-size
|xref:text.adoc#font-size[Font size] +
(default: _inherit_)
|[source]
menu:
  font-size: 8

|font-style
|xref:text.adoc#font-style[Font style] +
(default: `bold`)
|[source]
menu:
  font-style: bold_italic
|===