@@ -13,6 +13,42 @@ A component to generate documentation for an API resource from AMF model.
13
13
This version only works with AMF model version 2 (AMF parser >= 4.0.0).
14
14
For compatibility with previous model version use ` 3.x.x ` version of the component.
15
15
16
+ ## Styling
17
+
18
+ ` <api-endpoint-documentation> ` provides the following custom properties and mixins for styling:
19
+
20
+ Custom property | Description | Default
21
+ ----------------|-------------|----------
22
+ ` --arc-font-headline-color ` | Color of the method title | ``
23
+ ` --arc-font-headline-font-size ` | Font size of the method title | ``
24
+ ` --arc-font-headline-letter-spacing ` | Letter spacing of the method title | ``
25
+ ` --arc-font-headline-line-height ` | Line height of the method title | ``
26
+ ` --arc-font-headline-narrow-font-size ` | Font size of the method title in mobile-friendly view | ``
27
+ ` --arc-font-title-color ` | Color of the overview section title | ``
28
+ ` --arc-font-title-font-size ` | Font size of the overview section title | ``
29
+ ` --arc-font-title-line-height ` | Line height of the overview section title | ``
30
+ ` --arc-font-title-narrow-font-size ` | Font size of the overview section title in mobile-friendly view | ``
31
+ ` --arc-font-subhead-color ` | Color of the collapsible section title | ``
32
+ ` --arc-font-subhead-font-size ` | Font size of the collapsible section title | ``
33
+ ` --arc-font-subhead-line-height ` | Line height of the collapsible section title | ``
34
+ ` --arc-font-subhead-narrow-font-size ` | Font size of the collapsible section title in mobile-friendly view | ``
35
+ ` --api-endpoint-documentation-description-color ` | | ` rgba(0, 0, 0, 0.74) `
36
+ ` --api-endpoint-documentation-bottom-navigation-color ` | | ` #000 `
37
+ ` --api-endpoint-documentation-method-doc-border-top-color ` | | ` #E5E5E5 `
38
+ ` --api-endpoint-documentation-method-doc-border-top-style ` | | ` dashed `
39
+ ` --api-endpoint-documentation-tryit-width ` | | ` 40% `
40
+ ` --api-endpoint-documentation-tryit-max-width ` | | ``
41
+ ` --api-endpoint-documentation-tryit-background-color ` | | ` #ECEFF1 `
42
+ ` --api-endpoint-documentation-tryit-panels-background-color ` | | ` #fff `
43
+ ` --api-endpoint-documentation-tryit-panels-border-radius ` | | ` 3px `
44
+ ` --api-endpoint-documentation-tryit-panels-border-color ` | | ` #EEEEEE `
45
+ ` --api-endpoint-documentation-tryit-panels-border-style ` | | ` solid `
46
+ ` --api-endpoint-documentation-tryit-title-border-bottom-color ` | | ` #bac6cb `
47
+ ` --api-endpoint-documentation-tryit-title-border-bottom-style ` | | ` solid `
48
+ ` --no-info-message-font-style ` | | ` italic `
49
+ ` --no-info-message-font-size ` | | ` 16px `
50
+ ` --no-info-message-color ` | | ` rgba(0, 0, 0, 0.74) `
51
+
16
52
## Usage
17
53
18
54
### Installation
0 commit comments