@@ -20,19 +20,21 @@ export default css`
2020}
2121
2222.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 ));
2728 margin : 0.84em 0 ;
2829}
2930
3031.heading3 {
3132 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 ));
3638}
3739
3840.heading4 {
@@ -76,13 +78,22 @@ export default css`
7678 display : flex;
7779 flex-direction : row;
7880 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+ );
8085 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 );
8188 margin-bottom : 40px ;
8289 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 );
8697 border-radius : var (--api-method-documentation-url-border-radius , 4px );
8798 position : relative;
8899}
@@ -92,6 +103,7 @@ export default css`
92103 flex-direction : row;
93104 align-items : center;
94105 border-bottom : 1px var (--api-parameters-document-title-border-color , # e5e5e5 ) solid;
106+ border : var (--api-parameters-document-title-border );
95107 cursor : pointer;
96108 user-select : none;
97109 transition : border-bottom-color 0.15s ease-in-out;
@@ -104,6 +116,7 @@ export default css`
104116.url-value {
105117 flex : 1 ;
106118 margin-left : 12px ;
119+ margin : var (--api-method-documentation-url-value-margin );
107120 word-break : break-all;
108121}
109122
@@ -166,6 +179,8 @@ arc-marked {
166179.method-label {
167180 margin-bottom : 0 ;
168181 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 );
169184 min-width : var (--api-method-documentation-http-method-label-min-width , inherit);
170185}
171186
0 commit comments