summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/button.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/button.js b/src/components/button.js
index 524d878..0fa5ded 100644
--- a/src/components/button.js
+++ b/src/components/button.js
@@ -16,10 +16,16 @@ const makeButtonStyle = p =>
transition: ${transitions.hover};
text-decoration: none;
background: ${p.background || 'none'};
+ & path {
+ transition: ${transitions.hover};
+ }
&:hover {
background: ${p.hoverBackground || 'none'};
border-color: ${p.background || 'none'};
color: ${p.hoverColour || 'initial'};
+ & path {
+ fill: ${p.hoverColour || 'initial'};
+ }
}
`