From d6e4f946e2d76437ab0a70d96b95a03327c9623f Mon Sep 17 00:00:00 2001 From: Mickael Kerjean Date: Thu, 10 Nov 2022 02:18:50 +1100 Subject: [PATCH] improve (ui): hover state for buttons --- client/components/button.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/client/components/button.scss b/client/components/button.scss index f827da9b..a812b53e 100644 --- a/client/components/button.scss +++ b/client/components/button.scss @@ -17,10 +17,17 @@ button{ } &.emphasis{ background: var(--emphasis); - color: white + color: white; } &.dark{ background: var(--dark); color: white; } } + +.touch-no button { + &.dark:hover, &.emphasis:hover, &.primary:hover { + filter: brightness(95%); + transition: 0.2s ease all; + } +}