Skip to content

Commit

Permalink
Merge pull request #39 from DBuit/fix-background-color
Browse files Browse the repository at this point in the history
Fix for --sidebar-background not being used (#38)
  • Loading branch information
wtrbuit authored Sep 4, 2021
2 parents 5497282 + af87a06 commit 1255417
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sidebar-card.ts
Original file line number Diff line number Diff line change
@@ -419,7 +419,7 @@ class SidebarCard extends LitElement {
// --sidebar-icon-color: #000;
// --sidebar-selected-text-color: #000;
// --sidebar-selected-icon-color: #000;
background-color: var(--paper-listbox-background-color, var(--primary-background-color, var(--sidebar-background, #fff)));
background-color: var(--sidebar-background, var(--paper-listbox-background-color, var(--primary-background-color, #fff)));
}
.sidebar-inner {
padding: 20px;
@@ -437,7 +437,7 @@ class SidebarCard extends LitElement {
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.sidebarMenu li {
color: var(--sidebar-text-color, var(--sidebar-text-color, #000));
color: var(--sidebar-text-color, #000);
position: relative;
padding: 10px 20px;
border-radius: 12px;
@@ -1054,4 +1054,4 @@ console.info(
);

buildSidebar();
watchLocationChange();
watchLocationChange();

0 comments on commit 1255417

Please sign in to comment.