[yew-devel] [PATCH yew-widget-toolkit-assets 1/6] reset: remove the tap highlight color for chrome

Dominik Csapak d.csapak at proxmox.com
Fri Jun 27 14:08:43 CEST 2025


on chrome based browsers, a (touch) tap will highlight the tapped
element with an overlay. Since we already have interaction
animations/highlights and the default here is distracting, make it
transparent.

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 scss/_reset-src.scss | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/scss/_reset-src.scss b/scss/_reset-src.scss
index 40f42f6..3c377c0 100644
--- a/scss/_reset-src.scss
+++ b/scss/_reset-src.scss
@@ -45,3 +45,8 @@ table {
   border-collapse: collapse;
   border-spacing: 0;
 }
+
+// get rid of the default chrome tapping color
+* {
+  -webkit-tap-highlight-color: transparent;
+}
-- 
2.39.5





More information about the yew-devel mailing list