summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-03-19 23:54:34 -0700
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-03-19 23:54:34 -0700
commitfb2e197a7a1e8663255bad8c476e2aa5d8b1a931 (patch)
treea8628ce3dd26535097ba27fa9fc08fe7fa67c1b9 /src
parentab2fc50b409894e101d68943ad453505df439074 (diff)
Set path colour in button
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'};
+ }
}
`