@braccato/core 1.16.9 → 1.16.10

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.
@@ -211,9 +211,15 @@
211
211
  mask-position: 100% 0%;
212
212
  }
213
213
 
214
+ /* text-decoration skips inline-block letters and rides the wave, so draw on the word box instead, from its
215
+ center (fixed against the text at any line-height), with layout-neutral padding so a tight box can hold it. */
214
216
  [blyrics-alt-hover] .blyrics--word:hover {
215
- text-decoration: underline;
216
- text-underline-offset: 0.15em;
217
+ padding-block: 0.25em;
218
+ margin-block: -0.25em;
219
+ background-image: linear-gradient(currentColor, currentColor);
220
+ background-position: 0 calc(50% + 0.54em);
221
+ background-repeat: no-repeat;
222
+ background-size: 100% 0.06em;
217
223
  }
218
224
 
219
225
  .blyrics--line > .blyrics-line-main > .blyrics-background-lyric,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@braccato/core",
3
- "version": "1.16.9",
3
+ "version": "1.16.10",
4
4
  "description": "Synchronized lyrics renderer with word-by-word animations",
5
5
  "type": "module",
6
6
  "license": "MIT",