Browse Source

Update default button hover & active styles

master
meriadec 7 years ago
parent
commit
b74a40b9c1
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 8
      src/components/base/Button/index.js

8
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};
`,

Loading…
Cancel
Save