[yew-devel] [PATCH yew-widget-toolkit-assets v2 1/7] reset: remove the tap highlight color for chrome
Dominik Csapak
d.csapak at proxmox.com
Mon Jun 30 10:24:51 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