Skip to content

Commit

Permalink
Change secondary color
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasloven committed May 10, 2021
1 parent a073a56 commit c2d811f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ Use free icons from the [fontawesome](https://fontawesome.com) set in Home-assis

- Restart Home Assistant

- Go to your integrations configuration and add FontAwesome
![Install](https://user-images.githubusercontent.com/1299821/68902965-f731fc80-0739-11ea-8712-9329243ca8f6.png)
- Click this: [![Open your Home Assistant instance and start setting up a new integration.](https://my.home-assistant.io/badges/config_flow_start.svg)](https://my.home-assistant.io/redirect/config_flow_start/?domain=fontawesome)

- Alternatively: Go to your integrations configuration, click Add Integration and find "Fontawesome icons"

# Icon sets

Expand Down
2 changes: 1 addition & 1 deletion custom_components/fontawesome/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ customElements.whenDefined("ha-svg-icon").then(() => {
const styleEl =
this.shadowRoot.querySelector("style") || document.createElement("style");
styleEl.innerHTML =
"svg path.secondary { fill: var(--paper-item-icon-color); }";
"svg path.secondary { fill: var(--disabled-text-color); }";
this.shadowRoot.appendChild(styleEl);
const root = this.shadowRoot.querySelector("g");
for (const k in paths) {
Expand Down

0 comments on commit c2d811f

Please sign in to comment.