@jsenv/navi 0.29.129 → 0.29.131

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -459,7 +459,15 @@ const css = /* css */`
459
459
  --navi-focus-outline-width: 2px;
460
460
  --navi-focus-outline-color: light-dark(#4476ff, #3b82f6);
461
461
  --navi-loader-color: light-dark(#355fcc, #3b82f6);
462
- --navi-control-tap-highlight-color: transparent;
462
+ /* The grey rectangle a mobile browser flashes under a finger: we draw
463
+ what a press does ourselves (background, ring, chevron), and the
464
+ browser's rectangle is a square painted over rounded corners.
465
+ Declared here alone because the property is inherited: :root covers
466
+ every element, in and out of navi, so nothing has to remember it.
467
+ Set the token to a color to get the flash back, on the whole app or
468
+ on one subtree. */
469
+ -webkit-tap-highlight-color: var(--navi-tap-highlight-color);
470
+ --navi-tap-highlight-color: transparent;
463
471
 
464
472
  --navi-control-font-family: ${controlDefaultFontFamily};
465
473
  --navi-control-font-size: ${controlDefaultFontSize};