improve (ui): hover state for buttons

This commit is contained in:
Mickael Kerjean
2022-11-10 02:18:50 +11:00
parent 31fb46ed91
commit d6e4f946e2

View File

@ -17,10 +17,17 @@ button{
} }
&.emphasis{ &.emphasis{
background: var(--emphasis); background: var(--emphasis);
color: white color: white;
} }
&.dark{ &.dark{
background: var(--dark); background: var(--dark);
color: white; color: white;
} }
} }
.touch-no button {
&.dark:hover, &.emphasis:hover, &.primary:hover {
filter: brightness(95%);
transition: 0.2s ease all;
}
}