Add custom theming to icons

This commit is contained in:
Andrew Kingston 2021-09-03 11:53:25 +01:00
parent e7d1ed3114
commit 3ee1d3e8e4
2 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,7 @@
transition: color var(--spectrum-global-animation-duration-100, 130ms); transition: color var(--spectrum-global-animation-duration-100, 130ms);
} }
svg.hoverable:hover { svg.hoverable:hover {
color: var(--spectrum-alias-icon-color-selected); color: var(--spectrum-alias-icon-color-selected-hover);
cursor: pointer; cursor: pointer;
} }

View File

@ -48,6 +48,7 @@
/* Icons */ /* Icons */
--spectrum-alias-icon-color-selected: var(--primaryColor); --spectrum-alias-icon-color-selected: var(--primaryColor);
--spectrum-alias-icon-color-selected-hover: var(--primaryColorHover);
/* Links */ /* Links */
--spectrum-link-primary-m-text-color: var(--primaryColor); --spectrum-link-primary-m-text-color: var(--primaryColor);