Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
3 changes: 3 additions & 0 deletions hassio/src/addon-store/hassio-addon-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ class HassioAddonStore extends LitElement {
hassio-addon-repository {
margin-top: 24px;
}
hassio-search-input {
--iron-icon-fill-color: var(--primary-text-color);
}
`;
}
}
Expand Down
2 changes: 1 addition & 1 deletion hassio/src/addon-view/config/hassio-addon-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class HassioAddonConfig extends LitElement {
const valid = editor ? editor.isValid : true;

return html`
<paper-card heading="Config">
<paper-card heading="${this.addon.name} Configuration">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just add it as a title/heading above each page?

Instead of adding it to the title of the card.
Some add-on names might long?

This also makes it inconsistent right now with the network card. I guess we could add it there too, but that would become ugly?

<div class="card-content">
<ha-yaml-editor
@value-changed=${this._configChanged}
Expand Down
5 changes: 2 additions & 3 deletions hassio/src/addon-view/log/hassio-addon-logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
fetchHassioAddonLogs,
HassioAddonDetails,
} from "../../../../src/data/hassio/addon";
import "../../../../src/layouts/loading-screen";
import { haStyle } from "../../../../src/resources/styles";
import { HomeAssistant } from "../../../../src/types";
import "../../components/hassio-ansi-to-html";
Expand All @@ -36,14 +35,14 @@ class HassioAddonLogs extends LitElement {

protected render(): TemplateResult {
return html`
<paper-card heading="Log">
<paper-card heading="${this.addon.name} Log">
${this._error ? html` <div class="errors">${this._error}</div> ` : ""}
<div class="card-content">
${this._content
? html`<hassio-ansi-to-html
.content=${this._content}
></hassio-ansi-to-html>`
: html`<loading-screen></loading-screen>`}
: ""}
</div>
<div class="card-actions">
<mwc-button @click=${this._refresh}>Refresh</mwc-button>
Expand Down
6 changes: 5 additions & 1 deletion hassio/src/resources/hassio-style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ export const hassioStyle = css`
.content {
margin: 8px;
}
h1 {
h1,
.description,
.card-content {
color: var(--primary-text-color);
}
h1 {
font-size: 2em;
margin-bottom: 8px;
font-family: var(--paper-font-headline_-_font-family);
Expand Down