Skip to content

Commit

Permalink
improved graph color fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerwyn committed Jan 17, 2025
1 parent 6d3b79a commit 7c69a1f
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 25 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "material-rounded-theme",
"version": "3.0.4",
"version": "3.0.5",
"description": "A Material You and Google Home app influenced theme for Home Assistant",
"main": "dist/material-rounded-theme.js",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions src/common/card.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ hui-entities-toggle {
left: -4px !important;
top: 8px !important;
}

/* Use primary color for graphs */
.graph,
hui-graph-header-footer {
--accent-color: var(--primary-color);
}
7 changes: 0 additions & 7 deletions src/common/card.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,3 @@ hui-toggle-entity-row$:
ha-settings-row:
ha-switch$: >-
{{ ha_switch.css }}
# Graph Colors
hui-graph-header-footer$ hui-graph-base$: >-
{{ graph.css }}
hui-graph-header-footer$:
hui-graph-base$: >-
{{ graph.css }}
7 changes: 0 additions & 7 deletions src/common/graph.css

This file was deleted.

Loading

0 comments on commit 7c69a1f

Please sign in to comment.