Skip to content

Commit 27ea749

Browse files
authored
Merge pull request #18 from advanced-rest-client/feat/style-variable
Feat/style variable
2 parents ba345bd + afe0201 commit 27ea749

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@api-components/api-summary",
33
"description": "A summary view for an API base on AMF data model",
4-
"version": "4.4.0",
4+
"version": "4.5.0",
55
"license": "Apache-2.0",
66
"main": "index.js",
77
"module": "index.js",

src/Styles.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default css`
88
99
.api-title {
1010
margin: 12px 0;
11+
font-size: var(--api-summary-title-font-size, 16px);
1112
}
1213
1314
arc-marked {
@@ -142,6 +143,10 @@ a:hover {
142143
margin-bottom: 24px;
143144
}
144145
146+
.section {
147+
font-size: var(--api-summary-section-title-font-size);
148+
}
149+
145150
.section.endpoints-title {
146151
font-weight: var(--arc-font-title-font-weight, 500);
147152
color: var(--arc-font-title-color);

0 commit comments

Comments
 (0)