From b74a40b9c1f820c4289e8127be3fb512e11d1ced Mon Sep 17 00:00:00 2001 From: meriadec Date: Tue, 19 Jun 2018 18:25:48 +0200 Subject: [PATCH] Update default button hover & active styles --- src/components/base/Button/index.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/base/Button/index.js b/src/components/base/Button/index.js index dc7f2515..8953eb31 100644 --- a/src/components/base/Button/index.js +++ b/src/components/base/Button/index.js @@ -16,8 +16,12 @@ type Style = any // FIXME const buttonStyles: { [_: string]: Style } = { default: { default: noop, - active: noop, - hover: noop, + active: p => ` + background: ${rgba(p.theme.colors.fog, 0.3)}; + `, + hover: p => ` + background: ${rgba(p.theme.colors.fog, 0.2)}; + `, focus: () => ` box-shadow: ${focusedShadowStyle}; `,