Improve primary button hover style
This commit is contained in:
+2
-1
@@ -99,13 +99,14 @@ export const theme: Theme = {
|
|||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
textDecoration: 'none',
|
textDecoration: 'none',
|
||||||
borderRadius: 'default',
|
borderRadius: 'default',
|
||||||
'&:hover, &.active': {
|
'&.active, &:active, &:hover:active, &.active:hover': {
|
||||||
color: 'background',
|
color: 'background',
|
||||||
bg: 'primary',
|
bg: 'primary',
|
||||||
},
|
},
|
||||||
transition:
|
transition:
|
||||||
'box-shadow 200ms ease-in-out, color 200ms ease-in-out, background-color 200ms ease-in-out',
|
'box-shadow 200ms ease-in-out, color 200ms ease-in-out, background-color 200ms ease-in-out',
|
||||||
'&:hover': {
|
'&:hover': {
|
||||||
|
bg: 'rgba(0, 123, 255, 0.2)',
|
||||||
boxShadow: 'rgba(0, 0, 0, 0.2) 0px 4px 8px;',
|
boxShadow: 'rgba(0, 0, 0, 0.2) 0px 4px 8px;',
|
||||||
},
|
},
|
||||||
'&.hidden': {
|
'&.hidden': {
|
||||||
|
|||||||
Reference in New Issue
Block a user