From 2da14787db868bb72a71c2d2e5f44a34700d3cbb Mon Sep 17 00:00:00 2001 From: Carolina Wright Date: Fri, 9 Apr 2021 15:03:25 -0300 Subject: [PATCH 1/3] feat: add --api-summary-title-font-size variable for title size --- src/Styles.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Styles.js b/src/Styles.js index eab0a8c..0c9fb65 100644 --- a/src/Styles.js +++ b/src/Styles.js @@ -8,6 +8,7 @@ export default css` .api-title { margin: 12px 0; + font-size: var(--api-summary-title-font-size, 16px); } arc-marked { From 56304c2eb55f4e8046cfac0d4b56553a6481360e Mon Sep 17 00:00:00 2001 From: Carolina Wright Date: Fri, 9 Apr 2021 15:11:36 -0300 Subject: [PATCH 2/3] feat: add variable for sections title size --- src/Styles.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Styles.js b/src/Styles.js index 0c9fb65..f2f52e2 100644 --- a/src/Styles.js +++ b/src/Styles.js @@ -143,6 +143,10 @@ a:hover { margin-bottom: 24px; } +.section { + font-size: var(--api-summary-section-title-font-size); +} + .section.endpoints-title { font-weight: var(--arc-font-title-font-weight, 500); color: var(--arc-font-title-color); From afe0201960762e2e25793705a9f6f0e2e4af9da9 Mon Sep 17 00:00:00 2001 From: Carolina Wright Date: Mon, 12 Apr 2021 11:11:27 -0300 Subject: [PATCH 3/3] build: bump version --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 89ceee4..413dcb6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@api-components/api-summary", - "version": "4.4.0", + "version": "4.5.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 62f6cd0..26fbe24 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@api-components/api-summary", "description": "A summary view for an API base on AMF data model", - "version": "4.4.0", + "version": "4.5.0", "license": "Apache-2.0", "main": "index.js", "module": "index.js",