Skip to content
Permalink
Browse files

[DDW-604] Fixes buttons.scss mixin by adding back code that shouldn't…

… have been removed
  • Loading branch information...
MarcusHurney committed May 11, 2019
1 parent aa57d79 commit a77df38b113fba8ac0d058dea01b1fc0e9796214
Showing with 13 additions and 0 deletions.
  1. +13 −0 source/renderer/app/themes/mixins/buttons.scss
@@ -15,7 +15,20 @@
color: var(
--rp-button-text-color-disabled
); // remove after react-polymorph update
background: var(--theme-button-#{$type}-background-color-disabled);
}

&:not([disabled]) {
background: var(--theme-button-#{$type}-background-color);
color: var(--theme-button-#{$type}-text-color);
&:hover {
background: var(--theme-button-#{$type}-background-color-hover);
}
&:active {
background: var(--theme-button-#{$type}-background-color-active);
}
}

&:focus:not(:active):not(:hover) {
box-shadow: inset 0 0 0 4px var(--theme-button-#{$type}-outline-color); // remove after react-polymorph update
}

0 comments on commit a77df38

Please sign in to comment.
You can’t perform that action at this time.