Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![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
# <api-summary>

A component that renders basic information about an API.
It uses AMF model to render the view.
Expand All @@ -17,7 +17,8 @@ For compatibility with previous model version use `3.x.x` version of the compone
## Usage

### Installation
```

```sh
npm install --save @api-components/api-summary
```

Expand Down Expand Up @@ -86,7 +87,7 @@ class SampleElement extends PolymerElement {
customElements.define('sample-element', SampleElement);
```

### Installation
## Development

```sh
git clone https://github.com/advanced-rest-client/api-summary
Expand Down
9 changes: 7 additions & 2 deletions src/Styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ arc-marked {
}

label.section {
color: var(--arc-font-subhead-color);
font-weight: var(--arc-font-subhead-font-weight);
line-height: var(--arc-font-subhead-line-height);
/* font-size: 18px; */
Expand Down Expand Up @@ -125,7 +126,7 @@ a:hover {
cursor: pointer;
margin-bottom: 4px;
display: inline-block;
font-weight: 500;
font-weight: var(--api-summary-endpoint-path-font-weight, 500);
color: var(--link-color, #0277BD);
margin: 4px 0;
word-break: break-all;
Expand All @@ -142,7 +143,11 @@ a:hover {
}

.section.endpoints-title {
font-weight: 500;
font-weight: var(--arc-font-title-font-weight, 500);
color: var(--arc-font-title-color);
font-weight: var(--arc-font-title-font-weight);
line-height: var(--arc-font-title-line-height);
font-size: var(--arc-font-title-font-size);
}

.endpoint-path-name {
Expand Down