@@ -20,19 +20,21 @@ export default css`
20
20
}
21
21
22
22
.heading2 {
23
- font-size : var (--arc-font-title-font-size );
24
- font-weight : var (--arc-font-title-font-weight );
25
- line-height : var (--arc-font-title-line-height );
26
- color : var (--arc-font-title-color );
23
+ font-family : var (--api-method-documentation-h2-font-family , var (--arc-font-title-font-family ));
24
+ font-size : var (--api-method-documentation-h2-font-size , var (--arc-font-title-font-size ));
25
+ font-weight : var (--api-method-documentation-h2-font-weight , var (--arc-font-title-font-weight ));
26
+ line-height : var (--api-method-documentation-h2-line-height , var (--arc-font-title-line-height ));
27
+ color : var (--api-method-documentation-h2-font-color , var (--arc-font-title-color ));
27
28
margin : 0.84em 0 ;
28
29
}
29
30
30
31
.heading3 {
31
32
flex : 1 ;
32
- font-size : var (--arc-font-subhead-font-size );
33
- font-weight : var (--arc-font-subhead-font-weight );
34
- line-height : var (--arc-font-subhead-line-height );
35
- color : var (--arc-font-subhead-color );
33
+ font-family : var (--api-method-documentation-h3-font-family , var (--arc-font-subhead-font-family ));
34
+ font-size : var (--api-method-documentation-h3-font-size , var (--arc-font-subhead-font-size ));
35
+ font-weight : var (--api-method-documentation-h3-font-weight , var (--arc-font-subhead-font-weight ));
36
+ line-height : var (--api-method-documentation-h3-line-height , var (--arc-font-subhead-line-height ));
37
+ color : var (--api-method-documentation-h3-font-color , var (--arc-font-subhead-color ));
36
38
}
37
39
38
40
.heading4 {
@@ -76,13 +78,22 @@ export default css`
76
78
display : flex;
77
79
flex-direction : row;
78
80
align-items : center;
79
- font-family : var (--arc-font-code-family );
81
+ font-family : var (
82
+ --api-method-documentation-url-font-family ,
83
+ var (--arc-font-code-family )
84
+ );
80
85
font-size : var (--api-method-documentation-url-font-size , 1.07rem );
86
+ font-weight : var (--api-method-documentation-url-font-weight );
87
+ line-height : var (--api-method-documentation-url-line-height );
81
88
margin-bottom : 40px ;
82
89
margin-top : 20px ;
83
- background-color : var (--code-background-color );
84
- color : var (--code-color );
85
- padding : 8px ;
90
+ margin : var (--api-method-documentation-url-margin );
91
+ background-color : var (--api-method-documentation-url-background-color , var (--code-background-color ));
92
+ color : var (
93
+ --api-method-documentation-url-font-color ,
94
+ var (--code-color )
95
+ );
96
+ padding : var (--api-method-documentation-url-padding , 8px );
86
97
border-radius : var (--api-method-documentation-url-border-radius , 4px );
87
98
position : relative;
88
99
}
@@ -92,6 +103,7 @@ export default css`
92
103
flex-direction : row;
93
104
align-items : center;
94
105
border-bottom : 1px var (--api-parameters-document-title-border-color , # e5e5e5 ) solid;
106
+ border : var (--api-parameters-document-title-border );
95
107
cursor : pointer;
96
108
user-select : none;
97
109
transition : border-bottom-color 0.15s ease-in-out;
@@ -104,6 +116,7 @@ export default css`
104
116
.url-value {
105
117
flex : 1 ;
106
118
margin-left : 12px ;
119
+ margin : var (--api-method-documentation-url-value-margin );
107
120
word-break : break-all;
108
121
}
109
122
@@ -166,6 +179,8 @@ arc-marked {
166
179
.method-label {
167
180
margin-bottom : 0 ;
168
181
font-size : var (--api-method-documentation-http-method-label-font-size , inherit);
182
+ font-family : var (--api-method-documentation-http-method-label-font-family );
183
+ font-weight : var (--api-method-documentation-http-method-label-font-weight );
169
184
min-width : var (--api-method-documentation-http-method-label-min-width , inherit);
170
185
}
171
186
0 commit comments