From 46dbb7e106b0ba51349171b509420555284dc360 Mon Sep 17 00:00:00 2001 From: Yury Date: Thu, 18 Mar 2021 23:32:30 +0300 Subject: [PATCH 1/9] Refactor styles, add variable to adjust heading color (#14) * refactor: use variables for font-weights * feat: use existing variables to style endpoints title * feat: add variable to adjust section heading color * docs: adjust readme formatting --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2cd30d5..b1ed5df 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,10 @@ -# api-summary +[![Published on NPM](https://img.shields.io/npm/v/@api-components/api-summary.svg)](https://www.npmjs.com/package/@api-components/api-summary) + +[![Build Status](https://travis-ci.org/advanced-rest-client/api-summary.svg?branch=stage)](https://travis-ci.org/advanced-rest-client/api-summary) + +[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/@api-components/api-summary) + +# <api-summary> A component that renders basic information about an API. It uses AMF model to render the view. From 2d8c98ebd05205fa58ddb14d3b3406dcd082c668 Mon Sep 17 00:00:00 2001 From: Benjamin Leong Date: Tue, 16 Mar 2021 10:29:40 -0700 Subject: [PATCH 2/9] add css parts --- src/ApiSummary.js | 14 +++++++------- src/Styles.js | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/ApiSummary.js b/src/ApiSummary.js index fb14b33..e09210d 100644 --- a/src/ApiSummary.js +++ b/src/ApiSummary.js @@ -331,7 +331,7 @@ export class ApiSummary extends AmfHelperMixin(LitElement) { return ''; } return html` -
+
${_apiTitle}
`; @@ -343,7 +343,7 @@ export class ApiSummary extends AmfHelperMixin(LitElement) { return ''; } return html` -

+

${_version}

`; @@ -355,7 +355,7 @@ export class ApiSummary extends AmfHelperMixin(LitElement) { return ''; } return html` -
+
@@ -427,16 +427,16 @@ export class ApiSummary extends AmfHelperMixin(LitElement) { `${_providerUrl}`, ): undefined; return html` -