Skip to content

Commit

Permalink
Actually use CSS vars for active mode items, fixes #58
Browse files Browse the repository at this point in the history
  • Loading branch information
nervetattoo committed Dec 28, 2019
1 parent d46189d commit 0abe4fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/styles.js
Expand Up @@ -147,14 +147,14 @@ export default css`
border-radius: var(--st-spacing);
}
.mode-item:hover {
background: var(--primary-color);
background: var(--st-mode-active-background);
color: var(--st-mode-active-color);
opacity: 0.5;
color: var(--text-primary-color, #fff);
}
.mode-item.active, .mode-item.active:hover {
background: var(--primary-color);
background: var(--st-mode-active-background);
color: var(--st-mode-active-color);
opacity: 1;
color: var(--text-primary-color, #fff);
}
.mode__icon {
--iron-icon-width: 24px;
Expand Down

0 comments on commit 0abe4fa

Please sign in to comment.